Federation of Secondary Services

In #78  we started with initial support for secondary services in the aggregator. The following question(s) came up during initial experimentation.
With collections and processes there has been a strong push for harmonization across back-ends, which  allows offering "unified" entities at the level of the aggregator, e.g. a collection SENTINEL2_L2A that is supported by both VITO and SentinelHub, and which will be dispatched by the aggregator based on requested spatial/temporal extent.
Secondary services didn't receive same level of attention, until recently. There is a "configuration" aspect when creating a service, which is largely back-end specific, or at least, there hasn't been an effort to try to harmonize this. This makes it less straightforward to support at the federation/aggregator level.
Question is now: how are we going to handle this (in the short term)?

push for harmonization for secondary service configuration (e.g. in federation extension), like we do for collections and processes, and aim for "unified" secondary services, in the sense that the user does not have to be aware of which upstream back-end is handling the secondary service.
There is no unification  and user is explicitly exposed to different secondary service options on each upstream back-end, each with original configuration options. For example: the service types are prefixed with backend id: sentinelhub-XYZ,  vito-WMTS, ...   This means that the user must understand federation aspects like "if I use this collection (provided by upstream backend X), I can only use this secondary service type X-...".

The first option is probably the ideal option (in long term), but pretty ambitious in terms of harmonization/specification effort.
So at the moment I'm more included towards option 2, which is uglier, but a lot easier to implement, and it allows us to experiment  more with the feature before committing to something under option 1.

@m-mohr  @jdries  @dthiex  any opinions here?

The configuration and the process_parameters are something to be discussed. Ideally, this would be standardized in the Federation contract, but that can only be done once we have a second implementation, right? Are there any planned?

but that can only be done once we have a second implementation, right? Are there any planned?

We had an initial implementation in VITO backend, but it grew defunct due to lack of interest/maintenance. We don't have short term plans to fix that I think, right @jdries ?

And it was a WMTS, not an XYZ as for SH, right? So these would not be "combined"/unified...

WMTS indeed, so for now we can workaround/ignore the problem because there is no conflict yet


weekSelect not Working

Please help!
I've included your weekSelect plugin and used the code from this page.  However, I get these two errors:
Uncaught TypeError: Cannot read property 'add' of undefined
LINE - 1356: self.input.classList.add("flatpickr-input");
As well as this one...
Uncaught TypeError: Cannot read property 'add' of undefined
LINE - 1371: self.input.classList.add("flatpickr-input");
Here's an example:
https://jsfiddle.net/aj6k3f1v/26/

Hello,
The new Flatpickr(...) invocation requires the element to be passed in instead of the string (e.g. "#weekSelect").
I've corrected your fiddle and included both ways of proper invocation.
See https://jsfiddle.net/bjhucots/1/

Thanks.
I've also noticed that in the updated demo https://jsfiddle.net/bjhucots/1/ after selecting a week when you reopen the calendar UI, the week selector reverts to a day selector.  How can I correct this?

@CassySpencer right. The weekSelect css also needs to be included

Feel free to reopen the issue if you encounter any more problems :cake:

Thank you. I'm still confused, my code is now identical to yours but when I re-open my menu a second time, the week selector now longer works and revers to a day selector.
YOUR CODE: https://jsfiddle.net/yn42hr99/3/
MY CODE: https://jsfiddle.net/aj6k3f1v/27/
Also, I see the following in the console, how do I fix it?
"Please swap the format string and the date object parameters in your formatDate option"
I hope you can help.
Thanks
Cassy.

@CassySpencer
The fiddle links to the dev version of flatpickr, and the weekSelect plugin wasn't updated yet to work with it until just now.
What to do - just pull the files from the npm package.
https://jsfiddle.net/44kzse55/1/
About that warning - if its annoying enough (it is), you could download and use the updated weekSelect from here, temporarily.
There will be a new release in 2-3 days and the warning will be gone, so you'll go back to the version from npm again.
:cactus:

Thank you so much.
On Tue, Apr 11, 2017 at 4:50 PM, Gregory<EMAIL_ADDRESS>wrote:

@CassySpencer https://github.com/CassySpencer
The fiddle links to the dev version of flatpickr, and the weekSelect
plugin wasn't updated yet to work with it until just now.
What to do - just pull the files from the npm package.
https://jsfiddle.net/44kzse55/1/
About that warning - if its annoying enough (it is), you could download
and use the updated weekSelect from here
https://github.com/chmln/flatpickr/blob/master/dist/plugins/weekSelect/weekSelect.js,
temporarily.
There will be a new release in 2-3 days and the warning will be gone, so
you'll go back to the version from npm again.
🌵
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chmln/flatpickr/issues/740#issuecomment-293432594,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMX4T3v6fDTgaQkqMopSiSH4DDj5U2fsks5rvBGzgaJpZM4M3iEe
.

Do you know how I can have the week pre-selected when I first open the
calendar UI?
I've tried adding "weekNumber = 14;" to the JS but that doesn't seem to
work.
On Wed, Apr 12, 2017 at 11:20 AM, Cassandra Spencer <
<EMAIL_ADDRESS>wrote:

Thank you so much.
On Tue, Apr 11, 2017 at 4:50 PM, Gregory<EMAIL_ADDRESS>wrote:

@CassySpencer https://github.com/CassySpencer
The fiddle links to the dev version of flatpickr, and the weekSelect
plugin wasn't updated yet to work with it until just now.
What to do - just pull the files from the npm package.
https://jsfiddle.net/44kzse55/1/
About that warning - if its annoying enough (it is), you could download
and use the updated weekSelect from here
https://github.com/chmln/flatpickr/blob/master/dist/plugins/weekSelect/weekSelect.js,
temporarily.
There will be a new release in 2-3 days and the warning will be gone, so
you'll go back to the version from npm again.
🌵
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chmln/flatpickr/issues/740#issuecomment-293432594,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMX4T3v6fDTgaQkqMopSiSH4DDj5U2fsks5rvBGzgaJpZM4M3iEe
.


fatal error: libdevcore/Common.h: No such file or directory

Hello, I am trying to build mainnet-ignition-v0.17.6 from git on aarch64 Arch Linux ARM for raspberrypi 3B+. The system was updated and rebooted before attempting the build.
My configuration flags are:

./configure --disable-wallet --without-gui

The build logs show theses errors:

Making all in src
make[1]: Entering directory '/home/r2d2/qtum/src'
make[2]: Entering directory '/home/r2d2/qtum/src'
CXX      qtumd-bitcoind.o
CXX      libbitcoin_server_a-addrdb.o
CXX      libbitcoin_server_a-addrman.o
CXX      libbitcoin_server_a-bloom.o
CXX      libbitcoin_server_a-blockencodings.o
In file included from ./consensus/params.h:9,
from ./chainparams.h:10,
from bitcoind.cpp:10:
./uint256.h:18:10: fatal error: libdevcore/Common.h: No such file or directory
#include <libdevcore/Common.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:14168: qtumd-bitcoind.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./protocol.h:15,
from ./addrman.h:10,
from addrman.cpp:6:
./uint256.h:18:10: fatal error: libdevcore/Common.h: No such file or directory
#include <libdevcore/Common.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:10052: libbitcoin_server_a-addrman.o] Error 1
In file included from ./primitives/transaction.h:13,
from ./primitives/block.h:9,
from ./blockencodings.h:8,
from blockencodings.cpp:5:
./uint256.h:18:10: fatal error: libdevcore/Common.h: No such file or directory
#include <libdevcore/Common.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:10080: libbitcoin_server_a-blockencodings.o] Error 1
In file included from ./primitives/transaction.h:13,
from bloom.cpp:7:
./uint256.h:18:10: fatal error: libdevcore/Common.h: No such file or directory
#include <libdevcore/Common.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:10066: libbitcoin_server_a-bloom.o] Error 1
In file included from ./protocol.h:15,
from ./addrman.h:10,
from addrdb.cpp:8:
./uint256.h:18:10: fatal error: libdevcore/Common.h: No such file or directory
#include <libdevcore/Common.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:10038: libbitcoin_server_a-addrdb.o] Error 1
make[2]: Leaving directory '/home/r2d2/qtum/src'
make[1]: *** [Makefile:15365: all-recursive] Error 1
make[1]: Leaving directory '/home/r2d2/qtum/src'
make: *** [Makefile:778: all-recursive] Error 1

