Using websites intermediaries to obtain source code from protected sites

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
It could implement the use of "intermediary" websites through scraping to obtain the source code of protected pages.
sites:
"https://www.view-page-source.com/"
"https://cors2.goonlinetools.workers.dev/?"
"https://viewsourcepage.com/wp-admin/admin-ajax.php"
"https://www.webtoolhub.com/tn561362-html-source-viewer.aspx"
"https://www.generateit.net/source-viewer/"
"https://ettvi.com/get-source-code-of-webpage/output",
"https://theseotools.net/get-source-code-of-webpage/output",
"https://aitoolskit.ai/get-source-code-of-webpage/output",
"https://sanseotools.com/get-source-code-of-webpage/output",
"https://webthemez.com/tools/get-source-code-of-webpage/output",
"https://www.turboseotools.com/get-source-code-of-webpage/output",
"https://simpli.tools/get-source-code-of-webpage/output",
"https://nimtools.com/get-source-code-of-webpage/output",
"https://www.coderduck.com/get-source-code-of-webpage/output",
"https://www.w3era.com/tool/get-source-code-of-webpage/output",
"https://quickseotips.in/get-source-code-of-webpage/output",
"https://seowagon.com/get-source-code-of-webpage/output",
"https://www.getseoanalyse.com/de/get-source-code-of-webpage/output",
"https://www.webseotool.in/ar/get-source-code-of-webpage/output",
"https://www.aigtechnologies.in/seo-tools/get-source-code-of-webpage/output",
"https://www.digitalseotool.com/es/get-source-code-of-webpage/output",
"https://sm-seo.com/get-source-code-of-webpage/output",
"https://theseotools.net/get-source-code-of-webpage/output",
"https://tools.webconfs.com/get-source-code-of-webpage/output",
"https://sumoblue.ie/seotools/get-source-code-of-webpage/output",
"https://www.aiseotools.net/get-source-code-of-webpage/output",
"https://simplifiedseotools.com/get-source-code-of-webpage/output",
"https://checkup.tools/en/get-source-code-of-webpage/output",
"https://www.smallseotools.tech/get-source-code-of-webpage/output",
"https://www.seotoolsay.com/get-source-code-of-webpage/output",
"https://seotoolscentre.com/get-source-code-of-webpage/output",
"https://seotoolstation.com/get-source-code-of-webpage/output",
"https://seopower-tools.in/get-source-code-of-webpage/output",
"https://seotoolslite.com/get-source-code-of-webpage/output",
"https://www.seo4uonly.com/get-source-code-of-webpage/output",
"https://nimtools.com/get-source-code-of-webpage/output",
"https://www.webseotool.in/get-source-code-of-webpage/output",
"https://ittools.tech/seo/get-source-code-of-webpage/output",
"https://www.seo-tools-master.com/get-source-code-of-webpage/output",
"https://seoon.page/en/get-source-code-of-webpage/output",
"https://iseo24h.com/es/get-source-code-of-webpage/output",
"https://w3megatools.com/get-source-code-of-webpage/output",
"https://www.atozseochecker.com/get-source-code-of-webpage/output",
"https://insitetool.com/es/get-source-code-of-webpage/output",
"https://seotools54.com/get-source-code-of-webpage/output",
"https://seotoolstitan.com/get-source-code-of-webpage/output",
"https://seotoolcheckers.com/get-source-code-of-webpage/output",
"https://freeseosolutions.com/get-source-code-of-webpage/output",
"https://www.checkergooglerank.com/get-source-code-of-webpage/output",
"https://easysupertools.com/seo/get-source-code-of-webpage/output",
"https://www.m-webseotools.com/get-source-code-of-webpage/output",
"https://p-supertools.com/get-source-code-of-webpage/output",
"https://seotoolsall.com/get-source-code-of-webpage/output",
"https://www.atozseotools.in/get-source-code-of-webpage/output",
"https://seotools.businesswebadmin.com/get-source-code-of-webpage/output",
"https://www.ranksoltools.com/seo-tools/get-source-code-of-webpage/output",
"https://www.analisiseo.org/en/get-source-code-of-webpage/output",
"https://freetoolstudio.com/es/get-source-code-of-webpage/output",
"https://www.digital-online.tools/get-source-code-of-webpage/output",
"https://bestfreeseotool.com/es/get-source-code-of-webpage/output",
"https://superseot.com/webpage-source-code-viewer/output",
"https://seo.luisroc.com/free-online-source-code-of-webpage/output"
views:

Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

this is almost definitely out of scope
does this have any benefits over the recently added --impersonate option?

I agree, out of scope and not a use case we want to support.
These are just glorified proxies, so you could present a standard proxy server to yt-dlp that calls out to them if you want.

Based on the target site, I think --impersonate is exactly what the OP wants.
Someone just needs to patch that extractor ala #9611


awq use more GPU memory than gptq

We tested the llama model using AWQ and GPTQ.  It does have higher accuracy than GPTQ.
But we found that when using AWQ code to infer the llama model, it uses more GPU memory than GPTQ.
The following are the relevant test results：
For llama-7b  w4  group_size=128,  the quantized model size is 3.7G.
use A100 40GB and test on human-eval
GPTQ

use_cache=True       Maximum memory used：9.505859375GB
use_cache=False      Maximum memory used：9.115234375GB

AWQ

use_cache=True       Maximum memory used：26.47265625GB
use_cache=False      Maximum memory used：36.96484375GB

There are two points to pay attention to the above results.

In the inference stage, GPTQ can use less memory than AWQ
For AWQ, use_cache=False uses more memory( usually use_cache=True requires more memory)

use_cache=False
We use GPTQ script to infer 4bit llama-65b, which can be run on a single GPU.  When using AWQ, the OOM  will occur.
I would like to ask if you have any of the above problems during the test. Could you please provide your thoughts on the above issues? Thank you so much.
I noticed that in the forward phase, the main difference between GPTQ and AWQ is that AWQ uses Tensor cores (I am not familiar with the contents of tensor cores).  Will Tensor cores cause more memory usage?

Hi, great to hear that you observe a better accuracy!
The memory usage part is weird. When we test AWQ, it uses similar memory size as GPTQ. Could you provide the script you used to run inference with AWQ? Thanks!

Thanks for your reply. I conducted a more detailed analysis of the quantization model.  I find that the aforementioned problem is not caused by the awq algorithm. It should be related to the test tasks as well as the model configuration.  For the issues related to use_cache, I will analyze the code myself later.


Task cequel:migrate is skipping first model of a module

At least on Rails 5.
When you organize your models in modules and directories, the task cequel migrate is skipping the first model of the module.

 watch_namespaces << dirname.classify unless dirname == "."
  watch_stack.watch_namespaces(watch_namespaces)
  require_dependency(file)

  new_constants = watch_stack.new_constants
  if new_constants.empty?
    new_constants << model_file_name.sub(/\.rb$/, "").classify
  end

The first model is being used to add the namespace to new_constants and being skipped as "if new_constants.empty?" prevents it from being processed.

It's ok on Rails 4.2.


First-class lifts? First-class composition of lifts?

I often find myself having some sort of sequence of lifts I need to do on different values.
Modules make it so that I can stash all of those things in a module, and lift the module. But it might be worth considering, depending on how feasible it is, to be able to define a given lift between two-types as something first class? (this might already be doable with the Find ornament command?)
If so, is it also feasible to define the composition of two lifts as a first-class object?

Sorry to get to this so late. Deadlines!
Can you give me an idea of the syntax you want for this? Maybe a small mockup of an example case that I could get working?


Standard Grammar

JSON is a great format for examples, but we will need to propose the schema for the standard elsewhere.
EBNF?
XML?

@tschady I think we agree that we will be using JSON Schema. If so can we close this issue?

It was defined to use JSON Schema in https://finosfoundation.atlassian.net/wiki/spaces/VOICE/pages/883065002/CMS-WG+Meeting+Minutes+2019-02-19


Division discrepancies between cython and python

test.py
a = 3
b = 2
c = a/b
d = 3/2
e = 3//2
f = a//b

In python, d->1.5 and is a float, but with the cythonized version of the file, d->1 and is an int because it seems to simplify the result at the compilation stage.
Since this is pure python code, shouldn't it follow python conventions?
Thanks,
Mark