I did successfully build bitcoin and zcash on this system.
I did find this issue that was resolved but without any details: https://github.com/ethereum/solidity/issues/813
I am attaching the config.log to this post.
config.log

Try cloning with --recursive:
git clone --recursive https://github.com/qtumproject/qtum.git
You can also use the ARM release in releases.


Skip pyarrow on windows

This just skips all pyarrow tests on Windows. Initially I was going to pin pyarrow to 0.15 on windows, but we share an environment file.
xref https://github.com/dask/dask/issues/6093

Merging this, but we'll leave #6093 to restore pyarrow tests on windows.


Fix a typo in blog "Introducing PodTopologySpread"

There is a typo in the image "advanced-usage-1.png" of blog Introducing PodTopologySpread: key: type (in the left bottom yaml snippet) should be corrected to key: env.
Fixes #23884.

/cc @adtac

LGTM

Preview: https://deploy-preview-23886--kubernetes-io-master-staging.netlify.app/blog/2020/05/introducing-podtopologyspread/

/sig scheduling

As it's a one-line fix:
/approve

Thanks @sftim !
@adtac Could you /lgtm?

/lgtm
But I don't have the permission to /lgtm things, as the bot would say right after my comment :)

/lgtm


Change the default k-point path to SeekPath

The default k-point path produced by sumo-kgen is not optimal. I think we should change the default path to the one produced by --seekpath.
Does anyone have thoughts on this?