Cython still follows Python 2 semantics (unless from __future__ import division appears at the top or the language_level directive is set to 3.

Thank you @robertwb
That seemed to do the trick!!!
Python growing pains are real. Thanks for your help


script: Mutate and improve unit testing

Use mutagen to mutate functions and methods in the script module. Add more unit tests as needed to ensure mutants are killed.
Note please: Includes logic changes to read_uint_iter() - this function is private and the logic changes make it more fit for purpose, done with the assistance of mutagen.
False positives
This PR introduces a way to handle mutagen false positives. We add a non-doc comment starting with the prefix // mutagen false pos <function name> and then after running mutagen one can grep the code base to see false positives (note the function name in the git grep output and the mutagen output.
$ RUSTFLAGS='--cfg=mutate' cargo +nightly mutagen

...

SURVIVED
    bitcoin/src/blockdata/locktime/absolute.rs
            all 13 mutants killed
    bitcoin/src/blockdata/locktime/relative.rs
            all 16 mutants killed
    bitcoin/src/blockdata/script/borrowed.rs
            all 20 mutants killed
    bitcoin/src/blockdata/script/mod.rs
            6/107(5.61%) mutants survived
        53: replace `0` with `1` at 104:19-104:20(fn write_scriptint)
        54: replace `<` with `<=` at 104:17-104:18(fn write_scriptint)
        58: replace `255` with `254` at 107:17-107:21(fn write_scriptint)
        61: replace `>` with `>=` at 107:15-107:16(fn write_scriptint)
        101: replace `1` with `0` at 169:23-169:24(fn read_scriptint)
        102: replace `<=` with `<` at 169:20-169:22(fn read_scriptint)
    bitcoin/src/pow.rs
            all 128 mutants killed

284 generated mutants
278(97.89%) mutants killed, 1(0.35%) by timeout
6(2.11%) mutants SURVIVED, 0(0.00%) NOT COVERED
Total time: 1m 35s

$ git grep 'mutagen false pos '
bitcoin/src/blockdata/script/mod.rs:94:// mutagen false pos write_scriptint: replace `0` with `1` (on line: let neg = n < 0;)
bitcoin/src/blockdata/script/mod.rs:95:// mutagen false pos write_scriptint: replace `<` with `<=` (on line: let neg = n < 0;)
bitcoin/src/blockdata/script/mod.rs:96:// mutagen false pos write_scriptint: replace `255` with `254` (on line: while abs > 0xFF {)
bitcoin/src/blockdata/script/mod.rs:97:// mutagen false pos write_scriptint: replace `>` with `>=` (on line: while abs > 0xFF {)
bitcoin/src/blockdata/script/mod.rs:147:// mutagen false pos read_scriptint: replace `1` with `0`  (on line: if v.len() <= 1 || (v[v.len() - 2] & 0x80) == 0 {)
bitcoin/src/blockdata/script/mod.rs:148:// mutagen false pos read_scriptint: replace `<=` with `<` (on line: if v.len() <= 1 || (v[v.len() - 2] & 0x80) == 0 {)

This looks good to me. False positives as comments are okay for now ... what we really should do is have a machine-readable whitelist (which could be inline with the code, I suppose, but I'm inclined to think it should be out of the way). And a script that can understand the mutagen output and filter it.
Does mutagen have a more machine-readable output mode? That thing with newlines and spaces everywhere looks pretty rough.

This looks good to me. False positives as comments are okay for now ... what we really should do is have a machine-readable whitelist (which could be inline with the code, I suppose, but I'm inclined to think it should be out of the way). And a script that can understand the mutagen output and filter it.

I'm not sure how to achieve this because the false positive is tied to the line its on and this changes with time as the source file is changed. Apart from the line its on the output is not descriptive enough because there can be multiple of the same warning for a single function.

Does mutagen have a more machine-readable output mode?

I could not find any more machine-readable output options in cargo mutagen --help

That thing with newlines and spaces everywhere looks pretty rough.

Not sure what you are referring to? The PR or something in the mutagen output?

Rebase only, no other changes.

The PR or something in the mutagen output?

The mutagen output.

hmm, I went to rebase this and it includes refactor to a function that is not well tested, putting on ice until I can add more unit test to verify the refactor.


Sass linting

Issues
#130 Added sass linting into nightshade-core and pre-commit hook.
Todos

[ ] Standardize linting rules
[ ] Clean up 🐛

Steps to Reproduce

npm install
npm run sasslint

Atom users: I recommend installing the linter-sass-lint plugin which will highlight the linting errors in your editor!

Does this standardize the type of comments we use in sass files?

@ckeisato Yes, if we enable no-css-comments as @robwierzbowski mentioned, then it would enforce CSS comment style. It wouldn't force the structure of the actual comment itself, but just the fact that we would always use // style comments instead of /* */ style.

@ckeisato Was your comment to me or Stewart?


Is there an extension that formats the output html?

Are there any extensions that will format the output html (indents, newlines, etc)?

Most of the existing third-party extensions are listed in the wiki: https://github.com/Python-Markdown/markdown/wiki/Third-Party-Extensions. I couldn’t find one that suits your needs so there is probably none.
I think there is no need to use an extension at all for this purpose. You can just take HTML from Python-Markdown and format it in your Python code. You can use something like BeautifulSoup’s prettify() method for that.


How come to_ptr_named_tuple() forces everything into a pointer upon writing?

Dear developers, I'm completely incompetent in modern C++. But this aspect is a strange design to me:
Suppose I'm writing a struct A { struct B b; }; into JSON. What reflect-cpp does is basically turning it into ('B', struct B* b) named tuple, using to_ptr_named_tuple(). Further on, the tuple of pointers ends up being handled by Parser_ptr.hpp, which makes back a value from the pointer:
  template <class P>
  static void write(const W& _w, const T* _ptr, const P& _parent) noexcept {
    if (!_ptr) {
      ParentType::add_null(_w, _parent);
      return;
    }
    Parser<R, W, std::remove_cvref_t<T>, ProcessorsType>::write(_w, *_ptr,
                                                                _parent);
  }

The comment says that plain pointers are bad, but the reflect-cpp itself artificially creates the use of plain pointers, and then eventually strips them off. This feels absurd, it's either something not right with my understanding or with the library design. Kindly, please help me to clarify the purpose of the to_ptr_named_tuple() -based technique. And an extra hard question: how to get rid of it? Thanks!

I'm investigating my concern further by trying to replace the named tuple of pointers by just a named tuple:
--- a/include/struct2json/parsing/Parser_default.hpp
+++ b/include/struct2json/parsing/Parser_default.hpp
@@ -17,7 +17,7 @@
 #include "../internal/is_literal.hpp"
 #include "../internal/is_validator.hpp"
 #include "../internal/processed_t.hpp"
-#include "../internal/to_ptr_named_tuple.hpp"
+#include "../to_named_tuple.hpp"
 #include "../to_view.hpp"
 #include "../type_name_t.hpp"
 #include "AreReaderAndWriter.hpp"
@@ -92,11 +92,11 @@ struct Parser {
         Parser<R, W, ReflectionType, ProcessorsType>::write(_w, r, _parent);
       }
     } else if constexpr (std::is_class_v<T> && std::is_aggregate_v<T>) {
-      const auto ptr_named_tuple = ProcessorsType::template process<T>(
-          internal::to_ptr_named_tuple(_var));
-      using PtrNamedTupleType = std::remove_cvref_t<decltype(ptr_named_tuple)>;
+      const auto named_tuple = ProcessorsType::template process<T>(
+          to_named_tuple(_var));
+      using PtrNamedTupleType = std::remove_cvref_t<decltype(named_tuple)>;
       Parser<R, W, PtrNamedTupleType, ProcessorsType>::write(
-          _w, ptr_named_tuple, _parent);
+          _w, named_tuple, _parent);
     } else if constexpr (std::is_enum_v<T>) {
       using StringConverter = internal::enums::StringConverter<T>;
       const auto str = StringConverter::enum_to_string(_var);

So far, I don't see anything wrong in my results.

Well, this function is for internal use only, end users shouldn't use it. The ptr stands for pointer.
It is necessary, because we need a structure we can actually traverse at compile time (like a named tuple), but at the same time creating deep copies of everything is not only very inefficient, but it is also impossible for some types, such as unique_ptr.
Using pointers is fine as long as we can guarantee that the thing being pointed to exists at least as long as the pointer.
When you say there is a comment that pointers are bad, what are you referring to? Where do we say this?

When you say there is a comment that pointers are bad, what are you referring to? Where do we say this?

   static Result<T*> read(const R&, const InputVarType&) noexcept {
     static_assert(always_false_v<T>,
                   "Reading into raw pointers is dangerous and "
                   "therefore unsupported. "
                   "Please consider using std::unique_ptr, rfl::Box, "
                   "std::shared_ptr, "
                   "rfl::Ref or std::optional instead.");
     return Error("Unsupported.");
   }

This comment about ptr Reader strongly discourages the use of pointers, however the ptr Writer is used internally.

It is necessary, because we need a structure we can actually traverse at compile time (like a named tuple), but at the same time creating deep copies of everything is not only very inefficient, but it is also impossible for some types, such as unique_ptr.

Makes sense, so the purpose of internal::to_ptr_named_tuple is to make named tuples without copying the data. And my patch above not only create copies, but also should fail for std::unique_ptr.
How about making a reflect-cpp's specific smart pointer to definitively distinguish between internal use of pointers and user-defined pointers? I need to free-up Parser_ptr.hpp from internal usage, because I must support C structs with plain pointers, effectively going against the commend above :)

When you say there is a comment that pointers are bad, what are you referring to? Where do we say this?

   static Result<T*> read(const R&, const InputVarType&) noexcept {

     static_assert(always_false_v<T>,

                   "Reading into raw pointers is dangerous and "

                   "therefore unsupported. "

                   "Please consider using std::unique_ptr, rfl::Box, "

                   "std::shared_ptr, "

                   "rfl::Ref or std::optional instead.");

     return Error("Unsupported.");

   }

This comment about ptr Reader strongly discourages the use of pointers, however the ptr Writer is used internally.

Yes, reading into pointers is strongly discouraged, because it is not clear what you expect the library to do.
Do you, the user, expect the library to allocate resources to the raw pointer that you would then have to manually delete? Or have you already allocated something and you expect the library to use that?
It is not at all clear, and both solutions are bad. The problem is that it is not clear who is responsible for handling the pointers and the resources they point to (the library or the user).
However, writing from pointers is a different story.
Moreover, when the library uses pointers internally, I don't really see a problem, because it is clear that it is the library's job to manage them.

Thank you for this discussion! I completely agree with you. The thing is, I'm trying to apply your technology to areas of application different from C++. You'll agree, a lot of important C code needs a similar library (and the C standard itself won't allow for the same functionality). Moreover, in CUDA cores, C-style pointers are mainly used by established practice, even though the CUDA compiler is C++ compatible. So, no matter how much we'd like to be in the beautiful crystal palace of C++, to reach important applications we need to step out at least onto its porch.

@dmikushin , so what you are asking for is support for C-style pointers as well?

Yes. I tried to implement it, but it was blocked by the internal use of pointers. Hence is my question here.

@dmikushin , understood.
It's not very hard to implement, the difficult part will be to figure out what we actually want to happen.
Suppose you are passing a struct to rfl::json::read that has a pointer in it. What would then happen?
I suppose the library would assign something to the pointer using new and then you, the user, would have to call delete manually?
Or is there something else you have in mind?

Yes, I already implemented it as you said in my prototype. Indeed, the design choices here are not pleasant, but are easy.
My only difficulty comes back to the original question: if I handle the pointers my way, then the to_ptr_named_tuple() must be re-implemented so that it does not interfere with my pointers handling.

@dmikushin, OK, I will give it a try.

@dmikushin, here is what I came up with:
Raw pointers remain forbidden by default, but you can optionally activate them by passing the rfl::AllowRawPtrs preprocessor. In this case, the library will allocate data using new and you will have to delete it your self. This is documented in the static_assertion and will be in the documentation as well.
As of now, it is still a feature branch:
https://github.com/getml/reflect-cpp/pull/244
What are your thoughts?

Thank you very much! Let me check:


[cognitiveservices] Update devtools test framework to use global preparers

Only create one resource group to speed up tests.
Also, It appears that some cognitive services are moving to single-service resources in which the endpoint/credential are specific to the type of service, e.g. Text Analytics. See here.
Will need to figure out how to create a specific type of cognitive service account in the preparer.
Update: it looks like you can do this by specifying kind in the management client.
Make sure that the test framework does not take a dependency on azure-core.

Closed with #9288


Spark/jar verifier test

Test PR to validate: https://github.com/OpenLineage/OpenLineage/pull/2698

Errors introduced by second commit:
https://app.circleci.com/pipelines/github/OpenLineage/OpenLineage/10673/workflows/754fa6e2-959a-4a1f-80c4-1fdac546cccb/jobs/222259


cancelAll() doesn't cancel notifications that are already open

import { Component } from "@angular/core";

import * as LocalNotifications from 'nativescript-local-notifications';
import * as moment from 'moment';

@Component({
    selector: "ns-items",
    moduleId: module.id,
    template: `
        <ActionBar title="My App" class="action-bar">
        </ActionBar>

        <StackLayout class="page">
            <Button text="Show notification" (tap)="onShowNotification()"></Button>
            <Button text="Cancel 1" (tap)="onCancel1()"></Button>
            <Button text="Cancel All" (tap)="onCancelAll()"></Button>
        </StackLayout>
`
})
export class ItemsComponent {
    constructor() { }

    onShowNotification() {
        LocalNotifications.schedule([{
            id: 1,
            title: 'Scheduled notification',
            body: 'Interesting, no?'
        }]);
    }

    onCancel1() {
        LocalNotifications.cancel(1);
    }

    onCancelAll() {
        LocalNotifications.cancelAll();
    }
}

In the above code I open a notification with onShowNotification(). The notification get's opened.
Calling onCancelAll doesn't do anything. Calling onCancel1() cancels that notification

Do you see this on iOS, Android, or both?

@EddyVerbruggen on Android, I didn't check on iOS

The cancel functions are meant for removing a scheduled item, not for hiding an already shown notification. The fact that it may dismiss an already open notification is more of a side effect than a feature.

I am not sure about it. I didn't find any documentation suggesting that cancelAll() should drop visible notifications or explicitly that is should keep them.
However I saw apps that had multiple active notifications, clicking on one would open the app and all other notifications would disappear.

I believe this has been 'fixed' (or at least the behaviour changed) with plugin version 3.0.0.


Total Count when filtering

Is there any way to get the count of paged total records after filtering? I see there is a TotalRows property on the GridPager class, but it is 0 every time. I also see that there is a RowsPerPage and TotalPages property, but TotalPages is also 0 every time.

Yes the pager is working as expected. I am using the method of creating the grid described on this page so that I can also use excel export. So the definition of the grid is written in the controller.

It becomes available after first grid rows enumeration, so you have to .Rows.ToArray() or something else.

Perfect, thank you.
For future reference to anyone, be sure to do this after setting your columns to filterable or sortable. Enumerating as the last step of my method before returning the grid did the trick.

is it possible to show the total records and the count for the current paging?
total records:1518
Viewing: 1-10

Yes you can change pager partial with .Pageable(pager => pager.PartialViewName = "_YourPartial").

not following... how would the "_YourPartial" look.

I would like the info above the Grid so I changed the _Grid but I'm not getting the total records using Model.Pager.TotalRows and if I do the rest of the Page... info doesn't work correctly, what am I doing wrong?
@{
    Int32 totalRows = Model.Rows.Count();
    Int32 currentPage = Model.Pager.CurrentPage;
    Int32 totalPages = Model.Pager.TotalPages;
}
Total Records: @totalRows, Page @currentPage of @totalPages

not sure why I have to query Model.Rows.Count(); to get this to work.
@{
    Int32 dummy = Model.Rows.Count();
    Int32 totalRows = Model.Pager.TotalRows;
    Int32 currentPage = Model.Pager.CurrentPage;
    Int32 totalPages = Model.Pager.TotalPages;
}
Total Records: @totalRows, Page @currentPage of @totalPages

It's needed, because everything is calculated after filters are applied, and because of fluent nature of grid initialization you can go .Pageable and then .Filterable, which would results in bad data at the end.
I think this can be improved somehow so I will think of a way for next releases.


Fix #51: Database Plugin Input Fields for Tables and Columns descriptions Lack Limits and Cause UI Overflow

Addresses the issue described in #51.
TBD
TODO

[x] Fix UI Overflow in Tables and Columns due to lack of character limits in description element.
[ ] Implement mouse hover to show complete description of Column in a Tooltip/Hover element.

How did this get closed?

@maranix  Please resolve the merge conflict

I've been trying to figure this out since the last 3 days but I've been facing a couple of issues.
The issue which was described currently looks something like this.

The Table in Schema Details section has its Description column overflowing in the x-axis which ends up taking the entire width of screen (i guess). I've tried adding the maxWidth and width css properties to only take up a specific amount of space, doing so results in weird layout behaviors. Using the percentage unit relative to the parent element's width does applies a hard limit on the maximum width taken by the description column. However the EditButton which is supposed to be right next to the description text, is stretched out to the end of the row. See below screenshots for better visual understanding.

The purple Container is the  element which actually shows the row.description property and the green one is EditButton, whereas the red container is the entire flexbox which incorporates both of these elements. Below is the code for this:

 /* Added backgroundColor */

     /* Added backgroundColor */

        <textarea key={`textarea-${row.table_id}`} className="textarea" data-type="table" data={`${JSON.stringify(row)}`} data-table-name={`${row.table_name}`} data-table-id={`${row.table_id}`} style={{ display: "none", width: "100%", height: "48px", }} defaultValue={row.description}>{}</textarea>

         /* Added display, maxWidth and textOverflow properties to limit size show ellipsis */
        <span key={`span-${row.table_id}`} className="span" style={{ pointerEvents: "none", height: "32px", overflow: "hidden", display: "block", maxWidth: "25%", textOverflow: "ellipsis" }}>{row.description}

      /* Added backgroundColor */

           <FaPen color="#7298ff" style={{ pointerEvents: "none" }} />

I am lost at this point and cannot figure out where is this extra space is being added and coming from between the description text and edit button. I have also tried removing the flexGrow property from both the element and tableColumns Description object. That doesn't help or does anything either. Any suggestions would be very appreciated.

@maranix Could you please resolve the merge conflict? Once that's done, I can run the code and provide my suggestions

@sethumadhavan-k Merge-conflict resolved. Apologies for late replies and sitting on this issue for such a long time, I am currently not well hence I've been refraining from spending much time in front of screens.

Hi @maranix,
If any assistance is required meet our team here: https://join.slack.com/t/theailounge/shared_invite/zt-2ogkrruyf-FPOHuPr5hdqXl34bDWjHjw

@maranix can you update on this PR, id done please fix conflicts and change draft status

@maranix  let me check it

@maranix it's looks good..

@ashmilhussain Any updates for this PR?

Hi @maranix  will review and merge if good


Update base RuboCop conf to support Ruby 2.4-3.x

Child (dependent) PRs:

https://github.com/rspec/rspec-expectations/pull/1342
https://github.com/rspec/rspec-core/pull/2927
https://github.com/rspec/rspec-mocks/pull/1448
https://github.com/rspec/rspec-support/pull/525

rake ci:create_pr_with_updates looks as expected - no updates to repos files apart from the header with date.


add tests for mp

Please create a fresh branch based on master for the new test scripts.
The mixedprecision branch is only there for reproducibility purposes, for one of your old papers-- it's 114 commits behind master.


Allow operator length to be defined in msec

Scrumwise Status: Ready for sprint or Kanban
Currently the length of the operator is controlled by the number of zero crossings from which we calculate the percentage energy captured.
Matt Wingham (BP) suggested to specify operator length in msec. Can we provide both? From zero-crossing calculate the length in msec and vice-versa?

Not a straightforward thing to do.
Put on hold for the time being.
Not a straightforward thing to do.
Put on hold for the time being.


[Swarm Mode] Distributed requests are slow and seem to not most of the time

Using distributed=true in my curl command it seems very slow to respond/just doesn't respond at all. It seems to be doing the work sometimes but frequently it never updates consul or changes any configs. In the example below I am doing a remove but it is also the same for reconfigure. Also, I know that all the nodes are up and responding just fine because I can curl all of them individually on :80/ and get the 503.
curl -i -X GET -v "<IP_ADDRESS>:8080/v1/docker-flow-proxy/remove?serviceName=nginx1&distribute=true"
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8080 (#0)
> GET /v1/docker-flow-proxy/remove?serviceName=nginx1&distribute=true HTTP/1.1
> User-Agent: curl/7.35.0
> Host: <IP_ADDRESS>:8080
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
HTTP/1.1 500 Internal Server Error
< Date: Mon, 22 Aug 2016 18:05:16 GMT
Date: Mon, 22 Aug 2016 18:05:16 GMT
< Content-Length: 304
Content-Length: 304
< Content-Type: text/plain; charset=utf-8
Content-Type: text/plain; charset=utf-8

<
* Connection #0 to host <IP_ADDRESS> left intact
{"Status":"NOK","Message":"Could not send distribute request to the following addresses: [<IP_ADDRESS>]","ServiceName":"nginx1","ServiceColor":"","ServicePath":null,"ServiceDomain":"","ConsulTemplateFePath":"","ConsulTemplateBePath":"","PathType":"","SkipCheck":false,"Mode":"","Port":"","Distribute":true}

Another example of it not even being able to connect to port 8080.
curl -i -X GET -v "<IP_ADDRESS>:8080/v1/docker-flow-proxy/remove?serviceName=nginx1&distribute=true"
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
^C

Here is the useful part of my service definition.
"Name": "sproxy",
"TaskTemplate": {
  "ContainerSpec": {
    "Image": "vfarcic/docker-flow-proxy",
    "Env": [
      "MODE=swarm",
      "CONSUL_ADDRESS=consul:8500",
      "SERVICE_NAME=sproxy",
      "PROXY_INSTANCE_NAME=sproxy"
    ]
},

These might be related to the issues in docker that have been fixed in 1.12.1. Let me update and test again.

I had a lot of problems with 1.12, especially with networking. Those that I experienced were fixed in 1.12.1. Please let me know if it works with the latest version.

I am going with I think this is a docker issue and not a flow proxy issue. Sorry about that!


Mon 15036 remove comma dangle in prettiers config 23 04

Description

Remove comma dangles in all js/ts files
Update eslint trailingComma rule, replacing "all" with "none"

Type of change

[ ] Patch fixing an issue (non-breaking change)
[ ] New functionality (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

[ ] 21.04.x
[ ] 21.10.x
[ ] 22.04.x
[ ] 22.10.x (master)

 How this pull request can be tested ?
Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.
Any relevant details of the configuration to perform the test should be added.
Checklist
Community contributors & Centreon team

[ ] I have followed the coding style guidelines provided by Centreon
[ ] I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
[ ] I have commented my code, especially hard-to-understand areas of the PR.
[ ] I have rebased my development branch on the base branch (master, maintenance).

@Thebarda, before I report the change in other Centreon apps, could you confirm that the rule modification is correct ? Thanks.

@Thebarda, before I report the change in other Centreon apps, could you confirm that the rule modification is correct ? Thanks.

Yes perfect 👍


⚠ TorrentLeech has degraded performance

In e2e0b26, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 1389 ms

Resolved: TorrentLeech performance has improved in 6726fdd after 6 minutes.


WIP: POC for round trip request/response API

What was wrong?
Still too much manual work to be done for round trip requests for block headers.
How was it fixed?

established base class for p2p requests for data in p2p.peer.BaseRequest
setup data structure on ETHPeer which houses a mapping between Command -> Future.
In the handle_sub_process_msg, if there is a waiting future for a given command, it will set the future result.
New API ETHPeer.get_block_headers which does the full request/response round trip.

This has a really nice side effect of not needing the chain syncers to handle the BlockHeaders response, and instead can just await peer.get_block_headers(...), removing a decent amount of complexity from the class.  If we continue this pattern for the rest of the block body parts I think the chain syncer is going to look a lot cleaner and easier to grok.
TODO:

[ ] fill out for same API for LESPeer.  This will involve moving request_id generation to within the request_block_headers API which has the nice effect of converging the APIs for LESPeer and ETHPeer.

Cute Animal Picture

@gsalgado this is ready for a second pass.

@gsalgado PR review pushed.  It includes some minor logic changes to ensure we don't end up with dangling requests in Peer.pending_requests.  Mind giving another :eyes:


Leading Space on class

A minor issue I noticed. A leading space on class before target in this example:
http://jsbin.com/mosojosera/1/edit?html,js,output
<button class=" target cycleCustomElement-MY-ELEMENT">
Some content
</button>

Will fix :+1:

This issue was moved to cyclejs/cycle-web#2


pngs are black, avis don't read

Thanks for this package!
I've gotten it to work, kinda, at least it outputs .avi files and .png sequences from a .oni, but the pngs are all blank (black) and the .avis won't open.  My .oni file is not corrupt, it plays back thru a player I made in processing and is recognized by other OpenNI samples without corrupt error returns, any suggestions?  Mac OS Yosemite OpenNI v.<IP_ADDRESS>
Also, by some off chance would you know how to bring a .oni into the Unity game engine and have it render the playback as a point cloud?
Thanks!

Having the same issue. Both the -img.avi and -depth.avi are unplayable. Both files seem to be empty except for minimal information (file header?). Both files are exactly 414 bytes in size. Also, the files are created when the tool is still running, they don't seem to be written in the end, when conversion has finished.
I have tried MPEG-1, MPEG-4 and FLV1 with no difference.
System is Mac OS El Capitan,
Open CV 2.4.12
OpenNI <IP_ADDRESS>

Could you send me a oni file to check this behaviour (through dropbox/gdrive link or somehow)? Please, be sure that it is generated with the same version of OpenNI you are using to compile oni2avi.

Wow, really good catch. I'll try this once I get home tonight.
On Thu, Jun 16, 2016, 19:36 Kirill Lykov<EMAIL_ADDRESS>wrote:

Long story short (if you are using homebrew):
brew update
brew upgrade
brew install --with-ffmpeg --without-python --without-openexr
--without-numpy --without-eigen homebrew/science/opencv
Thank it should work.
Why: there is an issue
https://github.com/ContinuumIO/anaconda-issues/issues/121 with OpenCV.
As far as I understood the solution is to use FFMPEG. In case of homebrew
of version older than June 4
brew install --with-ffmpeg ... leads to a error.
It is due to an issue
https://github.com/Homebrew/homebrew-science/issues/2862 with homebrew.
But they fixed it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KirillLykov/oni2avi/issues/5#issuecomment-226557566,
or mute the thread
https://github.com/notifications/unsubscribe/ABEKcJVc_kLuLClca0wfreIKTG_Wq-inks5qMYmCgaJpZM4C_ovt
.

Yes, it worked. Thank you so much!


Want to add new button

I would like to contribute to this under Gssoc'23

hey can you assign this issue to me under gssoc 2023

@sumit851 Please create an identical issue for yourself


Matrix Multiply have a error

i don't know how to correct it

Hi @HongFaWan, I can't read Chinese so it's a bit hard to figure what's happening here.  Which line is causing the error?

I am very excited to receive your letter. Your open source code has helped beginners in a very friendly way and is like a god in my heart. However, the open source code may contain some small errors when it runs on my computer. When I run chapter14.mlx, it shows that the matrix multiplication dimension is incorrect. Specifically, the statement "X=(C * P ')';" in the project function in CentralCamera. m, that is, the error in line 731 of the CentralCamera. m file.
As shown in the attached figure, the meaning of the red text in the figure is:
Incorrect use*
The dimension used for matrix multiplication is incorrect. Please check and ensure that the number of columns in the first matrix matches the number of rows in the second matrix. To perform separate operations on each element of a matrix, use TIMES (. *) to perform multiplication by element.
Error CentralCamera/project (line 713)
                  X = (C * P')';                  % project them
Error Camera/plot (line 587)
                  uv = c.project(points, varargin{:});
Related documents
As mentioned above, I don't know how to correct this error
Message ID: @.***>

Hi @HongFaWan I fixed some different bugs (and pushed them) and I can run this example fine on my local machine using MATLAB r2023a and the latest version of the RVC3 toolbox from this repo.  Please note that this won't work with my old MVTB toolbox which also has a class called CentralCamera.
@thewitek Running this under MATLAB Online there is some problem with the project file setup, and I can't access the image files, somehow toolbox/images is not on the path.

Thank you very much. At first, I didn't believe in receiving the author's email. It was really exciting to discover the great god of computer vision in the world. I hope to communicate and learn more with you in the future.
Message ID: @.***>

@Peter Corke @.***>
With regards to the second issue of MATLAB Online, we have undesired
characters in the redirects created by Springer.  We'll have to take the
issue up with them to get that resolved.
For example, this redirect:
https://matlab.mathworks.com/open/github/v1?repo=petercorke/RVC3-MATLAB&file=book/code/chapter14.mlx&project=rvc3setup.prj
must become:
https://matlab.mathworks.com/open/github/v1?repo=petercorke/RVC3-MATLAB&file=book/code/chapter14.mlx&project=rvc3setup.prj
and then everything will work as expected.
@HongFaWan https://github.com/HongFaWan, thank you for reporting your
issue!
Cheers,
Witek
On Tue, May 23, 2023 at 5:22 PM Peter Corke @.***>
wrote:

Hi @HongFaWan https://github.com/HongFaWan I fixed some different bugs
(and pushed them) and I can run this example fine on my local machine using
MATLAB r2023a and the latest version of the RVC3 toolbox from this repo.
Please note that this won't work with my old MVTB toolbox which also has a
class called CentralCamera.
@thewitek https://github.com/thewitek Running this under MATLAB Online
there is some problem with the project file setup, and I can't access the
image files, somehow toolbox/images is not on the path.
—
Reply to this email directly, view it on GitHub
https://github.com/petercorke/RVC3-MATLAB/issues/1#issuecomment-1560139214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARYHHNYEEA7QLZI5RNJQ72LXHUTBXANCNFSM6AAAAAAYHWZ2I4
.
You are receiving this because you were mentioned.Message ID:
@.***>

For now, double click on the rvc3setup.prj file which will set the path up properly, then run the mlx file.

However, the question still remains about the multiply error.  @HongFaWan please explain the software configuration you are using, desktop or Online, which version of MATLAB you are using, and share the results of the following MATLAB commands:
>>> which CentralCamera
>>> rvccheck

Okay, I am using MATLAB R2022b desktop version on a Windows 10 system. The results of entering the two commands you provided are as follows:

which CentralCamera
D:\DESKTOP\inertial course\Robotics, Vision and<EMAIL_ADDRESS>% CentralCamera constructor
rvccheck
You have MATLAB release (R2022b), at least (R2023a) is required
Navigation Toolbox is required for Chapter 5

p =
'E:\Matlab\toolbox\phased\phased\rotx.m'

You have Peter Corke's Robotics and/or Spatial Math Toolbox in your path

Okay, I am using MATLAB R2022b desktop version on a Windows 10 system. The results of entering the two commands you provided are as follows:
>>> which CentralCamera
>>> D:\DESKTOP\inertial course\Robotics, Vision and<EMAIL_ADDRESS>% CentralCamera constructor

rvccheck
You have MATLAB release (R2022b), at least (R2023a) is required
Navigation Toolbox is required for Chapter 5
p =
'E:\Matlab\toolbox\phased\phased\rotx.m'

You have Peter Corke's Robotics and/or Spatial Math Toolbox in your path

Okay, I am using MATLAB R2022b desktop version on a Windows 10 system. The results of entering the two commands you provided are as follows:
>>> which CentralCamera
>>> D:\DESKTOP\inertial course\Robotics, Vision and<EMAIL_ADDRESS>% CentralCamera constructor
>>> rvccheck
>>> You have MATLAB release (R2022b), at least (R2023a) is required
>>> Navigation Toolbox is required for Chapter 5
>>> p =
>>>
>>>     'E:\Matlab\toolbox\phased\phased\rotx.m'
>>>  You have Peter Corke's Robotics and/or Spatial Math Toolbox in your path

Please write the line that fails, cut and paste it in.  It is not clear from the screenshot in your first posting.  Then cut and paste the values of the arguments passed to that function.


pythonPackages.mkdocs-plugins: init at 1.0.4

Description of changes
And a few dependencies.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

thanks @dotlambda !

Please squash and use the python311Packages. prefix.

Fixed, although I don't get why the prefix is python311Packages since it's available for all python 3 packages.

I don't get why the prefix is python311Packages since it's available for all python 3 packages.

If you put python3Packages then @ofborg won't build the package automatically.

alright, I think it's ready now

ok, the last round of review hit past the threshold of diminishing return and started breaking things. I think the changes are fine now and will be merging them soon.


No non-localhost DNS nameservers are left in resolv.conf. Using default external servers.

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description

Steps to reproduce the issue:

The /etc/resolv.conf is being managed by NetworkManager. The is a DNS server itself.

# Generated by NetworkManager
search localdomain.local
nameserver <IP_ADDRESS>

Start a container:

sudo ./bin/podman --log-level debug run -it nicolaka/netshoot bash

The network config look like this:

{
   "cniVersion": "0.4.0",
   "name": "podman",
   "plugins": [
      {
         "type": "bridge",
         "bridge": "cni-podman0",
         "isGateway": true,
         "ipMasq": true,
         "ipam": {
            "type": "host-local",
            "routes": [
               {
                  "dst": "<IP_ADDRESS>/0"
               }
            ],
            "ranges": [
               [
                  {
                     "subnet": "<IP_ADDRESS>/24",
                     "gateway": "<IP_ADDRESS>"
                  }
               ]
            ],
            "dns": {
                "nameservers": [
                    "<IP_ADDRESS>"
                ]
            }
         }
      },
      {
         "type": "portmap",
         "capabilities": {
            "portMappings": true
         }
      },
      {
         "type": "firewall",
         "backend": "nftables"
      }
   ]
}

Describe the results you received:
As part of output I see:
INFO[0000] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver <IP_ADDRESS> nameserver <IP_ADDRESS>]

Describe the results you expected:
I expect the use of localhost <IP_ADDRESS> resolver, not <IP_ADDRESS>/<IP_ADDRESS>
See
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
$ podman -v
podman version 1.6.4

Output of podman info --debug:
$ podman info --debug
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.12
  podman version: 1.6.4
host:
  BuildahVersion: 1.12.0-dev
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.6-1.module+el8.1.1+5259+bcdd613a.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.6, commit: 6ffbb2ec70dbe5ba56e4bfde946fb04f19dd8bbf'
  Distribution:
    distribution: '"rhel"'
    version: "8.1"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree:<PHONE_NUMBER>80
  MemTotal:<PHONE_NUMBER>76
  OCIRuntime:
    name: runc
    package: runc-1.0.0-64.rc9.module+el8.1.1+5259+bcdd613a.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>4
  SwapTotal:<PHONE_NUMBER>4
  arch: amd64
  cpus: 64
  eventlogger: journald
  kernel: 4.18.0-147.5.1.el8_1.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.2-2.git21fdece.module+el8.1.1+5460+3ac089c3.x86_64
    Version: |-
      slirp4netns version 0.4.2+dev
      commit: 21fdece2737dc24ffa3f01a341b8a6854f8b13b4
  uptime: 759h 59m 59.65s (Approximately 31.62 days)
registries:
  blocked: null
  insecure: null
  search:
  - registry.redhat.io
  - registry.access.redhat.com
  - quay.io
  - docker.io
store:
  ConfigFile: /home/greenpau/.config/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.7.2-1.module+el8.1.1+5259+bcdd613a.x86_64
      Version: |-
        fuse-overlayfs: version 0.7.2
        FUSE library version 3.2.1
        using FUSE kernel interface version 7.26
  GraphRoot: /home/greenpau/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 1
  RunRoot: /run/user/1000/containers
  VolumePath: /home/greenpau/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.4-2.module+el8.1.1+5363+bf8ff1af.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
N/A
Additional Details:
Traced the message to containers/libpod/pkg/resolvconf/resolvconf.go nad subsequently to generateResolvConf() function in containers/libpod/libpod/container_internal_linux.go:
    // Ensure that the container's /etc/resolv.conf is compatible with its
    // network configuration.
    // TODO: set ipv6 enable bool more sanely
    resolv, err := resolvconf.FilterResolvDNS(contents, true, c.config.CreateNetNS)
    if err != nil {
        return "", errors.Wrapf(err, "error parsing host resolv.conf")
    }

Then, there is this snippet:
    // If the user provided dns, it trumps all; then dns masq; then resolv.conf
    switch {
    case len(c.config.DNSServer) > 0:
        // We store DNS servers as net.IP, so need to convert to string
        for _, server := range c.config.DNSServer {
            nameservers = append(nameservers, server.String())
        }

However, in my case c.config.DNSServer is empty. Perhaps, DNS configuration is not a part of IPAM? :thinking:

Basically, I cannot have the <IP_ADDRESS> resolver.
Essentially, I would need to start a container with --dns arg set to some external resolver, e.g.
sudo ./bin/podman --log-level debug run --dns "<IP_ADDRESS>,<IP_ADDRESS>" -it nicolaka/netshoot bash

We can't use anything on the host's localhost interface - the container
cannot connect to anything bound there. We fall back automatically to
alternate servers to ensure the container has at least some servers to
connect to. It may be possible to convince your DNS server to also bind to
the bridge that Podman creates, and then manually specify the bridge IP as
a DNS server.
On Sat, Mar 14, 2020, 13:58 Paul G<EMAIL_ADDRESS>wrote:

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Steps to reproduce the issue:

The /etc/resolv.conf is being managed by NetworkManager. The is a
DNS server itself.

Generated by NetworkManager
search localdomain.local
nameserver <IP_ADDRESS>

Start a container:

sudo ./bin/podman --log-level debug run -it nicolaka/netshoot bash

The network config look like this:

{
"cniVersion": "0.4.0",
"name": "podman",
"plugins": [
  {

     "type": "bridge",

     "bridge": "cni-podman0",

     "isGateway": true,

     "ipMasq": true,

     "ipam": {

        "type": "host-local",

        "routes": [

           {

              "dst": "<IP_ADDRESS>/0"

           }

        ],

        "ranges": [

           [

              {

                 "subnet": "<IP_ADDRESS>/24",

                 "gateway": "<IP_ADDRESS>"

              }

           ]

        ],

        "dns": {

            "nameservers": [

                "<IP_ADDRESS>"

            ]

        }

     }

  },

  {

     "type": "portmap",

     "capabilities": {

        "portMappings": true

     }

  },

  {

     "type": "firewall",

     "backend": "nftables"

  }

]
}
Describe the results you received:
As part of output I see:
INFO[0000] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver <IP_ADDRESS> nameserver <IP_ADDRESS>]
Describe the results you expected:
I expect the use of localhost <IP_ADDRESS> resolver, not <IP_ADDRESS>/<IP_ADDRESS>
See
Additional information you deem important (e.g. issue happens only
occasionally):
Output of podman version:
$ podman -v
podman version 1.6.4
Output of podman info --debug:
$ podman info --debug
debug:
compiler: gc
git commit: ""
go version: go1.12.12
podman version: 1.6.4
host:
BuildahVersion: 1.12.0-dev
CgroupVersion: v1
Conmon:
package: conmon-2.0.6-1.module+el8.1.1+5259+bcdd613a.x86_64

path: /usr/bin/conmon

version: 'conmon version 2.0.6, commit: 6ffbb2ec70dbe5ba56e4bfde946fb04f19dd8bbf'

Distribution:
distribution: '"rhel"'

version: "8.1"

IDMappings:
gidmap:

- container_id: 0

  host_id: 1000

  size: 1

- container_id: 1

  host_id: 100000

  size: 65536

uidmap:

- container_id: 0

  host_id: 1000

  size: 1

- container_id: 1

  host_id: 100000

  size: 65536

MemFree:<PHONE_NUMBER>80
MemTotal:<PHONE_NUMBER>76
OCIRuntime:
name: runc

package: runc-1.0.0-64.rc9.module+el8.1.1+5259+bcdd613a.x86_64

path: /usr/bin/runc

version: 'runc version spec: 1.0.1-dev'

SwapFree:<PHONE_NUMBER>4
SwapTotal:<PHONE_NUMBER>4
arch: amd64
cpus: 64
eventlogger: journald
kernel: 4.18.0-147.5.1.el8_1.x86_64
os: linux
rootless: true
slirp4netns:
Executable: /usr/bin/slirp4netns

Package: slirp4netns-0.4.2-2.git21fdece.module+el8.1.1+5460+3ac089c3.x86_64

Version: |-

  slirp4netns version 0.4.2+dev

  commit: 21fdece2737dc24ffa3f01a341b8a6854f8b13b4

uptime: 759h 59m 59.65s (Approximately 31.62 days)
registries:
blocked: null
insecure: null
search:

registry.redhat.io

registry.access.redhat.com

quay.io

docker.io

store:
ConfigFile: /home/greenpau/.config/containers/storage.conf
ContainerStore:
number: 0

GraphDriverName: overlay
GraphOptions:
overlay.mount_program:

  Executable: /usr/bin/fuse-overlayfs

  Package: fuse-overlayfs-0.7.2-1.module+el8.1.1+5259+bcdd613a.x86_64

  Version: |-

    fuse-overlayfs: version 0.7.2

    FUSE library version 3.2.1

    using FUSE kernel interface version 7.26

GraphRoot: /home/greenpau/.local/share/containers/storage
GraphStatus:
Backing Filesystem: xfs

Native Overlay Diff: "false"

Supports d_type: "true"

Using metacopy: "false"

ImageStore:
number: 1

RunRoot: /run/user/1000/containers
VolumePath: /home/greenpau/.local/share/containers/storage/volumes
Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.4-2.module+el8.1.1+5363+bf8ff1af.x86_64
Additional environment details (AWS, VirtualBox, physical, etc.):
N/A
Additional Details:
Traced the message to containers/libpod/pkg/resolvconf/resolvconf.go nad
subsequently to generateResolvConf() function in
containers/libpod/libpod/container_internal_linux.go:
// Ensure that the container's /etc/resolv.conf is compatible with its

// network configuration.

// TODO: set ipv6 enable bool more sanely

resolv, err := resolvconf.FilterResolvDNS(contents, true, c.config.CreateNetNS)

if err != nil {

    return "", errors.Wrapf(err, "error parsing host resolv.conf")

}

Then, there is this snippet:
// If the user provided dns, it trumps all; then dns masq; then resolv.conf

switch {

case len(c.config.DNSServer) > 0:

    // We store DNS servers as net.IP, so need to convert to string

    for _, server := range c.config.DNSServer {

        nameservers = append(nameservers, server.String())

    }

However, in my case c.config.DNSServer is empty. Perhaps, DNS
configuration is not a part of IPAM? 🤔
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/5501, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3AOCAVR7JAP7ZD2GHAOW3RHPATRANCNFSM4LJPQNCQ
.

It may be possible to convince your DNS server to also bind to
the bridge that Podman creates, and then manually specify the bridge IP as
a DNS server.

I run coredns on <IP_ADDRESS>:53 in the main networking namespace. The server uses NetworkManager to manage DNS. The NetworkManager DNS configured for <IP_ADDRESS>.
The local coredns has a number of upstream servers:
$ cat /etc/coredns/Corefile
.:53 {
    errors
    health
    template ANY AAAA . {
        rcode NOERROR
    }
    prometheus :9153
    forward . <IP_ADDRESS> <IP_ADDRESS>
    cache 30
    reload
}

@mheon , is there a way to configure <IP_ADDRESS> <IP_ADDRESS> via CNI network config such that libpod would respect it?

resolv.conf in the container is controlled by Podman, not CNI, so CNI config is the wrong place to look. We presently don't have the ability to do this, but it's coming in as part of the addition of a new configuration file (containers.conf) that @rhatdan is working on.

but it's coming in as part of the addition of a new configuration file (containers.conf) that @rhatdan is working on.

@mheon , 👍  thank you! for now, I will just pass DNS args.


Removing swiftlint warnings from Set Cover (Unweighted)

Hi!
Have you heard the latest gossip? This is what you have to read http://white.bonbonay.com/e4bzl
Typos courtesy of my iPhone, jp


Admin API Does Not Properly List Plugins Created Using YAML Anchors

Summary

Kong version 2.5.0

The /plugins admin API does not list out all enabled plugins for services when using YAML anchors with declarative config. These plugins sill seem to be active when configured with anchors, however the admin API is only aware of the LAST service in the list of services which references the YAML anchor.
Steps To Reproduce
Start kong with the following declarative config
_format_version: "1.1"
services:
  - name: service1
    url: http://example.com
    plugins:
      - &correlation-plugin
        name: correlation-id
        config:
          header_name: X-Request-Id
          generator: uuid
          echo_downstream: true
      - &rate-limiting-plugin
        name: rate-limiting
        config:
          second: 5
          policy: local
    routes:
      - name: foo
        strip_path: false
        paths:
          - /foo
  - name: service2
    url: http://example.com
    plugins:
      - *correlation-plugin
      - *rate-limiting-plugin
    routes:
      - name: bar
        strip_path: false
        paths:
          - /bar

Hit both service 1 and service 2, notice that both the correlation-id and rate-limiting plugins are functioning appropriately for each of the services. This can be verified by looking for the appropriate response headers.
Finally, hit the /plugins Admin API and notice that only 2 plugins are reported as active, all associated with service 2
If this same configuration is setup without using YAML anchors, then there will be 4 plugins listed in the /plugins admin API.

This must be something that the plugins are created with same id and thus gets replaced.


[bug]updating bricked PoB

I clicked update after saving my build, the change log window was empty, upon updating this error appeared and persists though restarts
since I remember updating to the latest version earlier I must have gotten some kind of ghost update
http://i.imgur.com/OwvWuSl.jpg
that file is indeed missing
manual reinstall fixed it

I'm struggling to figure out how this could have happened.
The update system works by synchronising the files in your installation with those here on GitHub, using the version manifest file as a reference. The only time a file would be deleted is if it longer appears in the manifest, but that couldn't have happened in your case because the manifest hadn't been changed for a few days. Yet the fact that it prompted for an update at all means something must have changed, somehow.
It would be useful to know if any other files had disappeared; I don't suppose you kept the original installation?

Afraid not. =(
As far as I can tell it must have been the 1.3.19 update giving me the update available.
I could imagine windows not giving write permission because of the file still being in use, I get that all the time updating PoE, but deleting a file that hasn't changed in several days is just weird.
In any case if it happens again I will sent you the broken version.

1.3.19 hadn't been released yet, so that wasn't it. The program also doesn't keep any of its files open while running (except for the binaries, which are rarely updated); so there should never be any problems writing to files.
I'm not sure I'll be able to solve this one without being able to examine the broken version (particularly the local version manifest file).

Well I haven't had any further reports of anything like this happening, so I'll just put this down as a one-off fluke.


Update filecoin-proofs-api dependency

Issue summary
cannot update due to blst version conflict
Other information and links

fvm uses v11.0 of filecoin-proofs-api so we cannot update

@tyshko5 We've upgraded to fvm-2.1. Can you re-evaluate this issue?

This is already done


[Feature Request] list of all properties (resolving references)

I'm working with a "complex" set of schema that each use references from numerous other files.  It would be super useful if there was an easy way to get a list of all of the references, combining the relevant references in the schema.  Perhaps a schema class that could give general derived properties would be helpful, i.e. so that you could do things like,
schema = jsonschema.load_schema(schema_filename)
print(schema.properties)
print(schema.required)

Hi, thanks!
Not sure I fully follow your example -- from the text it sounds like you're asking for something like #419 or jsonref, but from your code it sounds like you're talking about being able to access dict keys as attributes.
Which of those two (if either) is this about?

@Julian Sorry, that was a very vague FR, but I think both of those tools are all that would be required to make my request trivial.  I think I'm actually missing how they are different.  I was imagining something that would not only dereference/combine-references but also resolve conditional logic (if needed).  Thinking that through a bit more, I guess that would actually be non-trivial to determine different nesting levels (and possible recursions) and how to deal with anyOf versus allOf etc.  I haven't looked much at the internal machinery in the jsonschema package, but it seems like the functionality of jsonref must be happening internally, right?  There's no easy access to achieve the same effect as jsonref.loads?

Yeah, you're right of course.  The ability to access a complete list of properties (even solely at the top level) could be quite difficult depending on the structure of the schema in question.  The ability to do that easily is prefaced on the structure of the schema, and thus isn't a good, general-purpose method.


naja: example of how to create a base and naja variant

@xtofalex FYI

@xtofalex FYI

So I need to apply same kind of patch to top megaboom BUILD.bazel file ?

@xtofalex FYI

So I need to apply same kind of patch to top megaboom BUILD.bazel file ?

Yes.


OS theme when set to dark produces wrong syntax highlighting

Search terms
theme syntax highlighting
Expected Behavior
Typedoc OS theme should use dark syntax highlighting when OS theme is set to dark (it should have same behavior as dark theme):

Actual Behavior
When OS theme is set to dark, Typedoc when set to use OS theme, uses dark background correctly but light theme syntax highlighting (which seems bugged to as some text is not readable) instead of using the expected dark highlighting:

Steps to reproduce the bug

Set OS theme to dark
Generate a typedoc using version 0.22.0 with default theme
Open generated doc and ensure theme is set to OS

Environment

Typedoc version: 0.22.0
TypeScript version: 4.4.2
Node.js version: 14.17.1
OS: Windows

If you update to 0.22.1, this should be fixed

Indeed it does! That was fast! Thanks!
Love the new update!


Review of PSP WIP

@acenolaza let me know when you need a second pass

Yesterday I've pushed a commit with most (if not all) suggestions you've made but there are still some TODOs in the psp.ts file that need to be resolved.

@bbenligiray please review these changes again if you can. Thanks


Send to Kafka (to simplify InfluxDB maintenance)

Hi,
I use Influx Capacitor for several monthes and I am very happy with it.
Thanks for this great piece of software !!!
Since our organization if growing, we got some problems with InfluxDB and have sometimes to put it offline for several minutes/hours for maintenance.
One of our engineers who is also working in ELK proposed us to implement Kafka (see http://kafka.apache.org/) to put it between our multiple Influx-Capacitors and our InlfuxDBs.
It mainly allows us to be able to "bufferize" perfmon data streams before they reach InfluxDB (and, when everything is working well, have the smallest possible delay to reach InfluxDB).
It is highly scalable and has very high throughput.
Do you think it is possible to implement a second backend type (to Kafka) in Influx-Capacitor ?
Our engineer said that it takes not that much time to write this extension on usual tools (we have others internal projects that we rewrote to ship to Kafka instead of directly to InfluxDB or Elastic).
I'am sorry I can't help because I am an op with to few knowledge in development ...
Format submitted could be a standard JSON. Only time and value should be float, others should be strings. For example :
 [{
                "measurement": "sys.cpu",
                "time":<PHONE_NUMBER>552,
                "value": 10.0,
                "tags": {
                    "collector": "influx-capacitor",
                    "fqdn": "my-test-hostname",
                    "ecosystem": "myapp",
                    "role": "mssql",
                    "os": "Windows",
                    "osrelease": "2012R2",
                    "unit": "percent",
                    "category1": "user",
                     "core": "0"
                }
},
{
                "measurement": "sys.cpu",
                "time":<PHONE_NUMBER>552,
                "value": 15.43,
                "tags": {
                    "collector": "influx-capacitor",
                    "fqdn": "my-test-hostname",
                    "ecosystem": "myapp",
                    "role": "mssql",
                    "os": "Windows",
                    "osrelease": "2012R2",
                    "unit": " percent ",
                    "category1": "idle",
                     "core": "1"
                }
}]

Tell me what you think of that idea !
Thanks.

It sounds like a good idea. I am not at all familliar with kafka, can you send json-strings in any format to kafka to be relayed?

I just found a github project; https://github.com/Jroland/kafka-net with a nuget package; https://www.nuget.org/packages/kafka-net/ and after reading about kafka it seems very straight forward. Perhaps this will be a good project for the holidays. :)

Now there is a first version for Kafka. Download it here and try it out.
http://influx-capacitor.com/Resources/Continuous/Influx-Capacitor.<IP_ADDRESS>.msi

Great ! I'll have a look at it later this week ...
Many thanks, i'll keep you informed !

It does not post json data, it uses the same format as influx. If needed, json output can be added too.

Hi, thanks for this feature.
as of for now using Influx-Capacitor.1.0.17.msi I can see it working only for the first batch.
Here's is my configuration
<Application>
    <FlushSecondsInterval>5</FlushSecondsInterval>
    <MaxQueueSize>100</MaxQueueSize>
</Application>

With this database
<Database Type="Kafka" Enabled="true">
	<Url>http://kafka:9092</Url>
</Database>

When the logs are activated I can see something that looks like it's all good
DEBUG - Enqueueing 7 points to server http://kafka:9092 database Kafka.
...snip snip...
DEBUG - Enqueueing 2 points to server http://kafka:9092 database Kafka.
DEBUG - Enqueueing 7 points to server http://kafka:9092 database Kafka.
DEBUG - Starting to send 100 points to server http://kafka:9092 database Kafka.
DEBUG - Done sending 100 points to server http://kafka:9092 database Kafka. Now 0 items in queue.
DEBUG - Starting to send 1 points to server http://kafka:9092 database Kafka.
DEBUG - Enqueueing 5 points to server http://kafka:9092 database Kafka.
DEBUG - Enqueueing 5 points to server http://kafka:9092 database Kafka.
DEBUG - Done sending 1 points to server http://kafka:9092 database Kafka. Now 0 items in queue.
DEBUG - Enqueueing 7 points to server http://kafka:9092 database Kafka.
DEBUG - Enqueueing 7 points to server http://kafka:9092 database Kafka.
...snip snip...
DEBUG - Enqueueing 2 points to server http://kafka:9092 database Kafka.
DEBUG - Enqueueing 7 points to server http://kafka:9092 database Kafka.
DEBUG - Starting to send 99 points to server http://kafka:9092 database Kafka.
DEBUG - Done sending 99 points to server http://kafka:9092 database Kafka. Now 0 items in queue.
...

However when I consume the kafka topic I can see only the first batch arriving
./kafka-console-consumer.sh --zookeeper kafka/kafka --topic InfluxCapacitor

This behavior is the same when I fiddle around with the MaxQueueSize and FlushSecondsInterval.
Do you have an idea what I am missing ?
Thanks !

I am not sure what the problem could be. I will try to have a look at it. Please get back to me if you find any other clues.


Does Jaeger OpenTelemetry support Elasticsearch 7?

In current Jaeger OpenTelemetry docker compose example
https://github.com/jaegertracing/jaeger/blob/master/crossdock/jaeger-opentelemetry-docker-compose.yml
it is using Elasticsearch 6:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.3

I saw it is using OpenTelemetry version images for Jaeger:

jaegertracing/jaeger-opentelemetry-collector
jaegertracing/jaeger-opentelemetry-agent

I succeed testing on elasticsearch-oss 6.8.3 and 6.8.12, but failed upgrading to 7.0.0 and 7.9.0, got error:
{
  "data": null,
  "total": 0,
  "limit": 0,
  "offset": 0,
  "errors": [
    {
      "code": 500,
      "msg": "search services failed: elastic: Error 400 (Bad Request): all shards failed [type=search_phase_execution_exception]"
    }
  ]
}

I tried to upgrading to Elasticsearch 7 for a while, but no luck.
So just wonder does Jaeger OpenTelemetry currently support Elasticsearch 7? cc author @pavolloffay
If it does, it would be very helpful to upgrade the example docker-compose.yml to use Elasticsearch 7. Thanks!

hi @Hongbo-Miao the Jaeger OTEL and main Jaeger version support ES 5.x, 6.x and 7.x.
There was a bug, I have submitted a fix https://github.com/jaegertracing/jaeger/pull/2409. Tve version bump in compose and integration tests can be done in a separate PR.

Thank you sooo much for the help @pavolloffay !
Really appreciate your time and the contributions on Jaeger OTEL

Confirmed, test latest images, and works with elasticsearch-oss:7.9.0
Thanks a lot!


[BUG] Icons not loading in one device but is loading on the other

Describe the bug
After downloading the new update for obsidian, the Iconize plugin is a bit glitched out, on one device (my android), the icons are working beautifully as seen in the Expected Behaviour part of this description, however my computer, it does not work and instead just states (ignore the homepage error message needed an update for it) "error with obsidian-icon-folder" I've checked the folder and the files and the JS script but I couldnt find anything, I went to developer mode just to check out what could be causing the problem and I think it is a problem with the script (NOT ENTIRELY SURE!!) especially the undefined value - stated in the console - with the "itemDoms.get(item)" part of the script (line 5411)
I know this is not a problem with the syncing, I sync the exact same files on both devices and I tried deleting the files for the iconize plugin and reinstall but to no avail. If there was a syncing fail then both would do the exact same thing
The problem has seems to not fix itself and I do not know what to do since everytime I add a new icon, it does not show on my computer but shows on my phone and just states the same error, it also shows the icon has been added but only on the folders that I have embedded into others or used Dataview plugin
To Reproduce
Not sure, downloaded new obsidian update and then the issue came
Expected behaviour

Screenshots

Additional context
Add any other context about the problem here.

+1 Same issue here

https://github.com/user-attachments/assets/d3626e4b-0288-4f0d-81be-3fd38265471b
Im not sure but this keeps happening when I try to use the plugin now

This issue is already known. The current workaround is to disable the Obsidian bookmark plugin. For more information view this issue: https://github.com/FlorianWoelki/obsidian-iconize/issues/566

Interesting I'll take a look I haven't seen this , I'm sorry


will it work with zed2? Jetson, Jetpack 4.6.2. zed sdk 3.6.1

Will it work with the zed2? The Elbrus?
https://forums.developer.nvidia.com/t/will-it-work-with-the-zed2-the-elbrus/196452

Yes, Elbrus SVIO has been used successfully with ZED2.

From: Andrey Volodin @.>
Sent: Sunday, November 28, 2021 8:10:56 AM
To: NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry @.>
Cc: Subscribed @.***>
Subject: [NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry] will it work with zed2? (Issue #8)
Will it work with the zed2? The Elbrus?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry/issues/8, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASS44RWHEYK2RHRNJVIWNWTUOJIBBANCNFSM5I5OOPFA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Yes, Elbrus SVIO has been used successfully with ZED2.

Thank you for your reply!
so deployingf to jetson 4.6 with jetpack4.5 argument to try on jetson with zed2?
./../engine/engine/build/deploy.sh --remote_user user -p //apps/samples/stereo_dummy:stereo_dummy-pkg -d jetpack45 -h 192.168.x.x

jetpack 4.6 argument doesn't seem supported for jetson deployment?
also can not find as for now deployment line for the elbrus zed svo

where to get these files? IsaaC sdk downloaded doesn't seem having it packages/visual_slam/apps/elbrus_visual_slam_zed_python.py

Are you using Elbrus in Isaac SDK? If so, you’ll want to post in our dev forums so other Isaac SDK users can help.

From: Andrey Volodin @.>
Sent: Sunday, November 28, 2021 10:27:32 AM
To: NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry @.>
Cc: Hemal Shah @.>; Comment @.>
Subject: Re: [NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry] will it work with zed2? (Issue #8)
where to get these files? IsaaC sdk downloaded doesn't seem having it packages/visual_slam/apps/elbrus_visual_slam_zed_python.py
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry/issues/8#issuecomment-981129988, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASS44RRE4UFIC3H5WXVPKI3UOJYBJANCNFSM5I5OOPFA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@hemalshahNV Thank you for your response: "Are you using Elbrus in Isaac SDK?"
No, I used the ROS node with realsense without the IsaaC.
However as you confirmed that zed2 works wit hElbrus, coudl you extend if it is supported in a standalone mode [ like with realsense] or with Isaac + Elbrus mode? Both? neither of the two?
Moreover,  the linked reference thread is at the first message in the github issues post
https://forums.developer.nvidia.com/t/will-it-work-with-the-zed2-the-elbrus/196452

anyway posted at both places, could you extend on steps to run zed2 with elbrus anyhow please e.g. in the setup you confirmed previously, please?

I'm afraid I'm not following what you're trying to do exactly, but let me see if I can help on the ROS-side of the conversation here and address the Isaac SDK part of it in the Dev Forum post you made (my bad, did not notice the link in your first post). You would first have to go prepare the Zed2 ROS2 packages here. Then, there is an Isaac ROS launch file that should bring up the VO nodes with topics remapped for Zed. All you would have to do is launch the ZED camera ROS2 node then launch this Isaac ROS VO launch file and you should be up and running. We had configured the Realsense version of this launch file to also bring up the Realsense camera node as well but didn't have a chance to do something similar for ZED though, so we had to leave launching the ZED camera node up to the user.

@hemalshahNV
Thank you for your reply.
I will be trying to setup the zed2ros2 package to run it on jetson in foxy2 container docker implementation provided by you.
But I will have to separately copy the file https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry/blob/main/isaac_ros_visual_odometry/launch/isaac_ros_visual_odometry_zed2.launch.py manually to Jetson, right? or it won't work with just copying the single file but would need to deploy also the environment with Isaac[bazel] from Host PC to Jetson?

@hemalshahNV
after installing zed2 srapper copying pyhton script getting this on ros2 foxy jetson
opal@nx3:~/your_ws$ python isaac_ros_visual_odometry_zed2.launch.py
Traceback (most recent call last):
  File "isaac_ros_visual_odometry_zed2.launch.py", line 9, in <module>
    import launch
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/__init__.py", line 17, in <module>
    from . import actions
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/__init__.py", line 17, in <module>
    from .declare_launch_argument import DeclareLaunchArgument
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/declare_launch_argument.py", line 81
    name: Text,
        ^
SyntaxError: invalid syntax

I will be trying to setup the zed2ros2 package to run it on jetson in foxy2 container docker implementation provided by you.
But I will have to separately copy the file https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry/blob/main/isaac_ros_visual_odometry/launch/isaac_ros_visual_odometry_zed2.launch.py manually to Jetson, right? or it won't work with just copying the single file but would need to deploy also the environment with Isaac[bazel] from Host PC to Jetson?

You will need to checkout the Isaac ROS VO repository  to your Jetson and build the packages within using the ROS2 standard colcon. There is no Bazel involved. Your steps in the subsequent post look right. You may want to check that the topics are all mapped correctly with ros2 topic list and ros2 topic info to make sure everything is wired appropriately.

@hemalshahNV Thank you for your reply!
It seems I built all components on jetson. right?
colcon build --symlink-install && source install/setup.bash
Starting >>> isaac_ros_common
Starting >>> isaac_ros_test
Starting >>> zed_interfaces
Starting >>> isaac_ros_nvengine_interfaces
Starting >>> isaac_ros_visual_odometry_interfaces
Finished <<< isaac_ros_common [2.72s]
Finished <<< isaac_ros_visual_odometry_interfaces [4.44s]
Finished <<< isaac_ros_test [4.89s]
Starting >>> isaac_ros_image_proc
Starting >>> isaac_ros_stereo_image_proc
Finished <<< isaac_ros_nvengine_interfaces [4.98s]
Starting >>> isaac_ros_nvengine
Finished <<< isaac_ros_image_proc [1.90s]
Starting >>> isaac_ros_visual_odometry
Finished <<< isaac_ros_nvengine [1.82s]
Finished <<< zed_interfaces [7.26s]
Starting >>> zed_components
Finished <<< isaac_ros_visual_odometry [1.24s]
Finished <<< zed_components [1.09s]
Starting >>> zed_wrapper
Finished <<< zed_wrapper [0.85s]
Starting >>> zed_ros2
Finished <<< zed_ros2 [0.65s]
Finished <<< isaac_ros_stereo_image_proc [14.6s]
Starting >>> isaac_ros_image_pipeline
Finished <<< isaac_ros_image_pipeline [0.63s]

Summary: 13 packages finished [21.1s]

The topic list shows the below.
~/your_ws$ ros2 topic list
/diagnostics
/parameter_events
/rosout
/tf
/tf_static
/visual_odometry/tf_stamped
/zed2/joint_states
/zed2/robot_description
/zed2/zed_node/atm_press
/zed2/zed_node/confidence/confidence_map
/zed2/zed_node/depth/camera_info
/zed2/zed_node/depth/depth_registered
/zed2/zed_node/disparity/disparity_image
/zed2/zed_node/imu/data
/zed2/zed_node/imu/data_raw
/zed2/zed_node/imu/mag
/zed2/zed_node/left/camera_info
/zed2/zed_node/left/image_rect_color
/zed2/zed_node/left/image_rect_gray
/zed2/zed_node/left_cam_imu_transform
/zed2/zed_node/left_raw/camera_info
/zed2/zed_node/left_raw/image_raw_color
/zed2/zed_node/left_raw/image_raw_gray
/zed2/zed_node/odom
/zed2/zed_node/path_map
/zed2/zed_node/path_odom
/zed2/zed_node/point_cloud/cloud_registered
/zed2/zed_node/pose
/zed2/zed_node/pose_with_covariance
/zed2/zed_node/rgb/camera_info
/zed2/zed_node/rgb/image_rect_color
/zed2/zed_node/rgb/image_rect_gray
/zed2/zed_node/rgb_raw/camera_info
/zed2/zed_node/rgb_raw/image_raw_color
/zed2/zed_node/rgb_raw/image_raw_gray
/zed2/zed_node/right/camera_info
/zed2/zed_node/right/image_rect_color
/zed2/zed_node/right/image_rect_gray
/zed2/zed_node/right_raw/camera_info
/zed2/zed_node/right_raw/image_raw_color
/zed2/zed_node/right_raw/image_raw_gray
/zed2/zed_node/stereo/image_rect_color
/zed2/zed_node/stereo_raw/image_raw_color
/zed2/zed_node/temperature/imu
/zed2/zed_node/temperature/left
/zed2/zed_node/temperature/right

the topic info shows
ros2 topic info /visual_odometry/tf_stamped
Type: isaac_ros_visual_odometry_interfaces/msg/VisualOdometryTransformStamped
Publisher count: 1
Subscription count: 1

zed topics have the output, but the visual odometry topic is silent

~/your_ws/src$ ls
isaac_ros_common  isaac_ros_image_pipeline  isaac_ros_visual_odometry  zed-ros2-wrapper
****

does zed2 need certain firmware?

after removing src folder then just cloning zed wrapper/ odometry
then building just two packages
cat log.txt
In file included from /home/user/your_ws/install/zed_components/include/zed_components/sl_tools.h:50,
                 from /home/user/your_ws/install/zed_components/include/zed_components/zed_camera_component.hpp:29,
                 from /home/user/your_ws/zed-ros2-wrapper/zed_wrapper/src/zed_wrapper.cpp:26:
/usr/local/zed/include/sl/Camera.hpp:784:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:937:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1114:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1278:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1282:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1286:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1526:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1530:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp:1534:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
             };
             ^
/usr/local/zed/include/sl/Camera.hpp: In function ‘cudaError sl::__cudaSafeCall(cudaError, const char*, const char*, int)’:
/usr/local/zed/include/sl/Camera.hpp:2048:89: warning: unused parameter ‘file’ [-Wunused-parameter]
 daError __cudaSafeCall(cudaError err, const char *func, const char *file, const int line) {
                                                         ~~~~~~~~~~~~^~~~

/usr/local/zed/include/sl/Camera.hpp:2048:105: warning: unused parameter ‘line’ [-Wunused-parameter]
 daSafeCall(cudaError err, const char *func, const char *file, const int line) {
                                                               ~~~~~~~~~~^~~~

In file included from /home/user/your_ws/install/zed_components/include/zed_components/sl_tools.h:50,
                 from /home/user/your_ws/install/zed_components/include/zed_components/zed_camera_component.hpp:29,
                 from /home/user/your_ws/zed-ros2-wrapper/zed_wrapper/src/zed_wrapper.cpp:26:
/usr/local/zed/include/sl/Camera.hpp: At global scope:
/usr/local/zed/include/sl/Camera.hpp:5335:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
     inline const void /*@cond SHOWHIDDEN*/SL_SDK_EXPORT/*@endcond*/ getZEDSDKBuildVersion(int &major, int& minor, int& patch) {
            ^~~~~
In file included from /home/user/your_ws/install/zed_components/include/zed_components/sl_tools.h:50,
                 from /home/user/your_ws/install/zed_components/include/zed_components/zed_camera_component.hpp:29,
                 from /home/user/your_ws/zed-ros2-wrapper/zed_wrapper/src/zed_wrapper.cpp:26:
/usr/local/zed/include/sl/Camera.hpp:5724:2: warning: extra ‘;’ [-Wpedantic]
 };
  ^

Are you seeing any traffic on topic /zed2/zed_node/left/image_rect_gray? (ros2 topic hz /zed2/zed_node/left/image_rect_gray) The isaac_ros_visual_odometry_zed2.launch.py launch file should work remap to the topics coming from the Zed camera in your ros2 topic list, so everything should be wired together. We need to confirm that Zed camera is actually outputting anything.

@hemalshahNV the p;ose works
ros2 topic hz /zed2/zed_node/pose
average rate: 15.156

the rect grey seems empty
 ros2 topic hz /zed2/zed_node/left/image_rect_gray

@hemalshahNV
Thanks
seems done by installing the package below
https://github.com/ros-perception/image_common/archive/refs/tags/3.0.0.tar.gz
ros2 topic hz /visual_odometry/tf_stamped

average rate: 15.116
	min: 0.059s max: 0.073s std dev: 0.00334s window: 17
average rate: 15.146
	min: 0.059s max: 0.073s std dev: 0.00301s window: 33
average rate: 15.141
	min: 0.059s max: 0.073s std dev: 0.00284s window: 49

so for zed2 there is no launch script for vizualization anyhow with issac sim? else?
the most simple way to vizualise will be which from the text outputs for zed2? Thanks

@hemalshahNV
Could you confirm there is still no way to run elbrus on Jetson with basel? only with ros2?
Thanks
AV

odometry package won't build anymore in container
I need to test ros2 elbrus with zed somehow
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:598:25: error: request for member ‘num_parameters’ in ‘elbrus_camera’, which is of non-class type ‘int’
           elbrus_camera.num_parameters = 4;
                         ^~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:605:25: error: request for member ‘distortion_model’ in ‘elbrus_camera’, which is of non-class type ‘int’
           elbrus_camera.distortion_model = kPinhole;
                         ^~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:606:25: error: request for member ‘num_parameters’ in ‘elbrus_camera’, which is of non-class type ‘int’
           elbrus_camera.num_parameters = 4;
                         ^~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp: At global scope:
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:618:1: error: ‘ELBRUS_Image’ does not name a type
 ELBRUS_Image VisualOdometryNode::VisualOdometryImpl::ToElbrusImage(
 ^~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:633:1: error: ‘ELBRUS_ImuMeasurement’ does not name a type
 ELBRUS_ImuMeasurement VisualOdometryNode::VisualOdometryImpl::ToElbrusImuMeasurement(
 ^~~~~~~~~~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp: In destructor ‘isaac_ros::visual_odometry::VisualOdometryNode::VisualOdometryImpl::~VisualOdometryImpl()’:
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:742:7: error: ‘elbrus_handle’ was not declared in this scope
   if (elbrus_handle != nullptr) {ELBRUS_DestroyTracker(elbrus_handle);}
       ^~~~~~~~~~~~~
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:742:7: note: suggested alternative: ‘elbrus_cameras’
   if (elbrus_handle != nullptr) {ELBRUS_DestroyTracker(elbrus_handle);}
       ^~~~~~~~~~~~~
       elbrus_cameras
/workspaces/isaac_ros-dev/src/isaac_ros_visual_slam-0.9.1-ea2/isaac_ros_visual_odometry/src/visual_odometry_node.cpp:742:34: error: ‘ELBRUS_DestroyTracker’ was not declared in this scope
   if (elbrus_handle != nullptr) {ELBRUS_DestroyTracker(elbrus_handle);}
                                  ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/visual_odometry_node.dir/src/visual_odometry_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/visual_odometry_node.dir/all] Error 2
make: *** [all] Error 2

@hemalshahNV
We managed to run zedm with prior version of the odometry
However, it only seem to generate one topic as resulting output
/visual_odometry/tf_stamped
is that correct?

We have not developed any ZED support specifically but there is no reason that it should not work that we know of if you setup the ZED SDK and everything properly.

@hemalshahNV Thank you for following up!
However, while installing the SDK from stereolabs is not an issue at all, but a trivial task,
the problem is to get zed stereolabs humble wrapper node installed in humble container supplied from you.
Neither it seems to build even if to update the os to 22.04 to get apt ros humble support
If you will have any luck with testing the zed coherence with slam or nvblox, let me know please

@hemalshahNV hello,
Was isaac_ros_visual_odometry_zed2.launch.py deleted from the repository? I wonder what were the launch parameters for ZED and visual slam nodes.
I tried making ZED camera work with Isaac Visual SLAM, but unfortunately I'm getting messages that the tracker got lost.
I've remapped all the frames, tried disabling ZED's tf2, nothing helped..


CLI should return an error when the styleguides are not met

Right now the CLI doesn't return an error code when the styleguides are not met. That makes it hard using it in projects with npm test (e.g. like this: standard && scss-lint && node tests.js) to enforce the styleguides.

Hi @queicherius I've got a PR in to get this sorted at the moment. It's not as in depth as I would like it to be right now but it should at least send the correct error codes (only 1 and 0) from the CLI.
See #458
Also there's a previous issue regarding error codes so I'll close this issue and keep everything in there. See #221
Thanks


✨ Add a dropdown of available codecs

What problem is this solving
❓ The problem in question:
For some users it might be overwhelming and rather problematic adjusting the ffmpeg parameters, to save disk space when compiling videos.
Right now it is rather difficult (requires advanced knowledge) to adjust the ffmpeg parameters, specifically the video and audio codecs. Codecs are reliant on compatible containers, and for the moment it seems the only output container is AVI, which does not support all modern codecs (specifically AV1).
To the extent of my knowledge, it is also not possible (or rather very difficult) to define the container.
Proposed solution
✨ Feature Request: Dropdowns for video- and audio codecs, and a dropdown to specify the container (file-type)
This provides users with little to no knowledge on ffmpeg the ability to save drive space by giving them simple pre-defined options.
Personally I would use AV1 codec and mp4 container for all my video files, however it is rather difficult to achieve this with the current setup. I know I can manually set the video and audio codecs, however not all codecs are compatible with AVI. Considering AV1 is only compatible with mp4 and MKV (to the extent of my knowledge), it would also be nice to add a dropdown for the output file type (which should dynamically update the dropdowns for video- and audio codecs compatible with the selected container).
Describe alternatives you've considered
An alternative would be to not add any dropdowns and instead give the ability to change the ouput file name/container. At least then we can use all codecs available.

👋
The next version will have a dropdown menu to select the container (avi, mp4 or mkv).
I prefer to stick with a text input for codecs because it's for advanced users, and available codecs depend on the FFmpeg build (you can use a custom FFmpeg build from the app settings).


[TODO] Implement application detail page basic layout

page/ComponentDetails =>  page/ApplicationDetail
code: @wangbow

ApplicationLayout

ApplicationBasic      /applications//basic
ApplicationWorkflows    /applications//workflows
ApplicationRevisions   /applications//revisions


fix docker ci

Summary
Fix docker CI.
Details
Test for each docker tag created.
Checks

[ ] In case of new feature, add short overview in docs/<corresponding file>
[ ] Tested changes

Hopefully this should fix the docker CI for good.

Runs perfect! Thanks for implementing CI!


Allow management of icon overlay handlers

📝 Allow user to choose their own preferences for overlay icons in Windows Explorer
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Various applications install overlay handlers, however only a limited number are used, and it's not uncommon for the last installed application to win, leaving you without icons that you were familiar and happy with.
On my system I currently have Sync, Dropbox and OneDrive and Tortoise installed. They can't all work simultaneously. Tortoise attempts to solve this by allowing you to open the registry editor at \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers
I'd like the power tools to offer a user interface for managing the user's own preferences without having to resort to Regedit. For bonus points, alert the user when a newly installed application has upset the apple cart and allow existing preferences to be restored.
By the way - I've noticed that some of these registry keys are prefixed with multiple spaces. Is this "toxic" behaviour from installers, or perhaps a reasonable hack for anyone wishing to manage this?

If you'd like to see this feature implemented, add a 👍 reaction to this post.

https://en.wikipedia.org/wiki/List_of_shell_icon_overlay_identifiers

So part of this is the limit is 15 for overlays.
From wikipedia link:

Shell icon overlays are icons that Microsoft Windows can display on top of folder icons. Currently, there is a total of 15 slots allocated for icon overlays in the Windows Registry, 4 of which are reserved by the operating system. Therefore, even though more than 11 icon overlay handlers can be registered, only the first 11 icon overlays supplied by icon overlay handlers are effectively displayed. The remaining icon overlay handlers are not used.[1]

Yes - that limit is indeed part of the problem. It's a reasonable limit too IMO - at some point you have to choose between which icons/overlays you want to see. One person's enhancement is another person's noise. So even if this were an enhancement request for Windows, we'd come down to offering end users a choice and allowing them to curate their own priorities. What we now have is a "tragedy of the commons" where every application grabs what it can, and unfortunately, the solution is buried in the registry and not obvious even once you are there.

Here is a repository with an existing application to manage the shell extensions: ShellIconOverlayIdentifiers