If we default to seekpath, we might have to think a bit more seriously about dealing with cluttered x-axes (as raised in #26 ). How do we recommend to fit such a plot into a column of a journal article?
Other than that, I have no strong opinion about default paths and would be happy to go along with this.


Cancelable promises should be removed from memory after resolved or rejected.

Description
In useCancelablePromise, currently the resolved or rejected promises are not garbage collected unless cancelAll is called. This PR makes it so that each cancelable promise is removed from the ref once resolved or rejected.
Checklist

[x] The PR branch is set up to merge into dev instead of master.
[x] I haven't introduced breaking changes that would disrupt existing jobs, i.e. backwards compatibility is maintained.
[x] In case I changed the dependencies in any requirements.in I have run pip-compile to update the corresponding requirements.txt.
[x] In case I changed one of the services' models.py I have performed the appropriate database migrations (refer to the DB migration docs).
[x] In case I changed code in the orchest-sdk I followed its release checklist.
[x] In case I changed code in the orchest-cli I followed its release checklist.

LGTM 👍🏻


Version for SuiteScript 2.0?

Very cool!  Do you have any plans to upgrade this for SS2.0?  Or are you aware of any other projects that attempt to do that?

@drernie have you been able to find something suitable for SuiteScript 2.0?
I'm also looking for this.

This is the best I found.
https://github.com/headintheclouddev/typings-suitescript-2.0

@drernie - that's a nice project but doesn't mock - just has ss2 typescript interfaces. I always wonder if it is a good idea to mock netsuite locally or if the code should run in the platform itself-  what do you think?

I agree using the Sandbox is best. It still would be nice to be able to run
some sort of continuous integration on our scripts offline.
On Wed, Dec 6, 2017 at 06:51 Sebastián Gurin<EMAIL_ADDRESS>wrote:

@drernie https://github.com/drernie - that's a nice project but doesn't
mock - just has ss2 typescript interfaces. I always wonder if it is a good
idea to mock netsuite locally or if the code should run in the platform
itself- what do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/suiteplus/nsmockup/issues/16#issuecomment-349662088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABNT41TPCiuhEqUxRKoltQQ2tQQBWZzks5s9qnTgaJpZM4L40_C
.

that would be ideal and if you can isolate some logic from suitescript you can. In the real world I'm only able to do so in no more than 30% of my code because i have suitescripts everywhere. for the rest of the code you need to mock suitescript some how. if you have any idea please shere :)

Anyone is using this library?
We're considering open-sourcing our collection of SS2.0 mocks. It would be great to join our forces 👍


add pss exceptions and psp toggle

Towards https://github.com/giantswarm/giantswarm/issues/28342

I will move PolicyExceptions to another repository, because nearly all of our apps are dependent on this repo including kyverno. So it is not possible to install PolicyException from this repo as kyverno wont be there.


AnalyzerConfiguration: Make properties nullable

Make some propertties nullable to fix merging global and local configuration. See the commit messages for details:
Breaking API change:

The allowDynamicVersions and skipExcluded properties of the AnalyzerConfiguration are now nullable and the default value was changed from false to null.

Replaced by #6608.


Deleting the Milvus object does not delete etcd and minio

I am using the standalone mode using Milvus operator in the non embedded mode. This is creating three containers - etcd, minio and milvus. However when we delete the created Milvus object, it does not delete the other two components and we have to manually delete it. Is this expected? Can it be fixed if not.
Thanks.

Hi @nairan-deshaw , it's working as expected. You may refer to https://github.com/zilliztech/milvus-operator/blob/main/config/samples/milvus_deletion.yaml, to config operator to delete dependencies when delete Milvus Object.

Thanks @haorenfsa, that was helpful - it works now.


Failed building wheel for ninja(PEP517)

I can't install Ninja on  kali linux
Collecting blosc
Using cached blosc-1.9.2.tar.gz (816 kB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 /usr/local/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-roj37yx0/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake ninja
cwd: None
Complete output (48 lines):
Collecting setuptools
Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting scikit-build
Using cached scikit_build-0.11.1-py2.py3-none-any.whl (72 kB)
Collecting cmake
Using cached cmake-3.18.2.post1-py3-none-manylinux2014_aarch64.whl (15.2 MB)
Collecting ninja
Using cached ninja-1.10.0.post2.tar.gz (25 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting packaging
Using cached packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting distro
Using cached distro-1.5.0-py2.py3-none-any.whl (18 kB)
Collecting six
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Building wheels for collected packages: ninja
Building wheel for ninja (PEP 517): started
Building wheel for ninja (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpgwqawgmf
cwd: /tmp/pip-install-u59m6gg9/ninja
Complete output (13 lines):
Traceback (most recent call last):
File "/usr/local/bin/cmake", line 5, in
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
File "/tmp/pip-build-env-c2lmolrm/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 560, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "/tmp/pip-build-env-c2lmolrm/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 95, in init
self.cmake_version = get_cmake_version(self.cmake_executable)
File "/tmp/pip-build-env-c2lmolrm/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 82, in get_cmake_version
"Problem with the CMake installation, aborting build. CMake executable is %s" % cmake_executable)
Traceback (most recent call last):
Problem with the CMake installation, aborting build. CMake executable is cmake
ERROR: Failed building wheel for ninja
Failed to build ninja
ERROR: Could not build wheels for ninja which use PEP 517 and cannot be installed directly
ERROR: Command errored out with exit status 1: /usr/local/bin/python3 /usr/local/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-roj37yx0/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake ninja Check the logs for full command output.
I guess there is also some problem with cmake but I have no idea what to do
I've tried different versions of python, pip but I'm getting the same error
I've spent couple days trying to solve the problem
Any help?

The ninja pip package is actually not by us, please file an issue here: https://github.com/scikit-build/ninja-python-distributions


Build GitHub actions for running osv-scanner

For running osv-scanner

(Moving issue to the right repo)
Thanks for proposing this @abhisek! We're still trying to figure out all the necessary requirements for this action (and don't want to rush it), as we want this to go beyond the scope of just scanning (but also include tracking/remediation).
We're happy to accept contributions to make the necessary plumbing/PR changes for these pieces!

One of the key refactoring change that I would propose is to introduce the following inside PackageDetails and have the parser retain this information.
type PackageDetailSource struct {
   sourceFile, sourceLine string
}

It may not be trivial for XML / JSON files where an external format parser is used :(

Subsequently correlate the vulnerabilityResults with input packages so that the final result can include a source file and line for each vulnerability. This will allow better consumption of results by annotating source lines in PR using Github (or equivalent) Checks API

@abhisek that sounds like a pretty huge complexity jump since you'd have to implement custom parsers for at least JSON, YAML, TOML, and XML.
I'd recommend checking out check-with-osv-detector as prior art - its a straightforward composite action that pulls the binary from GH releases which is more lightweight than using a docker-based action; now that osv-scanner is releasing binaries it should be pretty easy to create an action from that.

Hey, is this still the case? Has anybody implemented the gh-action yet?

Thanks @slonka! We're also looking at building officially workflows to run osv-scanner as part of GH Actions soon. @another-rex is the one owning this :)


sipcreator/copyit - misleading success/fail reports

When SIPcreator is used as a microservice by another script, it will report the copyit event outcome at the end, usually a success/fail.
Copyit should be altered so that this message can be altered, because it might make a user think that a lossless verifiction was a success/failure and so on.

fixed by https://github.com/kieranjol/IFIscripts/commit/699f5ec77c2ec0249c424fd0429b4a5539f51493


add xmlplain package to rosdep

BreafExplanation
This module is a set of utility functions for parsing self-contained XML input into plain list/dict/string types and emitting to/reading from XML or YAML formats.
Compatibility
The module is compatible with python 2.6/2.7 and python 3.x.
https://pypi.org/project/xmlplain/

@cottsay
-pip suffix. and alphabetical order is corrected at https://github.com/ros/rosdistro/pull/26551/commits/002f6b0200181a1538abc7d5c0f2558f42b2dfb9

@cottsay
Thanks for change requests I removed line at https://github.com/ros/rosdistro/pull/26551/commits/478b54cbfd2e915d21b94b687cde6c38237ecc89


No doom reload referenced by doom env

After running doom env enable, the output references the command doom reload which “will now refresh your envvar file”. However, there is no doom reload command in the bin. Maybe you meant something else?
There is doom/reload and doom/reload-env available in the Emacs, but I am not sure which one actually updates the envvar file. Hope this report helps.

Ah, my mistake. It should be doom refresh. I'll correct this shortly.

Thanks! And slightly off-topic, thank you for maintaining this awesome project.

With 4773969 this issue is resolved. Thanks for bringing it to my attention and for the kind words! I'm glad Doom can be useful to you. What use is madness if it can't be shared?


"End embargo early" log has incorrect outdated language [OSF-6341]

Purpose
The formatting of embargo end logs is inconsistent with other logs. This fixes the wording and project link within the log.

Changes

Added words to the log template to match other logs
Removed the trailing period
Change node to registered_from_id (previously registration id)

Side effects
None
Ticket
OSF-6341 "End embargo early" log has incorrect outdated language

There are two places that logs are generated. One is in the project summary page, which is using the widget that you updated. The other is in the my_projects page, which uses a newer widget. Verify that the change is made in that widget as well.

Pass done. Looks good so far, but there's a couple of things still left to do. 🐧

Hold off on writing the migration until Sara has commented on the Jira ticket. It's possible that at least one of the changes is inappropriate.

I've pushed to revert the link, although github is taking a while to update.

Nearly there. The conversation on the ticket wouldn't have made as much sense without some context, so I've been specific. Pass done. 🐧

Pushed and squashed, only change is the trailing period 😄

Perfect. Pass done. 🎉 🐧 🎉

Failing build is unrelated to this change. Good to merge.


How to get index range of subarray?

In the case below, how do I get the range of indices spanned by x.a?
x = (; a = ones(2), b = ones(2)) |> ComponentArray

idx_a = ?? # want 1:2

@jonniedie is that possible? TIA

It's a little clunky, but you can do
only(getaxes(x))[:a].idx

Thanks, that works. Is there a similar way to get the global indices of nested arrays? eg.
ca = (; a = ones(2), b = (; x = 2 * ones(2), y = 3 * ones(2))) |> ComponentArray
idx_b_x = getindices(ca.b.x) # want 3:4


Error: Invalid Value Object

OS: WSL 2 - Ubuntu 22.04
VSCode version:  1.93.1
CodeLLDB version: 1.10.1
Compiler: rustc
Debuggee: x86_64-linux-gnu
While debugging, I ran into the issue that I cannot see the values of vectors as it simply shows that <error: invalid value object> with the following error output message:

Verbose log
[DEBUG codelldb::dap_codec] --> {"command":"evaluate","arguments":{"expression":"boolean","frameId":1001,"context":"watch"},"type":"request","seq":26}
ERROR(Python) 13:47:14 codelldb: Traceback (most recent call last):
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 175, in evaluate
    value = evaluate_in_context(pycode, is_simple_expr, context)
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 320, in evaluate_in_context
    return eval(code, eval_globals, eval_locals)
  File "", line 1, in
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 309, in
    eval_globals['__eval'] = lambda expr: nat_eval(frame, expr)
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 300, in nat_eval
    raise Exception(err.GetCString())
Exception: error: could not find item

Same issue for me!

Also seeing this on RustRover, seems https://github.com/rust-lang/rust/pull/126793 changed lldb_providers.py , I'll see if I can submit an issue..

Because Rust have changed the implementation of Vec by using RawVec, which is essentially an u8 array, not a T array. Codelldb cannot't currently infer the type T by it's customized rust formmater. It still doesn't work even though I use the formatter provided by lldb_providers.py
class StdVecSyntheticProvider:
    def __init__(self, valobj, dict):
        self.valobj = valobj
        self.update()

    def num_children(self):
        return self.length

    def get_child_index(self, name):
        index = name.lstrip('[').rstrip(']')
        if index.isdigit():
            return int(index)
        else:
            return -1

    def get_child_at_index(self, index):
        start = self.data_ptr.GetValueAsUnsigned()
        address = start + index * self.element_type_size
        element = self.data_ptr.CreateValueFromAddress("[%s]" % index, address, self.element_type)
        return element

    def update(self):
        self.length = self.valobj.GetChildMemberWithName("len").GetValueAsUnsigned()
        self.buf = self.valobj.GetChildMemberWithName("buf").GetChildMemberWithName("inner")

        self.data_ptr = unwrap_unique_or_non_null(self.buf.GetChildMemberWithName("ptr"))

        self.element_type = self.valobj.GetType().GetTemplateArgumentType(0)
        self.element_type_size = self.element_type.GetByteSize()

    def has_children(self):
        return True

Finally I found that the lldb with version 17.x provided by codelldb cannot infer the element_type:
self.element_type = self.valobj.GetType().GetTemplateArgumentType(0)

I guess It's can be solved by bumping lldb version to 18.x. I can't do it by myself because I don't know how to adapt this in codelldb. Oops, codelldb hasn't been updated in a long time

Also seeing this on RustRover, seems rust-lang/rust#126793 changed lldb_providers.py , I'll see if I can submit an issue..

codelldb doesn't need to be updated often if it's working (lldb doesn't really update), apart from major updates like these :-)

Any progress on this (or workarounds)? :)

Workaround: when compiling specify +nightly-2024-08-01 instead of +nightly

As of v1.11, CodeLLDB will just use formatters shipped with rustc.


How to build&run avs-device-sdk Sample app on ARM32 platform

Hi all:
I follow the "Ubuntu Linux Quick Start Guide"(https://github.com/alexa/avs-device-sdk/wiki/Ubuntu-Linux-Quick-Start-Guide),  build and run the sample app successfully,
but my purpose is to build and run the sample app on the ARM32(armv71) platform，who could teach me how to build and run on the ARM32(armv71) platform?
PS:My GNU/Linux platform is armv71
Thanks!!!
Briefly summarize your issue:
I want to run the sample on the arm32 platform
What is the expected behavior?
I want to run the sample on the arm32 platform
What version of the AVS Device SDK are you using?
  <1.7.0>

Tell us what hardware you're using:

[x] Other
tell us more: ARM32 platform

Tell us about your OS (Type & version):

[x] Linux

We can help with specific questions that you have here!

Hi sir:
I builded the sample app successfully, but when i run the sample app on the ARM32(armv71) platform,an error has occurred:
"-sh: ./SampleApp: cannot execute binary file"
please help me!
thanks

Hi sir:
I also want to konw how to cross complie Sample app for ARM32？
thanks

Hi all:
Would you give me some suggest about how to cross compile on the embedded system(ARM32)?
thanks

You can't build an executable for one architecture and expect it to work on a different platform.  That is likely the error that you have hit.  How did you build the SampleApp.
I suggest reading the documentation for the compiler that you wish to use to cross compile.  Is there a specific problem that you have (i.e. what have you tried)?

HI @bandkenamazoncom :
Do you have some documentation for cross compile Sample app？
thanks

hi @cr1108x
i have install cross compiler about arm-linux-gcc , but don't know how to replace of gcc . so build code error . can you share same experience for me.
thanks!

Hi @cr1108x, @xuqifu,
We don' have any general guidelines for cross-compiling, as this is generally complex to set up correctly, and the exact details tend to vary widely.  You might want to start by reading some guides on cross-compiling with cmake.  Here's one that discusses it at length: https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling
Ken

Hi @cr1108x, @xuqifu,
It appears that @kencecka has answered your question, so I am closing this issue. If you have other questions, please open a new issue. If you think that this issue should not have been closed, please feel free to re-open it and clarify what need to be addressed.
Thank you,
-SWH


Sending Frames from Unity to Python

Hello,
I have an object classification model on Python which is trained using Keras. I want to get frames from Unity and analyze the frames on Python. Is it possible? If it is, can you explain?

This is not related to the project. You need to find out how to read images in Unity and convert it into a bytes array so that it can be transferred to python.

As you can see in the screenshots from I produce byte array and save it as PNG. This shows that I have a bytes array of the corresponding frame. Now as you can see I need to send this array to Python and decode the bytes array into an image.

I changed the labeled part from your code but it did not work. Can you please help me with that? Thank you in advance.

To solve this problem, it's mainly about your debugging skills. Instead of sending the image array, try to create a simple static byte array and send it. It will make you know whether your image array is the problem or the SendFrame function is the problem. Narrowing down problems like this will make you identify the bug quicker. Because now for you the problem is very vague as you only know that "it does not work", you don't even know what exactly does not work.

I tried everything to stream Unity's camera frames to Python but could not figure out. Can you add this functionality to your repository? I'd be glad if you help me on that subject.
Thank you!

Did you try what I suggested about sending a static byte array yet? If you haven't or don't understand, you probably need a programming course or book. You need to hone your debugging skills.
This repository is supposed to be minimal so that it's approachable by anyone. I don't want to put an unnecessary learning curve for people.

I handled the problem. Now I am able to send images from Unity to Python. Thanks 👍


Add support for Xtensa LX7

The ESP32-S2 and ESP32-S3 are based on Xtensa LX7 processors. In order to build up the bare-metal ecosystem for these devices we will obviously need runtime support.
There appears to be a large amount of overlap between the LX6 and LX7 processors in this regard, so we may need to refactor things a bit and change how we're gating features.

In esp-idf, they use pre processor definitions from the xtensa-overlays repo, maybe we could do something similiar.
Short term, if the current lx6 feature just works, lets reuse that until we have a better plan going forward.

Upon further investigation, it seems these issues only apply to the ESP32-S2.
Using the unify-xtensa-asm branch I was able to build for the ESP32 and ESP32-S3, but when building for the ESP-S2 I see the aforementioned error output. Note that in order to do this I had to first add the #![allow(named_asm_labels)] attribute to lib.rs in xtensa-lx-rt.

Looking a bit further into my approach in #27, there are details we just can't find out from the Rust compiler (technically LLVM) currently. There is also the general xtensa problem that everything can be custom, so there is no standard layout for the vector table etc.
I think a new approach, consuming core-isa.h header files from espressif/xtensa-overlays is a more viable option so I'll look into that.


Add MessageImportance option to Touch Task

Hello, small feature request.
Touch task has no control of the importance level of the messages.  It is always set to "MessageImportance.Normal".  Please consider adding a property to change it.
msbuild/src/XMakeTasks/Touch.cs
Log.LogMessageFromResources(MessageImportance.Normal, "Touch.CreatingFile", file, "AlwaysCreate");
og.LogMessageFromResources(MessageImportance.Normal, "Touch.Touching", file);
Consider StandardOutputImportance property of Microsoft.Build.Tasks.ToolTaskExtension as an example.

Team triage: this hasn't gotten any traction over the last 3 years so closing as won't-fix.


An error occurred during installation of VirtualBox Guest Additions

Hello Community
Since #267 was closed; I want to (re-) open a -nother/-new one on the same issue but wit another relase version. I am using actually VBox 5.2.22 and its VboxGuestAdditions in the same version.
I already tried the follwoing hint from #267:
vagrant up ; vagrant vbguest --do install --no-cleanup ; vagrant ssh -c 'yes | sudo /mnt/VBoxLinuxAdditions.run'
but ran in tot the same issue as desrcribed there.
Following the messages on monitor:
--- snip ---
.
.
.
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: modprobe vboxsf failed
An error occurred during installation of VirtualBox Guest Additions 5.2.22. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
Redirecting to /bin/systemctl start  vboxadd.service
Redirecting to /bin/systemctl start  vboxadd-service.service
Job for vboxadd-service.service failed because the control process exited with error code. See "systemctl status vboxadd-service.service" and "journalctl -xe" for details.
VM must be created before running this command. Run vagrant up first.
INFO dcos-vagrant: Validating Plugins...
INFO dcos-vagrant: Validating User Config...
INFO dcos-vagrant: Validating Installer Checksum...
INFO dcos-vagrant: Using DC/OS Installer: installers/dcos/dcos_generate_config-1.11.0.sh
INFO dcos-vagrant: Using DC/OS Config: etc/config-1.11.0.yaml
INFO dcos-vagrant: Validating Machine Config...
INFO dcos-vagrant: Validating Command...
INFO dcos-vagrant: Configuring VirtualBox Host-Only Network...
This command requires a specific VM name to target in a multi-VM environment.
vagrant@StretcH:~/dcos-vagrant$
-- snap ---
So, how do I use the solution of #267 in a multi-VM environment with vagrant up to get more that one VM started AND updated with VboxGuestAdditions module, esp. the very necessary vboxsf module?
BTW, the mentioned VM is already up and runnning done by vagrant up.
Thank you all for your help.
Kind regards,
Roger

+1

This happens every time I halt vagrant with VirtualBox 6.1.4.  Very annoying.

vagrant reload works every time i get this error

No luck with me. In my case, I had to specify version of vbguest, the latest 0.28 seems buggy and I use 0.21, now it worked!
vagrant plugin uninstall vagrant-vbguest
vagrant plugin install vagrant-vbguest --plugin-version 0.21

you can use the newest plugin. Just make sure you this this thing:
https://github.com/dotless-de/vagrant-vbguest
Vagrant.configure("2") do |config|   config.vm.define "my_cent_os_box" do |c|     c.box = "centos/8"     c.vbguest.installer_options = { allow_kernel_upgrade: true }   end end

you can use the newest plugin. Just make sure you this this thing:
https://github.com/dotless-de/vagrant-vbguest
Vagrant.configure("2") do |config|
  config.vm.define "my_cent_os_box" do |c|
    c.box = "centos/8"
    c.vbguest.installer_options = { allow_kernel_upgrade: true }
  end
end

That doesn't work unfortunately. Issue here: https://github.com/dotless-de/vagrant-vbguest/issues/316


Add Error Integration Parameter to Pipe Config

Is your feature request related to a problem? Please describe.
I would like to be able to manage my error integrations within my Snowpipe configs.
Describe the solution you'd like
Add an additional input to the pipe config like so:

error_integration (str) - name of notification integration

Describe alternatives you've considered
Currently having to manually alter the pipe after SnowDDL creates the pipe so I can set the error integration for my pipes.
Additional context
N/A

@christopher-leigh , done in 0.22.1.
Also, I've added tests for pipes and updated documentation page.

Couple of things:

Just checked out the doc site and noticed it hasn't updated yet, is that intentional?
One nuance I ran into when setting up error notifications is that I had to grant the schema owner usage on the notification integration. Otherwise the notifications were not generating and publishing to my SNS topic. I found this step in this troubleshooting guide. Took a glance through the commit history and don't see this usage grant taking place, but I very likely could just be missing something!

@christopher-leigh , doc page updates seems to be delayed due to some issues with GitBook (SaaS which hosts documentation). It looks good right now.
Regarding to USAGE privilege on notification integration, currently it is supposed to be granted to SnowDDL admin role. This method works well for other object types: https://docs.snowddl.com/guides/other/integrations
If it is not good enough for pipes, I'll consider removing GRANT OWNERSHIP ON FUTURE PIPES or automatic re-granting of USAGE to schema owners roles.
The first approach is straightforward. All pipes will be owned directly by SnowDDL admin role, similar to stages. But schema owners will no longer be able to pause pipes.
The main problem with the second approach is related to human users with access to schema owner roles. If human users automatically get USAGE on the whole notification integration, they might be able to send any messages they want.

Gotcha -- that makes sense! I also see it updated in the documentation now. I will let you know if we have any issues or feedback with the current implementation. I am working deploying it to our environment now!

@chris-leigh-dignifi , so .. did it work with current approach to notification integration? Are pipes functioning correctly?
Thank you.

@chris-leigh-dignifi , ok, one more case of Snowflake weirdness. Not a problem.
In theory, we can create an automated solution:

For each schema, identify all tasks and pipes with "error_integration" parameter.
Remove duplicates, get list of unique notification integrations.
Grant usage on unique notification integrations to schema owner role.

So everything will be handled automatically.

What I really dislike about Snowflake logic here is how lack of grant causes a "silent" failure. There are no errors during creation of pipe or task object. Things just do not work, and you may not notice it for a long time.
I'll consider raising a support case to add an explicit check and explicit error message at least during object creation. A lot of people may fall into this trap.

On a second thought ... explicit is better than implicit, and Snowflake keeps adding new integration types all the time.
I think it might be better to add an explicit parameter owner_integration_usage (in addition to existing owner_schema_read, owner_schema_write).
All integrations seems to be sharing the same namespace and the same approach to "USAGE" privilege, so there is no need to specify each integration type separately. At least for now.

@christopher-leigh , I've pushed the update. Version 0.23.1.
Here is an example of params.yaml file which should be created in schema config directory to grant USAGE.
owner_integration_usage:
  - test_notification_integration

I'll update the documentation soon.

Awesome. I'll wait until the documentation is updated and then will test this out!

Closing this issue. Error integration was implemented for pipes and should work as expected.


OldWaterMarkValue and NewWaterMarkValue

OldWaterMarkValue and NewWaterMarkValue
how do these work and what string values should be assigned

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

ID: b7ee5166-ff40-f4ed-ce07-5312f935e388
Version Independent ID: 68f01b43-e3b2-003b-24cb-446a08aa0c1b
Content: Create event-based triggers in Azure Data Factory
Content Source: articles/data-factory/how-to-create-event-trigger.md
Service: data-factory
GitHub Login: @djpmsft
Microsoft Alias: daperlov

Hi there,
Could you clarify your question? What are you referring to with 'OldWaterMarkValue' and 'NewWaterMarkValue'?
Thanks,
Daniel

Hi Daniel,
Thanks for the followup, which made me look again and check with the pipeline developer.
The trigger used by this event also parameters and values for these parameters are requested after the Data Preview step.
I will close this comment as it is all on us.
thanks Again

@djpmsft Thanks for the quick response. :+1:


Handle pagination for Sofar API

When requesting data between two dates with getSpotterData, we should be able to paginate through the results if we hit the data limit.

Probably not needed anymore now that we load the data into our time series table regularly


RCTFont+FA5.m  not found

error: Build input file cannot be found
node_modules/react-native-vector-icons/RNVectorIconsManager/RCTFont+FA5.m
I'll provide as much info as I have received.

the same problem with ^6.4.2 on ios

I was unable to find any references to these files when grepping.
In the end I had to copy these files from some previous installation's node_modules.
Not really a solution, but it works for now.
RCTFont+FA5.h:
`
//
//  RCTFont+FA5.h
//  RNVectorIcons
//
//  Created by Hampus Tågerud on 2018-08-04.
//  Copyright © 2018 Joel Arvidsson. All rights reserved.
//
#if __has_include(<React/RCTFont.h>)
#import <React/RCTFont.h>
#else // Compatibility for RN version < 0.40
#import "RCTFont.h"
#endif
@interface RCTFont (FA5)

(UIFont *)FA5_updateFont:(UIFont *)font
withFamily:(NSString *)family
size:(NSNumber *)size
weight:(NSString *)weight
style:(NSString *)style
variant:(NSArray<NSString *> *)variant
scaleMultiplier:(CGFloat)scaleMultiplier;

@end
`
RCTFont+FA5.m:
`
//
//  RCTFont+FA5.m
//  RNVectorIcons
//
//  Created by Hampus Tågerud on 2018-08-04.
//  Copyright © 2018 Joel Arvidsson. All rights reserved.
//
#import "RCTFont+FA5.h"
#import <objc/runtime.h>
@implementation RCTFont (FA5)

(void)load
{
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
Class class = object_getClass((id)self);
SEL originalSelector = @selector(updateFont:withFamily:size:weight:style:variant:scaleMultiplier:);
SEL swizzledSelector = @selector(FA5_updateFont:withFamily:size:weight:style:variant:scaleMultiplier:);
Method originalMethod = class_getClassMethod(class, originalSelector);
Method swizzledMethod = class_getClassMethod(class, swizzledSelector);
BOOL didAddMethod = class_addMethod(class,
originalSelector,
method_getImplementation(swizzledMethod),
method_getTypeEncoding(swizzledMethod));
  if (didAddMethod) {
      class_replaceMethod(class,
                          swizzledSelector,
                          method_getImplementation(originalMethod),
                          method_getTypeEncoding(originalMethod));
  } else {
      method_exchangeImplementations(originalMethod, swizzledMethod);
  }

});
}

(UIFont *)FA5_updateFont:(UIFont *)font
withFamily:(NSString *)family
size:(NSNumber *)size
weight:(NSString *)weight
style:(NSString *)style
variant:(NSArray<NSString *> *)variant
scaleMultiplier:(CGFloat)scaleMultiplier
{
if ([family hasPrefix:@"Font Awesome 5"] &&
([family hasSuffix:@"Pro"] || [family hasSuffix:@"Free"])) {
NSString *type = @"Regular";
if ([weight isEqualToString:@"100"])
type = @"Light";
else if ([weight isEqualToString:@"700"])
type = @"Solid";
CGFloat fontSize = 14;
fontSize = [RCTConvert CGFloat:size] ?: fontSize;
for (NSString *fontName in [UIFont fontNamesForFamilyName:family]) {
if ([fontName hasSuffix:type]) {
return [UIFont fontWithName:fontName size:fontSize];
}
}
}
return [self FA5_updateFont:font withFamily:family
size:size weight:weight
style:style variant:variant
scaleMultiplier:scaleMultiplier];
}

@end
`

As a workaround for this I set the Always Search User Paths (Deprecated) in the RNVectorIcons Build Settings within Xcode to Yes instead of what it was...No. After doing this It finds RCTFont and all is well. @oblador Is this a suitable fix...to just update your Xcode project?

The files are physically not on my laptop when doing an install. They’re not in the git repo either.
So the package is broken.

On 14 May 2019, at 19:22, Kristofer Pelchat<EMAIL_ADDRESS>wrote:
As a workaround for this I set the Always Search User Paths (Deprecated) in the RNVectorIcons Build Settings within Xcode to Yes instead of what it was...No. After doing this It finds RCTFont and all is well. @oblador Is this a suitable fix...to just update your Xcode project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This commit removes the files
https://github.com/oblador/react-native-vector-icons/commit/aa7f1aa87c0811252eb0553fccd762d7c92b504d#diff-fa6d428fe6abb99802c95434c444da53
But somehow they're still referenced somewhere, althought I couldn't find where.

Not sure if it helps, but I was only running into this issue when using react-native run-ios, everything worked fine when building from xcode.

@jrz @danielzzz @kristoferpelchat These files have been removed and are not referenced anywhere anymore, you should try cleaning your build. I have tried building with a fresh project and I didn't encounter any issues 🙂

same isssue here. Any news?

I'm hitting this. Ive tried deleting derived data, cleaning the build and deleting/installing node modules but that error still persists. Downgrading to 6.3.0 has removed the error.

According to @wdhays it only happens inside Xcode, not when running run-ios in the terminal. Is this something someone else can confirm? I still think that there is some cache Xcode uses that is requesting these files even though they are removed.

@hampustagerud Yes, i can confirm. run-ios is working but build fails on Xcode.

This confirms that it's probably some Xcode cache, unfortunately I don't really know what to do except cleaning the build and deleting the derived data. I found this answer which might help but otherwise I don't know 😕

Thanks! Yes, a complete removal of all node modules and reinstallation made the project run in Xcode. :)

-> deleting DerivedData
-> rm -rf ./node-modules and npm i
-> cleaning build folder
-> deleting also the build folder directly from VisualStudio
did the trick ! 👍

In my case, Pod cache was still pointing to the old RNVI with a RCTFont+FA5.m reference.
Removing Pods/ directory and pod install again did the job.

As a workaround (perhaps a solution) for this I set the Always Search User Paths (Deprecated) in the RNVectorIcons Build Settings within Xcode to Yes instead of what it was...No. After doing this It finds RCTFont and all is well. @oblador Is this a suitable fix...to just update your Xcode project?
I actually have the fix locally if you want to make me a contributor...happy to PR it for you.

@kristoferpelchat This worked for me!

For some reason, it was set to Yes. Simply setting it to No solved this issue for me.

@MayoudP Thanks!!! Work as a charm!


Add modal that displays the status upon completing the challange

Something like :
                      Congrats🎉
             You solved it in 5 moves but
                could do it in 3 moves
                          🌟🌟

or :
                        Congrats🎉
                You solved it perfectly
                         🌟🌟🌟

that'll pop up upon completing potentially with buttons to conintue/menu

Would love to be assigned

@itaim18 what's your opinion on what is currently implemented (with SweetAlert)? Do you have something fancier in mind?

It looks great, I am wondering if you want people to do it in minimal stages.
Let's say if you have a challenge that could be solved in 3 steps, maybe give the user 3 stars if he completes it in 3 steps, 2 stars if he's doing it in 4 steps and 1 star if he's doing it in up to 6 steps, with further steps than that he loses with a message like: too many steps, you can do much better.
Obviously this is designed for multi-levels game, which I hope you're getting there :)

Ooh, sounds great!
I've actually had a very similar idea. I have put it in a separate issue, #55.
When it is implemented, a custom modal for it would be perfect.


Added updates to satisfy project specification

In project specification has this requirement:

The develop branch shall trigger ci_flow,
The release branch shall trigger a workflow named cicd_flow

added the config to satisfy the above 2 requirement, tested ok on my end.

ok


Add bracket-push

added bracket-push exercise

Thank you @leeqleeq, @leetwinski!
@exercism/clojure if you have a moment to review the code, that would be great.

I've added a few comments/questions inline, but other than that this looks great. Thanks.

@yurrriq , added sets for opening/closing brackets.

Thanks. LGTM. I think false is maybe more clear than bool anyway. Merging.


added .gitattributes

This can reduce files download when install via composer

Hi, I just removed the comment.
I think the user can read the doc online, sometimes, I;;m using a server that had limit storage, so this can help some people like me.
Generally, some big project do not ignore the README.md as i know.

Hm, it makes sense.
Thank you for your contribution to this project!

I released a new version v0.3.1 with these changes.

Thanks for your work. :+1:


[1.3.280] Confusing Validation error stating I'm trying to use 1.3 features but my API version is 1.3.0

Updated to 1.3.280 and now getting this validation error:
Validation Error: [ VUID-VkDeviceCreateInfo-pNext-pNext ] Object 0: handle = 0x13da30e00, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x901f59ec | vkCreateDevice(): pCreateInfo->pNext includes a pointer to a VkStructureType (VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES) which was added in VK_API_VERSION_1_3 but the current effective API version is 1.3.0 (0x00403000). The Vulkan spec states: Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid struct for extending VkDeviceCreateInfo

That's probably because MoltenVK doesn't support Vulkan 1.3 yet. We're still working on that; see #1930.
Perhaps the better question is: why weren't you getting a validation error before?
It has also occurred to me that the validation layer's message could probably be improved by showing the API version supported by the ICD.

I get the same error:
ERROR @[VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT]: Validation Error: [ VUID-VkDeviceCreateInfo-pNext-pNext ] Object 0: handle = 0x212ad432b70, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x901f59ec | vkCreateDevice(): pCreateInfo->pNext includes a pointer to a VkStructureType (VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES) which was added in VK_API_VERSION_1_3 but the current effective API version is 1.3.0 (0x00403000). The Vulkan spec states: Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid struct for extending VkDeviceCreateInfo (https://vulkan.lunarg.com/doc/view/1.3.280.0/windows/1.3-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pNext-pNext)
OS: Windows 10 64 bit
Created Vulkan instance with VK_MAKE_API_VERSION(0, 1, 3, 0)
Only happens when using VkPhysicalDeviceVulkan13Features

Edit: Sorry, I just noticed that this is actually the MoltenVK repo. Should we open an issue in a vulkan repo?

Yes. For Vulkan SDK Validation errors, it's best to post to the Vulkan SDK issues list.

For Vulkan SDK Validation errors, it's best to post to the Vulkan SDK issues list.

Actually, if you have a validation error, it is best to submit to the validation layer repository. The SDK issue list is for SDK packaging issues.

It seems like this issue can be safely closed, right?


TuneIn Radio Playback

Hello,
I ask to play a TuneIn radio and I get the reply -
Recording Finished.
[7113ec40] ts demux error: cannot peek
Ready to Record.
[6bd02eb0] ts demux error: cannot peek
[70bbd260] ts demux error: cannot peek
and then it will keep printing that to the terminal, Other features work and I can hear Alexa just fine.
My USB microphone has a built in sound jack that could cause it? How do I disable the sound jack on the microphone completely.

This project is now deprecated in favor of the new AlexaPi (https://github.com/alexa-pi/AlexaPi) which has all the features of this project and much more, such as:

support for a wide range of devices and platforms (Raspberry Pi, CHIP, Orange Pi, desktops, Magic Mirror and others)
voice activation (great PocketSphinx support and snowboy support soon to be released)
much more robust installation and configuration
better security
Arch Linux support
awesome documentation
and much, much more! You get it - it's just awesome.

Please switch over to the new project and if your issue persists there, file an issue in the new repo's issue tracker. Thank you.


webpack 2 beta: problem configuring postcss-loader

This issue is similar to #106: I can't compile my postcss in the current webpack 2 beta. Here are the relevant files:

broken.webpack.config.js
relevant.devDependiences.package.json
STDERR output
an abbreviated application.css

At the time I'm writing, my npm packages are up-to-date.
As you can see from stderr, I do not have a postcss.config.js currently. I created one specifically for webpack 2; however, I couldn't get it to work, and, furthermore, #106 gave me the impression that I could configure postcss from within webpack.config.js. I tried two different configurations of postcss-loader, but neither worked.
If you could help me to solve this problem, I'd be happy to write a PR with code changes or additional documentation if it would help the project.
Thank you for your time.

@jfmercer
broken.webpack.config.js
{
          loader: 'postcss-loader',
          options: {
            // sourceMap: true,
            postcss: function() {
              return {
                plugins: [
                  require('postcss-import'),
                  require('css-mqpacker'),
                  require('lost'),
                  require('postcss-calc'),
                  require('postcss-clean'),
                  require('postcss-discard-comments'),
                  require('postcss-extend'),
                  require('postcss-mixins'),
                  require('postcss-modular-scale'),
                  require('postcss-nested'),
                  require('postcss-utilities')
                ]
              };
            }
          }
}

webpack.config.js

{
          loader: 'postcss-loader',
          options: {
            // sourceMap: true,
            // postcss property is unnecessary here, it's for webpack =< v1 only :)
                plugins: (context) => [
                  require('postcss-import'),
                  require('css-mqpacker'),
                  require('lost'),
                  require('postcss-calc'),
                  require('postcss-clean'),
                  require('postcss-discard-comments'),
                  require('postcss-extend'),
                  require('postcss-mixins'),
                  require('postcss-modular-scale'),
                  require('postcss-nested'),
                  require('postcss-utilities')
                ]
            }
          }
}

@michael-ciniawsky
Thanks for the swift reply. I changed the loader config exactly as suggested, but still get the exact same error output. I also replaced the fat arrow with a good ole' fashioned anonymous function (which should be identical to the fat arrow), but it still didn't work.
          options: {
            // sourceMap: true,
            plugins: function(ctx) {
              return [
                // requires
              ];
            }

Any ideas? I don't know why it still says PostCSS Config could not be loaded. Please check your PostCSS Config. when PostCSS is configured in the options object.

If is just for the warning this is buggy atm, normally if options/plugins are set in webpack.config.js  this warning shouldn't pop up, feel free to ignore it as long as you get transpiled CSS output with your config :). The warning is entirely related to postcss.config.js and has nothing to do with your inline config in  webpack.config.js. When you run webpack-dev-server does it load styles as expected ?

@michael-ciniawsky Both webpack-dev-server and webpack are building & working as expected. I still see a lot of this in the output, but the postcss-loader now works:
60% building modules 601/717 modules 116 active ...de_modules/object-keys/isArguments.jsPostCSS Config could not be loaded. Please check your PostCSS Config.

Many thanks for your help. Should I add some documentation to this project regarding the issue I encountered?

Many thanks for your help

@jfmercer 👍  np, welcome

I still see a lot of this in the output, but the postcss-loader now works
Many thanks for your help. Should I add some documentation to this project regarding the issue I encountered?

Nope thx, I'm aware of this weird bug PostCSS Config could not be loaded. Please check your PostCSS Config., and try to fix it soon ( need to do a bug fix release @postcss-load-config first :) ) and then investigate where/why the check for query (webpack.config.js) ? parseOptions(query) : loadConfig() doesn't work as expected and shows the postcss-load-config warning unnecessarily.

@michael-ciniawsky
I followed you suggestion, but I got an Error like this:
Error: options/query cannot be used with loader
Any idea?


svn "view history" and config errors

I can view svn repo in browser,but when I click "view history" button, I get some error message--"The log script must be configured with a root URL", what's wrong?

And another issue is in http://ip/svnadmin

When I click "save configuration" button,I got some error messages:
Error: flock(): Argument #1 ($stream) must be of type resource, bool given
#0 /opt/svnadmin/include/ifcorelib/IF_IniFile.func.php(108): flock()
#1 /opt/svnadmin/include/ifcorelib/IF_IniFile.class.php(62): if_write_ini_file()
#2 /opt/svnadmin/settings.php(130): IF_IniFile->saveToFile()
#3 {main}

Thanks for reporting.
1
The broken log view seems to be a missing configuration in the repos-style XSLT. I can later on try to fix that.
You may use websvn for the moment.
2
Well, the if.svnadmin wasn't developed for PHP8.1, looks like I missed something while porting.
Anyhow, the configuration for the container is expected to be fixed/ready. Thus there is no urgent need to use this dialog. Correct me if I am wrong.

I put a fix for the missing histrory functionality. Unfortunately the underlying script doesn't support svnauthz. Thus I introduced SVN_SERVER_REPOS_STYLE_AUTH. See also:
https://github.com/userid0x0/svn-docker/commit/82413d6564e0ac44e1190edc3c54707bf9f1b274
.

Hi,
please do another docker pull the v3.17 & latest tags contain the fixes.
Please note the new SVN_SERVER_REPOS_STYLE_AUTH environment variable.


Create function preview markdown

Create function preview():

function preview() {
    var markdownText = document.getElementById('textarea').value;
    document.getElementById('preview').innerHTML = marked.parse(markdownText);
}

I noticed there was a problem with responsive of web when zoom in or zoom out and preview. We need more time to fix it.
When the interface is better, we will perform the Live preview function instead of having to press preview every time. Thanks for reading this far xD

Thanks a lot I’m newer to web development and really development in general so the help is really appreciated.

The fact that I am also a newbie xD I have learned many new things since trying to contribute to your project. If you pay attention to my repositories, I really haven't had any specific projects yet. ;-;

The fact that I am also a newbie xD I have learned many new things since trying to contribute to your project. If you pay attention to my repositories, I really haven't had any specific projects yet. ;-;

Ha, yeah I’ve also learned a whole lot from this too.   It’s cool what you can learn from stuff like this lol.  The way I find ideas for projects is I just constantly look for simple things that I can automate while coding.  I’ve sure learned plenty over the couple months I have been active.

The fact that I am also a newbie xD I have learned many new things since trying to contribute to your project. If you pay attention to my repositories, I really haven't had any specific projects yet. ;-;

Ha, yeah I’ve also learned a whole lot from this too.   It’s cool what you can learn from stuff like this lol.  The way I find ideas for projects is I just constantly look for simple things that I can automate while coding.  I’ve sure learned plenty over the couple months I have been active.
The biggest reason I stopped seeing your project is because I can understand a little bit lol.  Really looking forward to your next projects.  Or maybe it's a joint project between you and me.  Who knows, XD In real life, it's a pity that I don't have anyone to study with ;-; Sometimes it makes me so lazy 🥲 It's fun to chat with you today xD I'm going to bed first.  It's already 2 a.m. on April 2 where I am 🤣

The fact that I am also a newbie xD I have learned many new things since trying to contribute to your project. If you pay attention to my repositories, I really haven't had any specific projects yet. ;-;

Ha, yeah I’ve also learned a whole lot from this too.   It’s cool what you can learn from stuff like this lol.  The way I find ideas for projects is I just constantly look for simple things that I can automate while coding.  I’ve sure learned plenty over the couple months I have been active.

The biggest reason I stopped seeing your project is because I can understand a little bit lol. Really looking forward to your next projects. Or maybe it's a joint project between you and me. Who knows, XD In real life, it's a pity that I don't have anyone to study with ;-; Sometimes it makes me so lazy 🥲 It's fun to chat with you today xD I'm going to bed first. It's already 2 a.m. on April 2 where I am 🤣

I’m in similar conditions only midday 🤣.    Anyways I’d be happy to help with a collaboration as far as what I can understand about it :).  Fun chat have a nice one!


Bug: EV index oracle is stale on ARB sepolia

Issue:
There was an outage on ARB sepolia today, but the chain already recovered, maybe your bot needs some attention
Notes:
TSN does not have coverage over the existing Oracle.
ARB sepolia is a good thing too - as not mainnet.
It may be wise to restart the Oracle Node we're operating.
Re TSN, an active issue aims to allow TSN team to adopt responsibility for Oracles:
https://github.com/truflation/tsn/issues/547
@georgeciubotaru - What's your take on this?

Hey @rsoury So did we fix the issue / is the issue present?

@rsoury
I already tried multiple measures regarding my knowledge, but I'm unfamiliar with it. I will send you an invitation to the server, and I'm happy to pass it on to you as your contribution and experience can be more valuable here.
@Jarryd-pretorius Can you arrange to invite Ryan to Digital Ocean?
Note:
The servers responsible for Oracle data are nft and adapter, feel free to use Digital Ocean CLI to access the servers and create a user for you.
Thank you!

@Jarryd-pretorius I also think we should move this issue to the corresponding repo, how about https://github.com/truflation/chainlink-config?

@rsoury I have sent you an invite to<EMAIL_ADDRESS>for digital ocean
@georgeciubotaru I will move this to the chainlink repo as you suggested


Support custom torch device

Hi,
Thanks for the package. From the docs, it is possibel to override gpu by setting device to something else. However, in the code, it seems the device is limited to use only cuda. Please see the relevant lines
https://github.com/MouseLand/cellpose/blob/62d0e0460cdce777b0b557bfcdf4c0e4e5627f9d/cellpose/core.py#L95-#L100
I would like to set this to something else e.g. torch.device('mps') to use a GPU on an M1 chip.
Thank you,
NelsonGon

You can pass any device directly into the CellposeModel or Cellpose class.
I've added an option to pass a string on the command line instead of only a number for the device type with --gpu_device mps
please try it with pip install git+https://github.com/mouseland/cellpose
it check that it can create the device but otherwise will not check if it's working


how to replace hashstring id  to username in audio +video +chat+file sharing?

how to change userid "hashstring" with user name and determine which messages in chat belongs to

@moreiraandre can do that with:
connection.changeUserId(newuserid, callback)

@mostafahassan097 I think you should check demos/call-by-username.html demo. Or maybe try this:
connection.open('user-name', function(isSessionOpened, username, error) {
     if(!error) {
        var link_to_share  = location.href + '#' + username;
     }
});

i.e. pass username over open method share as HASH-string. Now participants must read from HASH-string and join accordingly. E..g
var username = location.hash.replace('#', '');
connection.join(username, function(isSessionJoined, username, error) {
    if(!error) {
          alert('UserName exist. Trying to join him...');
    }
});


v3 changelog?

I see v3.0.0 was published on Nov 11, 2020, but I'm curious what the breaking changes are? I don't see a changelog. There are no releases or v3 tags. I also suspect the master branch may not be in sync with the machine that published v3.
Can someone fill me in please?

Two Reasons Security Fixes:

acorn which caused us to drop support for Node < 6 https://github.com/gulp-sourcemaps/gulp-sourcemaps/pull/376/files
css bump https://github.com/gulp-sourcemaps/gulp-sourcemaps/pull/380

Feel free to PR to make a change log.

Code and Tags have been pushed up. Apologies


session wont stop and start seamlessly if filter is in the middle

If I pause the session by using stopCapture() to change a filter and then try and start it again the RenderView continues to show the still from stopping capture and never gets going again.
If I pipe the camera straight into the view it stops and starts again with no problem.
I'm using a simple crop and transform filter. i call removeallTargets on the camera. Create the same pipeline but it never kicks off again. DO we have to remove the camera and start completely from scratch?

@kallipigous i ran into the same issue:
https://github.com/BradLarson/GPUImage2/issues/104
self.camera.stopCapture()
self.filter.removeAllTargets()
this did the trick, remove all the targets from the filter, closing...


Adding name property to X-input component

In some conventional applications, an input element is used within a form element. Therefore it needs a name attribute to specify which value it represents.

You just set  a name prop, it doesn't event show in the template, so what the purpose is?

Forget to insert name attribute into input element. :(

why closed ?

I'll make another pull request, including changes in x-input, x-textarea and selector.


K8s Master form disappears upon deleting memory field

K8s Master form disappears upon deleting memory field.
k8s.webm

Must include any relevant identifiers like:

Network: Dev

Version: 2.3.0-alpha8

Twin ID: 89

Steps to reproduce

Go to K8s
Select Mater tab and delete the memory input

Work completed:
The issue happened because undefined case was not handled in case of CPU & memory. Fixed by making them optional and assigning default cu to 0.

Verified, Devnet edc4bf8.

TC2169 - Kubernetes Input/Configuration Validation

Verified:

QAnet
2.3.0-alpha12


Support for Windows High Contrast Themes

🙋 Feature Request
We need to Support Windows High Contrast Mode in our web PDF viewer. Currently UI elements don't adapt Windows High Contrast Mode, which is a blocker in completing support for High Contrast Mode.
As most of our UI elements use react-spectrum CSS classes for styling, Please help to add support for High Contrast in react-spectrum CSS classes.
🤔 Expected Behavior
UI elements should adapt as per Windows High Contrast Mode.
There are 8 colors available in a High Contrast theme. So, UI elements should adapt colors according to the theme
😯 Current Behavior
UI elements don't adapt as per High Contrast themes
💁 Possible Solution
Add support for high contrast mode in existing CSS classes of react-spectrum
🔦 Context
We need to Support Windows High Contrast Mode in our web PDF viewer. Currently UI elements don't adapt Windows High Contrast Mode, which is a blocker in completing support for High Contrast Mode.
💻 Examples
Design mocks for High Contrast mode are already present in React-spectrum documentation.
🧢 Your Company/Team
Adobe/DocumentCloud

I think this is partially fixed? Not sure which components are left. @jnurthen?

I think this is partially fixed? Not sure which components are left. @jnurthen?

Sorry - missed this over shutdown. Still all the input components to do. Have a PR ready soon but having a few problems on pickers.


Update DESIGN.md to include an Overview and entry point for SAM

Issue #, if available:
Description of changes:
This will add an Overview section to the DESIGN.md file that explains how SAM works and the entry point into the code base. This is useful to help new people in being able to trace through the code base.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Oh this was what i was looking for but the reason why was because i wanted to know how i can help and add some things like a property LogRetention on the AWS::Serverless::Function resource that will created a log group.
A generic description how you can add things like that would help me and others to contribute to SAM.

@PaulMaddox Will be updated in the next commit.
@Nr18 Been discussing on #sam-dev slack channel on adding the support but this also got me thinking of how to add more docs. Will comment in slack my idea around more docs and surfacing this data.

👍


Board not supported error

What happened?
I have three boards, two esp8266 not working and one esp32 which works, I get the board not supported message:

D1 MINI V4.0.0 - dosn't work
NodeMcu V3 ESP8266 - doesn't work
ESP32-WROVER - works

What's interesting is that all three work when trying to upload the Aircoookie/WLED firmware.
Any idea how to get around this?
Thanks!
To Reproduce Bug
upload firmware using https://imeszaros.github.io/ledclock/
Expected Behavior
upload works
Install Method
Binary from WLED.me
What version of WLED?
1.2.0
Which microcontroller/board are you seeing the problem on?
ESP8266, ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

It's not a bug. The main branch is designed for the ESP32
Try this branch for the 8266.


Suppliers: Bad categories in backend

In database, supplier category enum supports types that are not supported by Spark, such as food and water. This is inconsistent with our data and probably bad.
For this year we only have Moving, and Other.

Create migration to remove unused types.
Make sure front doesn't use those types somewhere.

Prod db state doesn't match the model. Trying to add migration. Old categories aren't used anywhere.


Passthough AMI ID list to dynamic-subnets module

why
We want to be able to specify a list of ami ids to use for the nat instance(s)
what
passthought that list, default is empty

@mfuhrmeisterDM thank you for the PR, please address the comment

its applied


Pre-trained BERT model

Ohøj
Two questions:

[ ] Do you still use the weights for BERT provided by XOBot or have you progressed any further? If so I can provide 100000 danish juridical documents for further pretraining if you are interested
[ ] Is it possible to download the pretrained BERT model that you use before pre-training (or do you pretrin the model provided by XoBot)?

Hej Jens,
We use the pretrained model open sourced by botxo, and it can be download here: https://github.com/botxo/nordic_bert
And lets keep the dialog through mails.:)
Amalie


[NEW ALGORITHM] Weighted Fair Queueing (WFQ)

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM]  Weighted Fair Queueing (WFQ)
About:
Propose a new algorithm to be added to the repository
Weighted Fair Queueing (WFQ) is an advanced scheduling algorithm that provides fair and prioritized resource allocation among multiple tasks or flows. It is widely used in networking and operating systems to ensure Quality of Service (QoS) by allocating bandwidth or CPU time to each task according to its assigned weight. This approach is particularly effective in environments where differentiated service levels are needed, as it can prioritize certain flows while maintaining fairness across all tasks.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

@pankaj-bind please assign this issue to me.

assigned


This cloud-init "hello-world" specifies a VM image version without cloud-init support

I landed on this page while trying to troubleshoot Azure cloud-init failures under Debian. I worked through these instructions to prove to myself that cloud-init could work at all, but the resulting VM showed no evidence of modification, so I opened a support case<PHONE_NUMBER>000221).
The support engineer observed that cloud-init is not supported in Azure's CentOS images prior to 7.7. This sample did work for me using OpenLogic:CentOS:7.7:7.7.2021020400, however:

As cloud-init checked for and installed updates on boot, there should be no additional updates to apply

You'll have to wait quite a while after VM creation to see this outcome, and while it's still churning away on updates, what you'll get is a yum lock complaint.

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

ID: 1c87e836-abdc-e18c-0129-fb371f1ae0d2
Version Independent ID: 45724b3b-c8a7-6605-6b20-8afedccd46df
Content: Use cloud-init in a Linux VM on Azure - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/cloudinit-update-vm.md
Service: virtual-machines
Sub-service: cloud-init
GitHub Login: @cynthn
Microsoft Alias: cynthn

@irons Thanks for sharing these details. We will check and update the document accordingly.

@cynthn Can you please check and add your comments on this doc update request.


Custom jinja template for hierarchical indentation of classes on index page

Added a custom index.md.jinja2 file that is consumed by gendoc when rendering the documentation.

We will revisit after

https://github.com/linkml/linkml/issues/1435

But for now this is great!


Feature Request: ...

Type

[☑] Request modification of existing behaviour or design

What is the problem that your feature request solves
Have the installer know that Raspbian is just a version of debian
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
Not have this:
$ curl -sSL 'https://get.archivebox.io' | sh
<snip>
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster

What hacks or alternative solutions have you tried to solve the problem?
Nothing. (I don't currently have time to extend the installer.)
How badly do you want this new feature?

[☑] It would be nice to have eventually

--

[☑] I've had a lot of difficulty getting ArchiveBox set up

The installer supports neither Debian nor Raspbian natively, you should use the manual Apt instructions instead: https://github.com/ArchiveBox/ArchiveBox#-package-manager-setup


gnuradio3_8: fix build

The gnuradio3_8 package currently fails to build because of an incompatible qwt version:
QWT Version: 6.3.0
QWT Version must be >= 5.2 and <= 6.2.0, Found 6.3.0
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled gr-qtgui but configuration checked failed
Call Stack (most recent call first):
  gr-qtgui/CMakeLists.txt:46 (GR_REGISTER_COMPONENT)

This change introduced the issue: #312289
Using qwt6_1 instead fixes this Problem
A recent upgrade of the swig package from swig3 to swig4 (#337624) also introduced issues resulting in the package tests not running correctly.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

Closed in favor of https://github.com/NixOS/nixpkgs/pull/349079 .