Translations Update from Weblate

Please go to https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ if you want to contribute too.🐻
If there is anything not clear on Weblate, feel free to ping me (@louislam) here. I can add some screenshots or explanations on Weblate.
Current translation status:

@louislam
About the translation effort:
Do you think ordering some translations (only for languages which have no current siginificant translation) from the https://opencollective.com/uptime-kuma would be possible?
From a cost perspective, I think this would not be that bad (~€40-200/language).

albanian: https://www.fiverr.com/kledjona/translate-english-italian-greek-and-french-to-albanian
bengali: https://www.fiverr.com/wordtranslators/translate-japanese-korean-chinese-thai-vietnamese-languages
punjabi: https://www.fiverr.com/laeeque009/translation-in-urdu-to-hindi-and-hindi-to-urdu-english-to-hindi-urdu-punjabi
hindi: https://www.fiverr.com/laeeque009/translation-in-urdu-to-hindi-and-hindi-to-urdu-english-to-hindi-urdu-punjabi
Catalan: https://www.fiverr.com/qualitywriter_s/do-the-best-translation-english-spanish-french-catalan

I also think we might want to consider removing some local translation choices if there is no significant translation effort:

Panjabi vs Panjabi (Pakistan) => proposal: delete pa_PK as both have no significant effort put into them
Hebrew vs Hebrew (Israel) => proposal: delete he as it does have no significant effort put into it, rename he_IL -> he

I am unsure about these ones (if somebody knows something about these...):

Serbian (latin) vs Serbian

I think I'm not against this, but I also don't see a strong need. I think the real user-facing part of this application is only the status pages, whereas the dashboard is aimed at developers/IT admin with at least some technical knowledge, where English is the preferred language for accuracy in technical communication. The vast majority of translation keys are only used in the dashboard, where I think it's not as important that all keys are translated.
But I'm just one perspective, maybe in other places English is not as commonly used in IT.

Also prefer to be translated by contributors, because I believe contributors here should be using Uptime Kuma, they know the context of those words better.
For my experience, those paid translators are good at translating an article or subtitles. But for software, since a lot of words are just a single word, they don't really try to install it and understand the context of all features before translation.
For those incomplete (less than 1%) translations, those json files were created via Weblate. They don't appear in the language list, as they have to be added into the array manually. I cleared some before, but they could be back if someone create them on Weblate. So just keeping them there should be fine.

I am unsure about these ones (if somebody knows something about these...):

Serbian (latin) vs Serbian

Both of these are the same Serbian language. They just use two different alphabets actually: a (mostly) Latin alphabet with some additional characters. And the Cyrillic alphabet (which people usually connect with Russian texts).
I'm aware of the two different alphabets, because some friends of mine speak serbian. That being said, I don't know much about the Serbian people's preferences. Therefore, please find a quote about it from Wikipedia instead:

Standard Serbian uses both alphabets currently. A survey from 2014 showed that 47% of the Serbian population favors the Latin alphabet whereas 36% favors Cyrillic; the remaining 17% preferred neither.

In conclusion, both of these translations are quite interchangeable and probably either is understood by the vast majority of people. But maybe because it is not a huge effort (for a native speaker) to translate either language, both of them should be kept to allow for personal preference and ease of reading.

Hi guys!
I made some corrections for the Romanian language and although they appear in the PR (now I see that it has been moved to 2.0), I do not see the changes in live version.
The changes will be visible when version 2.0 is released?


Add ability to set OMP_NUM_THREADS to the settings

The default value is not sufficient.

The actual calculations were especially slow , by default it is using number of threads equal to all cores (40 threads) and this was severely slowing the calculation to about 1 point per second.
Setting the OMP_NUM_THREADS environment variable in the host environment allowed the dvc calculation to run much faster
With 1 thread it would calculate about 7 points per second (default overlap/points/shape)
With 8 threads , about 15
With 16 threads , about 19 points per second
With 32 threads, about 17
With 39 threads, about 17
With 40 threads, about 1  !!

Probably add to the Run DVC panel:

a checkbox to enable setting the number of threads
find the number of cpus available (import multiprocessing ; cpus = multiprocessing.get_cpu_count())

Suggestion about the number of threads to use
if { $nproc > 16} {

    setenv    OMP_NUM_THREADS 16

} elseif { $nproc > 8 } {

    setenv    OMP_NUM_THREADS 8

} elseif { $nproc > 4 } {

    setenv OMP_NUM_THREADS 4

} else {

    setenv OMP_NUM_THREADS 1

}

Possibly this can be done by changing the environment for the QProcess by setting up a QProcessEnviroment
See also https://www.qtcentre.org/threads/38289-Altering-QProcess-environment


BUG: ICA mixing matrix shape mismatch

I recently got into a small trouble:
Description: When I set n for the value of n_components in and ICA decomposition and n < Picks, it results in an ica object with a mixing_matrix_.shape of n by n instead of n by Picks.
Here is a toy code to reproduce the bug:
import mne
from mne.preprocessing import ICA
from mne.datasets.brainstorm import bst_raw
mne.set_log_level('INFO')

print(__doc__)

tmin, tmax, event_id = -0.1, 0.3, 2  # take right-hand somato
reject = dict(eog=250e-6)

data_path = bst_raw.data_path()

raw_fname = data_path + '/MEG/bst_raw/' + \
                        'subj001_somatosensory_20111109_01_AUX-f_raw.fif'
raw = mne.io.read_raw_fif(raw_fname, preload=True, add_eeg_ref=False)

ica = ICA(n_components = 10, method = "fastica") #
S_ = ica.fit(raw, start = 0, stop = 100, verbose = True)
S_.mixing_matrix_.shape # this is (10, 10) instead of (100, 10)

BTW mne.version is '0.12.0'
Best,
Agoston

this is not a bug; The mixing matrix is used after dim reduction via PCA, so it's always squared. You need to take into account the pca_components_ attribute. See the code if needed.
reopen if needed

The S_.pca_components_.shape is (100, 274) in this example. Note I did not set either n_pca_components or max_pca_components. The description says:
"""max_pca_components : int | None
        The number of components used for PCA decomposition. If None, no
        dimension reduction will be applied and max_pca_components will equal
        the number of channels supplied on decomposing data. Defaults to None."""```

Based on this I would think that no PCA was done before. In any case, I do not find an attribute that informs me about the weights of individual channels on an ICA component, or at least converts between the PCA result matrix and the ICA mixing matrix (100 x 274 vs. 10 x 10).

see for example here:
https://github.com/mne-tools/mne-python/blob/master/mne/preprocessing/ica.py#L1270
after picking the good ica sources we put back the PCA components up to a
number given by:
_n_pca_comp = self._check_n_pca_components(self.n_pca_components)

Thank you Alexandre for the reference, I see, so the ICA is done on the n_components PCs with the highest explained variance. But can I run the analysis without PCA? I tried setting both n_pca_components = None, max_pca_components = None and still the result was w/ PCA

If n_components is None all PCA components should be used in ICA, so it is like without PCA dim reduction.

If you want to get the weight maps, use mne.preprocessing.ica._get_ica_map.

if n_pca_components is None, you use all PCA components, amounting to not
actually performing PCA but simply using it for sphering. n_components
refers to the ICA components.
On Tue, Jul 26, 2016 at 9:07 PM, Mikolaj Magnuski<EMAIL_ADDRESS>wrote:

If n_components is None all PCA components should be used in ICA, so it
is like without PCA dim reduction.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/3460#issuecomment-235372234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0figh9OPxJYWrgfp6ft4UsHufIP8PAks5qZlrpgaJpZM4JVQm4
.

@dengemann Right, I meant n_pca_components. But I think the interactions between n_components, n_components_, n_pca_components and max_pca_components may be a little confusing - what do you think about clarifying the docs a little?

I think it might be worth to make get_ica_map a public method of ICA. We have had requests for the weight maps a few times now IIRC.

what do you think about clarifying the docs a little

you're volunteering right? :)
Clearer docs are always a good idea.
On Wed, Jul 27, 2016 at 12:29 AM, jona-sassenhagen<EMAIL_ADDRESS>
wrote:

I think it might be worth to make get_ica_map a public method of ICA. We
have had requests for the weight maps a few times now IIRC.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/3460#issuecomment-235426055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0fiqjHdPrFEwCMrnDZuHvQVHUAivh6ks5qZopdgaJpZM4JVQm4
.

@dengemann @jona-sassenhagen
I'll try to take care of both in the next few days (I was diving into ICA code anyway to sort infomax components by explained variance).

(I was diving into ICA code anyway to sort infomax components by explained variance).

I guess that's a much desired feature by Infomax fans. That would be a nice contribution. @mmagnuski don't hesitate to blame me if you get stuck with ICA code hermeneutics.

looking at @jmontoyam 's code something like this:
    mvar = np.sum(linalg.inv(unmixing_) ** 2, axis=0) *\
       np.sum(Y ** 2, axis=1) / (N * T - 1)
    windex = np.argsort(mvar)[::-1]

    unmixing = unmixing_[windex, :]

seems to match the eeglab results.
HTH

Thank you both for this discussion, I would be more than happy if you clarify the documentation.
Just a few extra comments:
@dengemann, you wrote

if n_pca_components is None, you use all PCA components, amounting to not
actually performing PCA but simply using it for sphering. n_components
refers to the ICA components.

based on this I would expect 274 PC of the 274 channels in the above example, yet I get 100. Also I checked when I set max_pca_components to 200 it is still 100 (??). however if I run the underlying source code separately on the MEG data in the example using 200 as max_pca_components I get 200 PC (as expected). So @mmagnuski your clarification on the docs is appreciated in advance

@agramfort
Thanks, that makes sense, just a quick question if I understand it correctly:
Y is the components signal (components x timesamples) and T and N are number of timesamples and number of channels?
I won't have reliable internet acess till monday, but I'll try to have something for a PR then.

yes correct. Although N and T have no impact on ordering.


Fix/kafka broker advertised.listeners hostname

What changes were proposed in this pull request?
Section for replacing localhost with param.hostname for advertised.listeners was aligned in else section of kerberos_security_enabled. This was resulting  in advertised.listeners being set as localhost only.
How was this patch tested?
Unit Test - made this change on my local setup file (/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/kafka.py) and advertised listeners were setup properly.
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5003/
Test PASSed.


[WFCORE-3813] Eliminating usages of deprecated SC.getImmediateUnavailableDependencies() method.

https://issues.jboss.org/browse/WFCORE-3813

Core - Full Integration Build 7342 outcome was UNKNOWN using a merge of 5721f87099070b7bc2e7a5036fce1309a24c7004
Summary: Canceled (Error while applying patch; cannot find commit ba0ba44860411a19ba893d45537f18c77db49906 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3270/merge branch was updated and the commit selected for the ... Build time: 00:00:13


Could this project support complie less file into css?

Could this project support complie less file into css?

No, it's also not complete as I haven't had time to work on it...


monaco-graphql monaco import bundles all basic languages

The monaco-graphql package has the following import at multiple places:
import * as monaco from 'monaco-editor'
This import loads monaco-editor/esm/vs/editor/editor.main.js which in turn loads ../basic-languages/monaco.contribution which contains many of the "basic languages" supported by monaco.
When importing this language plugin, also only initializeMode like shown in the examples, all these languages are bundled. (see this minimal example using vite: https://github.com/lokmeinmatz/monaco-graphql-lang-bundles , the stats.html is generated and shows the import dependencies).

I don't have the time or expertise to create a Pull request, but is it possible to change all these imports to
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';?
Thanks, Matthias

Unfortunately this is not possible because we can’t import individual monaco.languages that we need like json. This isn’t as simple as changing the worker imports as you suggest, which we switched away from because it didn’t have any impact.
A PR would be welcome though! Perhaps they have changed the way languages export. But in order to use monaco.languages.json‘s API we have to import languages, and last I checked last year at least there was no way to import just the loaded json monaco mode

I found a way of put off unused languages, we'll share soon how to do it ;)


MacOS error in Visual Track Mode

utils.lua:208: bad argument #2 to 'GetTrack' (number expected, got nil)
Getting this error when deleting tracks in VTM. The only two patterns I've been able to replicate consistently are deleting all tracks and deleting a selection of more than one track that includes the last track or the track before last. I've found  the issue in other instances but those were less consistent in reproduction.

should be fixed now on develop!


feat: add caps-lock hook and warning

Description
This PR addresses #466

Add caps lock detection via useCapsLock hook
Add CapsLockWarning component for user feedback
Integrate with password A, password C, and change password inputs. Important to note, hooked up both inputs in the change password modal to the same warning to avoid having to handle caps lock detection independently, and to avoid weird duplicate or out-of-sync warnings.
Add translations

Screen Recordings
Password A

Password C

Change Password A (Settings)

Awesome stuff, thank you very much!


Install ghostscript in circle

I think it's already there.
On Oct 16, 2016 4:34 PM, "Oscar Esteban"<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/mriqc/issues/215, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOkpzs_FC21aPFuOW2njeNsbUAo1GsRks5q0rSLgaJpZM4KYH1h
.

Ok, I'll check that and close this.


Change Readme

It does not protect against 7 Day certificates as the are not revoking, they are expiring, which you cant protect against.

Yes but 7-day certificates can be revoked earlier than 7 days, and you can use a 7-day certificate to block revokes to the enterprise and 7-day certificates

As stated about by @ASCEND1NG-VO1D a user can revoke a 7-day certificate in order to install more applications. The URLs blocks should in theory prevent the apps from not working after it gets revoked however it won't stop them from expiring.


Update x-wso2 extensions in MGW docs

Purpose
Update x wso2 extensions with updated extensions supports from the APICTL side.
Fix some formatting issues

Maintainers: Check before merge

[ ] Manual verification

Check https://github.com/wso2/docs-mg/issues/65


error while running CifarApp

When I am running the CifarApp on SparkCluster, the following error comesup:
16/06/08 12:50:04 INFO DAGScheduler: ResultStage 14 (foreach at CifarApp.scala:105) failed in 0.040 s 16/06/08 12:50:04 INFO DAGScheduler: Job 8 failed: foreach at CifarApp.scala:105, took 0.049292 s Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 14.0 failed 1 times, most recent failure: Lost task 1.0 in stage 14.0 (TID 43, localhost): java.lang.ArrayIndexOutOfBoundsException

Looks like that is the line
 workers.foreach(_ => workerStore.get[CaffeSolver]("solver").trainNet.setWeights(broadcastWeights.value))

It's possible that the lookup workerStore.get[CaffeSolver] is failing. So perhaps try just
 workers.foreach(_ => workerStore.get[CaffeSolver]("solver"))

and see if that succeeds or fails.
If that is failing, it may be that some worker does not have a net on it. How many nodes are you using? And what are you passing into CifarApp for the number of workers?

@robertnishihara  Did that but the following errors raised.
F1009 04:25:49.868021  8028 split_layer.cpp:21] Check failed: count_ == top[i]->count() (100 vs. 1000000)
*** Check failure stack trace: ***
F1009 04:25:49.868021  8027 split_layer.cpp:21] Check failed: count_ == top[i]->count() (100 vs. 1000000) F1009 04:25:49.868021  8029 blob.cpp:21] Check failed: count_ == other.count() (1000000 vs. 100)
*** Check failure stack trace: ***
Aborted


3.7 Customize Broken

3.7 isn't a valid version
if you meant 3.3.7, you are out of luck, it'll be broken, so just use 3.4.0.


Using isteven-multiselect with angular material design

Hello. i have a  weird issue... i am using this beautifull multi select component with angular material design. and when i reload the page, the <md-input directive and its components inside looks ugly.. it only happens in pages where isteven-multiselect is loaded (im using ocLazyLoad aswell). No errors or warnings in console... any hint what is happening here?
Screenshots.
Here is the page loaded, but i first visited other section of the page when the multiselect is not present. Then i visit this section wich have isteven multi select on it. look the inputs... they look like they should

But then, i refresh the page... (F5) and then the inputs style dissapeared...

they have text on them but the font is white... i cant find any css style applied to it.. so i dont know if there is any compatibility or if im just doing something wrong.

Thanks in advance

Hi facuxt ,
I don't have experience in Material, so my answer might not be very helpful - but I guess it's CSS problem. Most likely one of the class overrides Material class.
Can you help me to replicate this in Plunker or JsFiddler so I can have a look?

Hello isteven, thanks for the reply! and thank you very much for the component!! is awesome!! here is a codepen with the issue replicated..
http://codepen.io/anon/pen/RPmjJv
To see how it should looks like without isteven-multi-select, you should change the JS line number 2
.module( "MyApp")
But then when you enable your component... with line
.module( "MyApp", [ "isteven-multi-select" ])
then all the components are destroyed...
any idea? i just included js.. no css file...

Hi @facuxt,
When I checked my web inspector, I saw something like this:
Refused to execute script from 'https://raw.githubusercontent.com/isteven/angular-multi-select/master/isteven-multi-select.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
If I recall correctly, some collaborative tool don't like to load raw JS file from Github like that (and I'm so sorry for not providing a CDN yet - too busy for now)
Can you try to load the JS file manually? As in.. copy & paste the directive code (and its CSS) into your codes?

hello again... here is a codepen with the js copied into it..
http://codepen.io/anon/pen/NqZKPw
it trows another error and i don't know why it happens.
Thanks in advance.

Hi,
May I know where do you declare the ngMaterial module into your app?

Thats interesting...with this i had a clue of what was happening here... i couldn't replicate the issue in my app, but the interesting thing is that i avoided the bug just simply not using OcLazyLoad to load isteven-multi-select... i just added to the index the js, but lazyload only loads the css..., the directive is now declared in my app. Now the app is not broken when i reload it...
Thank you very much. I will try to check if im able to reproduce the error in a codepen...  Can you recomend me any debugging tool for angularjs? im developing just using sublime text and chrome ...
Thank you again and sorry for this weird issue.

Uhmm..  I was trying to give you a hint, but let me try to be direct here:
Put ngMaterial into your myApp definition - at least I could see them working.
.module( "MyApp", [ "isteven-multi-select" , "ngMaterial" ])

yes, it works... but.. when you put just this...
.module( "MyApp") it also works with ngMaterial.. dont know why...
in my app i have this declared..
var app = angular.module('app', [
'ngAnimate',
'ngAria',
'ngCookies',
'ngMessages',
'ngResource',
'ngSanitize',
'ngTouch',
'ngMaterial',
'ngStorage',
'ngStore',
'ui.router',
'ui.utils',
'ui.bootstrap',
'ui.load',
'ui.jp',
'pascalprecht.translate',
'oc.lazyLoad',
'angular-loading-bar'
]);
and isteven-multi-select was loaded by oclazyload... that didnt work... so i just include the module like this and attach the js to the index.
var app = angular.module('app', [
'ngAnimate',
'ngAria',
'ngCookies',
'ngMessages',
'ngResource',
'ngSanitize',
'ngTouch',
'ngMaterial',
'ngStorage',
'ngStore',
'ui.router',
'ui.utils',
'ui.bootstrap',
'ui.load',
'ui.jp',
'pascalprecht.translate',
'oc.lazyLoad',
'angular-loading-bar',
'isteven-multi-select'
]);
What i was doing wrong?

btw.. that codepen is a fork directly of one used for demos in this page..
https://material.angularjs.org/latest/#/demo/material.components.input

Let's see..
Reading the doc at https://oclazyload.readme.io/docs/oclazyload-directive, I saw the directive lazy loading example:
<div oc-lazy-load="{['js/testModule.js', 'partials/lazyLoadTemplate.html']}">
  <!-- Use a directive from TestModule -->
  <test-directive></test-directive>
</div>

May I know how do you lazy-load the multi-select in your CodePen? I could be wrong but I didn't really see it there.

sorry for the misunderstanding... i am using lazyload in my local project... not in codepen... i just wanted to replicate the error... this issue is solved just without using lazyload... i dont know.. but it doesnt seems to be your component the problem though...
Thank you again!

Hi @facuxt ,
You're welcome. Sorry I couldn't really provide a helpful solution - I have no experience in that lazyload library myself.


peak counting algorithm

Pull request with peak counts function + a test code. I guess there is still a choice to be made about making it batch capable... do we want the input to be of size/shape (batch size, side length, side length)?

This is super cool!!! Thanks Ben!
I wasn't 100% sure wether it would be differentiable without too much headache/thinking , did you try like taking the sum of the output peak counts and see if you can get a derivative with rerspect to the input?  It looks like it should work

@dlanzieri did you take a look at this PR :-) ? What do you think?

@EiffL I was thinking that we could try to use this new implementation of the peak counts to build a  function that take the derivative respect to the cosmological parameters. Without too much expectation, we know that parts of the simulation code have to be fixed, but  it should be a good opportunity to start to fix technical issues that inevitably will come, or at least some TensorFlow issues that I will find building the Jacobian. @bhorowitz thank you for this important work!


Remove ToDos from README.md and move them into issues (if they still apply)

Validate which items can be removed from the list below:

[x]  GraphQL Playground --- to be deprecated
[ ]  Schema Stitching (extending types)
[ ]  Metrics
[ ]  Published Content
[x]  Published Media --- to be deprecated
[x]  Dictionary --- new issue created (https://github.com/umbraco-community/umbraco-graphql/issues/66)
[ ]  Statistics (field usage etc.)
[x]  Deprecation (Content Types and Properties)
[ ]  API Tokens (OAUTH) with permissions (for content types and properties)
[ ]  Data Types --- to be deprecated
[x]  Document Types --- to be deprecated
[x]  Media Types --- to be deprecated
[x]  Member Types --- to be deprecated
[ ]  Content
[x]  Media --- to be deprecated
[x]  Members --- to be deprecated (?)
[ ]  Documentation

Discuss, decide, vote?

Dictionary, Documentation, API Tokens are the items that stick out to me as ones we want to work towards

Perhaps a Preview API or way to get a preview version of content would be good in the future as well

Possible future: Rate Limiting to prevent DDOS


Add/use an updating file upload progress spinner in the bulk upload form

Re: #573.
Wrote this earlier today, prior to the mock, but it should be quite simple to tweak/move this into position when we move the upload button(s). Including a bit of testing here, but since our server requests are real rather than stubbed in Cypress, it's a bit non-trivial.

Includes a small change to awaiting form submission results/handling isSubmitted in order to get the right behavior during upload.

 Bug fixes


Styled components default styling support

Is your feature request related to a problem? Please describe.
Styles are not working when project is not configured to use tw, mine has styled components
Describe the solution you'd like
Add styled components option to inherit default styles instead of making custom components
Describe alternatives you've considered
Currently im using the custom components to override which is an awesome feature but creates more boilerplate
Additional context
Awesome library!

Hi @ido-journey. Do you mean an alternative to the CSS classes that are passed to the lexical theme prop?
const editorConfig = {
  // ...
  theme: {
    beautifulMentions: {
      "@": "px-1 mx-px ...",
      "@Focused": "outline-none shadow-md ...",
    },
  },
};

<LexicalComposer initialConfig={initialConfig}>
  ...
</LexicalComposer>

Hi,
Actually i have a weird issue where i don't see mention, menu and menu item styles at all with default configuration,
Is it because i encapsulate the plugins with divs?
 <LexicalComposer initialConfig={initialConfig}>       <LoadInitialContent initialContent={defaultValue} />
         {editable && <ToolbarPlugin />}
           <RichTextPlugin             contentEditable={<ContentEditable className="editor-input" />}             placeholder={<Placeholder placeholder={placeholder} />}             ErrorBoundary={LexicalErrorBoundary}           />           {editable && (             <>               <HistoryPlugin />               <AutoFocusPlugin />               <ListPlugin />               <LinkPlugin />               <OnChangePlugin onChange={onEditorStateChange} />               <MarkdownShortcutPlugin transformers={TRANSFORMERS} />             </>           )}           <BeautifulMentionsPlugin             creatable={false}             emptyComponent={MentionsEmpty}             items={mentionValues}             onMenuItemSelect={menuItem => {               onMention(menuItem['id']);             }}           />

     </LexicalComposer>
and Also would been nice to pass overrides as styled components, or is it possible only with custom elements as prop?
thanks!

It`s hard to know what is miss-configured without a full code example. Can you provide a code sandbox?

and Also would been nice to pass overrides as styled components, or is it possible only with custom elements as prop?
thanks!

Have you tried the createBeautifulMentionNode helper function? It allows you to override the default mention node with a custom one. You can than use styled-components, emotion or any other library to style the custom mention node.

Hi @sodenn, I thought I'd write in this issue first before creating one.
I'm having the exact same issue as @ido-journey. I have installed the plugin, added all the basic code from the README and I can't see anything related to this plugin. It "works", I can use arrow keys to blindly select a value and see the text value in the editor but none of the default styling is available. I'm also using styled components instead of tailwind.
I'm not talking about custom styling or anything like that, just bare minimum installation doesn't display anything. Do you have any pointers?


Don't extract vendored go in _bin/downloaded folder

Currently, we extract the vendored go tar.gz file in the _bin/downloaded folder.
The downloaded folder is cached in our CI. Resulting in a LOT of files being copied from and to the downloaded folder.
This PR changes the make target so the tar.gz is extracted in the _bin/go-vendor folder and the _bin/downloaded/go[...].tar.gz file is kept.
This tar.gz file will now be cached across CI runs instead of the extracted folder.
You can see the large amount of files in the output of this run: https://storage.googleapis.com/jetstack-logs/pr-logs/pull/cert-manager_cert-manager/6608/pull-cert-manager-master-e2e-v1-28/1743241077906739200/build-log.txt
Local cache [restore]: found latest cache directory.
...
tools/_go-1.20.12-linux-amd64/
tools/_go-1.20.12-linux-amd64/goroot/
tools/_go-1.20.12-linux-amd64/goroot/CONTRIBUTING.md
tools/_go-1.20.12-linux-amd64/goroot/LICENSE
tools/_go-1.20.12-linux-amd64/goroot/PATENTS
tools/_go-1.20.12-linux-amd64/goroot/README.md
tools/_go-1.20.12-linux-amd64/goroot/SECURITY.md
tools/_go-1.20.12-linux-amd64/goroot/VERSION
tools/_go-1.20.12-linux-amd64/goroot/codereview.cfg
tools/_go-1.20.12-linux-amd64/goroot/api/
tools/_go-1.20.12-linux-amd64/goroot/api/README
tools/_go-1.20.12-linux-amd64/goroot/api/except.txt
tools/_go-1.20.12-linux-amd64/goroot/api/go1.1.txt
tools/_go-1.20.12-linux-amd64/goroot/api/go1.10.t
...

Kind
/kind cleanup
Release Note

NONE

/approve

I'm backporting this so older branches also don't create these files in the cache.
/cherrypick release-1.12

/cherrypick release-1.13


String length in bytes not obvious.

The problem
Information how to get string length in bytes (the fact that string has to be encoded first) is hard to find. Fact observed IRL.
Suggestions
Use of Str.encode.bytes to get byte length should be mentioned in:
https://doc.perl6.org/language/5to6-perlfunc#length - For sure. Method length is often used in Perl5 in bytes context.
https://doc.perl6.org/type/Str#routine_chars - It would be nice to have such complementary info there.

I've just changed the last. I'm not too keen on maintaining, or making exhaustive, the 5 to 6 pages. They were useful at the beginning, but right now it's not so clear that people starting with Perl 6 come from Perl 5.


Expose new Telemetry data

Story
As a chain developer who uses Nodes page, I want to see detailed information about nodes running the network so I can get a better idea about what is going on.
Nearcore is going to update the Telemetry format (https://github.com/nearprotocol/nearcore/pull/1751), so it is going to be:
{
  "agent": {
    "name": "near-rs",
    "version": "0.4.5",
    "build": "6a527109-modified"
  },
  "chain": {
    "node_id": "ed25519:67U1Mup5E98t5fQTJvpMuS7bq8rYDmyqWjeQ5884LHH7",
    "status": "NoSync",
    "account_id": "test.near",
    "num_peers": 0,
    "is_validator": true,
    "latest_block_hash": "7a4d3SNNb1XGxqhHAKj5nGx8C1R4X8pdt8jobC9z3nup",
    "latest_block_height": 1889
  },
  "signature": "ed25519:4n5VzXijHUvgwroD1W6BTysRGKTMdPv6ks32kEUNGyb9recDYRpt2L8Y2Uq5ABPt4LZHFBAv2DPj1CAPGkwqkZg2",
  "system": {
    "bandwidth_download": 0,
    "bandwidth_upload": 0,
    "cpu_usage": 0.6015791296958923,
    "memory_usage": 42784
  }
}

So, the data is going to be split into three sections now (agent [info about the running binary], system [info about the system load], chain), and the only new data here is the "agent" section.
Acceptance Criteria

[x] Accept the new Telemetry format while keeping compatibility with the old one for a little while
[ ] Display the new information (chain.is_validator, agent.*) in the UI
[ ] Mobile ok
[ ] Tested

Notes
Nearcore sends Telemetry data as JSON with POST request to /api/nodes, which is handled by Next.js and passed with an extra ip_address information to the backend, where it is saved to the database. A lot of information is currently ignored, so we should add more columns or JSON column to store all the information.
The current ("old") Telemetry format is:
{
  "node_id": "ed25519:67U1Mup5E98t5fQTJvpMuS7bq8rYDmyqWjeQ5884LHH7",
  "status": "NoSync",
  "account_id": "test.near",
  "num_peers": 0,
  "is_validator": true,
  "latest_block_hash": "7a4d3SNNb1XGxqhHAKj5nGx8C1R4X8pdt8jobC9z3nup",
  "latest_block_height": 1889,
  "signature": "ed25519:4n5VzXijHUvgwroD1W6BTysRGKTMdPv6ks32kEUNGyb9recDYRpt2L8Y2Uq5ABPt4LZHFBAv2DPj1CAPGkwqkZg2",
  "bandwidth_download": 0,
  "bandwidth_upload": 0,
  "cpu_usage": 0.6015791296958923,
  "memory": 42784
}

I see #55 has more to display in the UI,do we do all these?

Let's display all the available information

I figure out on localhost, there is no node. So the telemetry api is never called and I could not test whether I wrote it correctly?

@icerove https://github.com/nearprotocol/near-explorer/pull/139#issuecomment-562551278

Reopen to address the display items of the issue since #139 only addressed the internal storage.

Our devnet and betanet are expected to send detailed Telemetry now, so we can display this extended info now (Explorer is unblocked).

Hey, @corwinharrell! We need your help here to improve the Nodes page (https://explorer.nearprotocol.com/nodes). There is no design there at all, as you can see, and we also have quite some data sitting internally, that we don't display at all, so here is the whole list of data we want to display:

agent name (currently we have only single nearprotocol implementation and that is "near-rs")
agent version (e.g. "0.4.5"), and build (e.g. "6a527109-modified")
node ID ("ed25519:67U1Mup5E98t5fQTJvpMuS7bq8rYDmyqWjeQ5884LHH7")
node status:

Initial state ("AwaitingPeers")
Not syncing / Done syncing ("NoSync")
Downloading block headers for fast sync ("HeaderSync")
State sync, with different states of state sync for different shards ("StateSync")
Sync state across all shards is done ("StateSyncDone")
Catch up on blocks ("BodySync")

account ID (e.g. "test.near")
number of peers (e.g. 0)
is validator (true/false)
latest block hash (e.g. "7a4d3SNNb1XGxqhHAKj5nGx8C1R4X8pdt8jobC9z3nup")
latest block height (e.g. 1889)
IP address (e.g. <IP_ADDRESS> or fe80::250:56ff:fec0)

@frol @icerove
https://www.figma.com/file/jS1bjIiVxoEPNOYeXwddjH/NEAR-Explorer?node-id=186%3A15
@frol Do you think the truncated node ID on the far right (69a3a68...) is sufficient?
Also, thinking it makes sense to order the list first by validating/non-validating, then by "Last seen" or latest block height.

@kcole16 @frol
I think it is beautiful. but I need details about some terms.
the color means it is validator or not?
do we want search box this time and search by what?
I recommend give node ID more digits and we do not have link for node ID now, it seems like a link now.

@icerove Here is a matching of the terms to data: https://www.notion.so/nearprotocol/List-of-Nodes-c71a40417c5048ceb2cb063a0b9f97d0

Yes, color is indicating validator/non-validator. I think ordering them by validator first, and using a similar tooltip/modal strategy to explain the color can help clarify for users
IMO we do not need either the search box or the total count on the right side
The node ID does look like a link. We should instead use black (or gray) instead

updated: https://www.figma.com/file/jS1bjIiVxoEPNOYeXwddjH/NEAR-Explorer?node-id=186%3A15
Do we want to show the full Node ID? It's long, so i'll need to rework it if we do

@jakestutzman we do not want to show full node ID, don't worry

@jakestutzman Your link gives me 404

@frol do you have figma?

I do, and I am signed in

@frol  can you open my link?

what is this information?

node status:

Initial state ("AwaitingPeers")
Not syncing / Done syncing ("NoSync")
Downloading block headers for fast sync ("HeaderSync")
State sync, with different states of state sync for different shards ("StateSync")
Sync state across all shards is done ("StateSyncDone")
Catch up on blocks ("BodySync")

@frol

@icerove your link is exactly the same as Jake's. Why do you expect it to lead to a different result? No, it is still 404.
The information is the possible values the node status might be.

we do not have that information directly, right?

I attach screen shot here as you could not open...

@icerove

we do not have that information directly, right?

 "status": "NoSync",

nearcore sends that data, we just missed it and never saved. Please, add it to the table and the relevant saving method.

@jakestutzman I have a concern that the green/grey circle indicators might not be intuitive (well, it is helpful that the legend hint is there, so learned that the green color means that it is a validator), at least I initially thought that it is an online/offline indicator.

@jakestutzman
we have isValidator/notValidator indicator and online/offline indicator, so make this more clear on design is helpful

Maybe green for "online, validating", gray for "online, not validating", and red for "offline"?
I think ordering by state, and a tooltip could help as well.

Can we separate validators from other nodes somehow?
Also offline nodes can really be hidden is almost never relevant.
Ideally one tab are active validators, another are active non-validators and if we want another one can be non-active (but why would we care?).
Also on the home page it should not be "active nodes/total nodes", it should be "active validator nodes/total active nodes"

Yeah ideally there should be an easy way of viewing all the validating nodes.

@jakestutzman @kcole16 we need a design for that separation of the validating and non-validating nodes request.

@frol @ilblackdragon @bowenwang1996 @kcole16 here's an update. There are two screens here: https://www.figma.com/file/jS1bjIiVxoEPNOYeXwddjH/NEAR-Explorer?node-id=186%3A15

@kcole16 @frol  I want to make sure the definition of active and non-active? Now we only have online and offline, which online is its last_seen is in last minute from now. otherwise it is offline.

@icerove active === online, non-active === offline

@jakestutzman I got a 404 error on the link.

@bowenwang1996 I sent you an invite.
@jakestutzman Is it fine to make the design documents available publicly?

@frol sorry, i had the settings wrong on this. Everyone who has the link should be able to view now - https://www.figma.com/file/jS1bjIiVxoEPNOYeXwddjH/NEAR-Explorer?node-id=186%3A15

@jakestutzman Given @ilblackdragon suggested having two non-overlapping tabs:

Ideally one tab are active validators, another are active non-validators and if we want another one can be non-active (but why would we care?).

Do you think we need to have those circle indicators at all given we don't expect to display validator and non-validator nodes on the same page?

@frol from the link that @jakestutzman provided it seems that we use circle indicators to show whether a node is online or not. That is independent of whether a node is a validator.

@bowenwang1996 If you take a look at the previous version of the design (https://github.com/nearprotocol/near-explorer/issues/128#issuecomment-614930444) you may notice that it was used as a validation status indicator (or at least, it is how I read it). My initial expectation was the same as yours (the circle representing the online/offline status).
@jakestutzman I think we should take this feedback about the circle indicators being confusing. At this point, I am not sure if it ever meant to indicate the validation status or not. Given the conversation, we don't want to display online/offline (active/non-active) status, and neither we do validator/non-validator (given we want to display them in separate tabs).

Given we don't want to show offline nodes right now, we can just remove the circle.
Originally it indicated validator/non-validator, though since we've now split nodes into tabs by validator/non-validator, it is even more intuitive as online/offline. Could bring it back in the future if we want to show offline nodes.

@kcole16 I would like to keep the circle thing since we still want the UI. let's just make green one validator and gray one non-validator. We do not show offline validator anymore. the Dashboard one is showing validator/active nodes actually.

@kcole16 I would like to keep the circle thing since we still want the UI. let's just make green one validator and gray one non-validator. We do not show offline validator anymore. the Dashboard one is showing validator/active nodes actually.

Perhaps to avoid any confusion, we show the green dot for all nodes (validating and non-validating). Keeps it consistent with Dashboard too, and implies all are online.


Whitespace characters are not rendered even when setting is switched to 'boundary'

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:21:47.485Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author
Version

ftp-sync
lukasz-wronski
0.3.3

PowerShell
ms-vscode
1.4.1

ejs-language-support
QassimFarid
0.0.1

Steps to Reproduce:

Go to preferences
Set "editor.renderWhitespace": "boundary"

Current: No change - whitespace chars not visible
Expected: White characters rendered

Found the way to solve it. It looks like the new version has "editor.accessibilitySupport" set to "auto" by default and for some reason was thinking that I'm using screen reader.
When I have explicitly disabled the support the white space chars appeared again.
I do have a screen reading software installed on my box as I use it for testing accessibility but I'm sure it wasn't running at this time.


Order by updated at

Features

Changed order of Application report to order by updated_at

[Delivers #128406917]

@sped2773 can you review this please?


Can you use gradle to include the library?

I also looked for it.
And I found this.
https://github.com/google/cameraview/issues/10

example
compile 'com.github.google:cameraview:c3f7e7d'


Pagination Not Following Directive Re: # of Items Per Page

Hi Michael,
Thanks so much for an amazing tool to handle pagination!
=======
Angular 2 version:
@angular/cli: 1.0.0-rc.1
ng2-pagination version:
ng2-pagination": "^2.0.1
Description of issue:
I am using the pagination code on several components. On a couple of them I see the expected result, where I am filtering 15 results per page, and calculating the total number of pages by passing in the total number of records via an API call.
However, in one component, which is calling the collection where we have the most records (about 10,000 objects), for some reason it's not applying the per page filter properly. To be specific, the results per page is probably a couple hundred, as opposed to 15.
I have triple-checked the code I'm using, and the implementation looks the same for each of the components - so I'm not sure what the issue is with this one particular component -- unless there's some kind of default filter built in to handle really large collections that creates an override?
Here's my component code:
    ngOnInit() {
        this.customerService.getAll()
            .subscribe(resRecordsData => this.records = resRecordsData,
            responseRecordsError => this.errorMsg = responseRecordsError);

        this.customerService.getCustomerCount()
            .subscribe(resRecordsData => this.customerCount = resRecordsData,
            responseRecordsError => this.errorMsg = responseRecordsError);

        this.getPage(1);
    }

    getPage(page: number) {
        this.loading = true;
        this.asyncRecords = this.serverCall(this.records, page)
            .do(res => {
                this.total = res.total;
                this.page = page;
                this.loading = false;
            })
            .map(res => res.items);
     }

    serverCall(meals: string[], page: number): Observable<IServerResponse> {
        const perPage = 15;
        const start = (page - 1) * perPage;
        const end = start + perPage;

        return Observable
            .of({
                items: this.records.slice(start, end),
                total: this.customerCount
            });
    }

And in my view, I have this:
<tr *ngFor="let record of records | paginate: { id: 'customers', itemsPerPage: 15, currentPage: page, totalItems: customerCount }">...

                <div *ngIf="!!records && records.length" class="pagination">
                    <pagination-controls class="paginator" (pageChange)="page = $event" id="customers"
                            maxSize="15"
                            directionLinks="true"
                            autoHide="true">
                    </pagination-controls>
                </div>

Hi,
My first thought when looking through your code, is that I wonder why you are essentially paging the full collection yourself before handing it off to the PaginatePipe. If I understand correctly, your code:

Gets all customers, and stores them in records
Gets the total customer count, and stores it in customerCount
When getPage() is called, it calculates the records which should appear on that page, returns a sliced array and the total.
This data is then passed to the PaginatePipe.

Step 3 is actually the domain on thePaginatePipe - that is the main function that it performs. Here is a simplified way of paging all your customers:
 ngOnInit() {
        this.customerService.getAll()
            .subscribe(resRecordsData => this.records = resRecordsData,
            responseRecordsError => this.errorMsg = responseRecordsError);

        this.customerService.getCustomerCount()
            .subscribe(resRecordsData => this.customerCount = resRecordsData,
            responseRecordsError => this.errorMsg = responseRecordsError);

        this.page = 1;
    }

<tr *ngFor="let record of records | paginate: { id: 'customers', itemsPerPage: 15, currentPage: page }">...

<div *ngIf="!!records && records.length" class="pagination">
    <pagination-controls class="paginator" (pageChange)="page = $event" id="customers"
        maxSize="15"
        directionLinks="true"
        autoHide="true">
  </pagination-controls>
</div>

If I have misunderstood your intent of you have another reason you need to do it the way you show above, let me know. Otherwise tell me if this approach works better.

Thanks, Michael. So, interestingly, just having this in my component:
 ngOnInit() {
        this.customerService.getAll()
            .subscribe(resRecordsData => this.records = resRecordsData,
            responseRecordsError => this.errorMsg = responseRecordsError);

        this.customerService.getCustomerCount()
            .subscribe(resRecordsData => this.customerCount = resRecordsData,
            responseRecordsError => this.errorMsg = responseRecordsError);
    }

Along with this in my view:
<tr *ngFor="let record of records | paginate: { id: 'customers', itemsPerPage: 15, currentPage: page }">
... is sufficient for this to work?
At first I thought I would need to somehow pass in the length of the array for the pipe to be able to accurately generate the correct number of pages. But it looks like the "let record of records" part of the *ngFor is enough to let the pipe have access to the length of the array. Is this correct?

Thanks.  And if you happen to know of a github repo that shows an example with an actual server-side rendering, I'd be interested to see it. Our largest collection has 10,000 objects, and thus probably should be handled in such a way as to not have all 10,000 objects in memory at the same time.


Crop image parameter does not accept Image.file(image) expects ImageProvider

When passing uploaded image to the Crop image parameter via Image.file method i get the error: "The argument type 'Image' can't be assigned to the parameter type 'ImageProvider'.dart(argument_type_not_assignable)". in Flutter version v1.9.1+hotfix.5

Here the same:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Linux, locale es_ES.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.40.1)
[✓] Connected device (1 available)

• No issues found!

Using image: FileImage(File(photoPath)), instead of image: Image.file(File(photoPath)) the error is gone. I will check if this change works


[ast] Move clkmgr dependency from wrapper package into wrapper

The package does not really depend on clkmgr but only the wrapper does.
This PR has been factored out from #4329.

Thanks for your feedback and approval @imphil and @tjaychen , I've added the suggested changes and did a rebase. I will merge this once CI passes.


Leo Version | To Do List

This project consists in a To Do List. This web app allows you to add one task at a time, mark it as done and remove it from the list. There is also a button to clean the all list
Each task consists of a task name, date and tag.

Additionally it has a collapsable menu where you can freshen things up by choosing one of the following options by just clicking the said option button:
-Add task at a random position
-Add in the first position
-Remove the first task or last task
-Remove random
-Remove duplicates
-Remove odd tasks
-Randomize the list
-Sort it alphabetically and counter alphabetically
To better user experience hovering tasks and buttons makes them bigger.

Besides the name camp, the date and tag are hidden until you decide to start writing down a task

To make it easier to see and distinguish, tags are marked in a different color and different shape so that they stand out clearer!

Ainda não vi os ficheiros, mas dá um título melhor como, por exemplo, Leo - version, Leo - To Do List. E escreve uma descrição melhorzinha a dizer o que fizeste, como desenvolveste, e se quiseres podes por uma foto como exemplo.

All done Professor Flavio

Deixei sugestões mas vou aprovar. Parabéns, está muito fixe!


Refactor cockroachdb test config

Fix #618

Fewer file descriptors
Drop redundant CockroachCheck
Modify cross testcase Database (let each test use a different database)

https://github.com/kuutamolabs/lightning-knd/blob/d52940a9598f3fc1ad17573978496243e38f8fc4/test-utils/src/cockroach_manager.rs#L44
https://github.com/kuutamolabs/lightning-knd/blob/d52940a9598f3fc1ad17573978496243e38f8fc4/test-utils/src/cockroach_manager.rs#L72-L79
The following are reasons to drop CockroachCheck

which also needs an additional memory clone of Setting,
increase code complexity without benefit.
need additional dependency async-trait

When I run the tests I get some directories like goroutine_dump left over in the kld dir.

Force push and revert #620 should after #621

I rebase and merge it, so if there is a commit really is not suitable. We can easily revert that one.


No longer connected

HI,
It is a very nice job you have done with this integration.
But for some days now my skoda just shows away and alle other entitys unavaliable .
The logs says unable to initiate.
I have now uninstalled it via HACS to try a reinstall, but now my HACS cant find th Skoda connect integration.
Any help apriciated
\FWH

Solved,
Skoda wanted some new acceptence on the homepage.


Starting the camera blocks on Odroid with Android

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Android 7.1.1

Kernel Version (Linux Only)
3.10.9-ga7accf5-dirty

Platform
Odroid XU4

SDK Version
2.10.3

Issue Description
I've pulled the latest development branch ( 7abab50 ), and when I attempt to run the rs-color example, it just gets stuck...:
odroidxu3:/data/lrs_binaries # ./rs-color
There are 1 connected RealSense devices.

Using device 0, an Intel RealSense D435
    Serial number:<PHONE_NUMBER>55
    Firmware version: <IP_ADDRESS>

The line calling rs2_pipeline_start_with_config is the culprit.
Before pulling, the rs-color example worked, but I don't know which version that was. Probably a month old.
How to debug?

Hi @kevindehecker
Could you please call export LRS_LOG_LEVEL="DEBUG" to enable librealsense logs. The log file should be created in the running directory. Please share it. Also the dmesg log is always useful.
If you have the option to find the version that worked it would help a lot. C samples were first introduced in v2.8.1. Seeing it work with different software would rule out all other causes.

I will attempt to figure out the version. It probably is still in the git history somewhere. In the mean time:
Reran with lrs_log_level debug, started the rs-color (which got stuck again), counted to 20, ctrl - c...
The log is empty, 0 bytes.
dmesg output over a usb re-plug:
[ 4578.597095] [c1] usb 4-1.1: USB disconnect, device number 4
[ 4582.766939] [c1] usb 4-1.1: new SuperSpeed USB device number 5 using xhci-hcd
[ 4582.787335] [c1] usb 4-1.1: Parent hub missing LPM exit latency info.  Power management will be impacted.
[ 4582.814627] [c1] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 4582.820967] [c1] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 4582.828708] [c1] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 4582.836421] [c1] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 4582.844110] [c1] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 4582.852153] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 4582.862134] [c1] uvcvideo: Unable to create debugfs 4-5 directory.
[ 4582.867712] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 4582.877076] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 4582.885556] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 4582.895704] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 4582.905886] [c1] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input13
[ 4582.921300] [c1] uvcvideo: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[ 4582.927674] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 4582.936311] [c4] uvcvideo: Unable to create debugfs 4-5 directory.
[ 4582.942640] [c4] uvcvideo 4-1.1:1.3: Entity type for entity Processing 7 was not initialized!
[ 4582.950322] [c4] uvcvideo 4-1.1:1.3: Entity type for entity Extension 8 was not initialized!
[ 4582.958682] [c4] uvcvideo 4-1.1:1.3: Entity type for entity Camera 6 was not initialized!

I have trouble interpreting the dmsg log, as most of the output also seemed to happen when it did work. (and actually also on my laptop, which works with the D435 just fine).

The version that did (and still does) work: ba7505c
(I made one change to the code, added the pie linker flag for android 7 40d20068d166fee8a3d108fd5497168b34acebe6 )

dmesg log from working version:
[ 4582.766939] [c1] usb 4-1.1: new SuperSpeed USB device number 5 using xhci-hcd
[ 4582.787335] [c1] usb 4-1.1: Parent hub missing LPM exit latency info.  Power management will be impacted.
[ 4582.814627] [c1] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 4582.820967] [c1] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 4582.828708] [c1] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 4582.836421] [c1] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 4582.844110] [c1] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 4582.852153] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 4582.862134] [c1] uvcvideo: Unable to create debugfs 4-5 directory.
[ 4582.867712] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 4582.877076] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 4582.885556] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 4582.895704] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 4582.905886] [c1] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input13
[ 4582.921300] [c1] uvcvideo: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[ 4582.927674] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 4582.936311] [c4] uvcvideo: Unable to create debugfs 4-5 directory.
[ 4582.942640] [c4] uvcvideo 4-1.1:1.3: Entity type for entity Processing 7 was not initialized!
[ 4582.950322] [c4] uvcvideo 4-1.1:1.3: Entity type for entity Extension 8 was not initialized!
[ 4582.958682] [c4] uvcvideo 4-1.1:1.3: Entity type for entity Camera 6 was not initialized!
[ 5478.910008] [c1] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5478.916406] [c1] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5478.924150] [c1] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5478.931900] [c1] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5478.939629] [c1] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5478.947546] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5478.957751] [c1] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5478.963345] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5478.972694] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5478.981174] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5478.991333] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5479.001569] [c1] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input14
[ 5479.085861] [c2] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5479.092259] [c2] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5479.099972] [c2] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5479.107624] [c2] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5479.115346] [c2] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5479.123523] [c2] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5479.133733] [c2] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5479.139494] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.148695] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5479.157166] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.167320] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5479.177575] [c2] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input15
[ 5479.245935] [c0] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5479.252411] [c0] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5479.260066] [c0] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5479.267712] [c0] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5479.275686] [c0] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5479.283503] [c0] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5479.293437] [c0] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5479.299049] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.308470] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5479.316909] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.327023] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5479.337445] [c0] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input16
[ 5479.422056] [c0] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5479.428401] [c0] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5479.436173] [c0] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5479.443911] [c0] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5479.451569] [c0] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5479.459786] [c0] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5479.470292] [c0] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5479.476271] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.485246] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5479.493804] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.503943] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5479.514345] [c0] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input17
[ 5479.661999] [c3] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5479.668346] [c3] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5479.676124] [c3] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5479.684063] [c3] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5479.691710] [c3] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5479.699498] [c3] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5479.709496] [c3] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5479.715109] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.724441] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5479.732929] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.743085] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5479.753363] [c3] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input18
[ 5479.838000] [c3] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5479.844352] [c3] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5479.852119] [c3] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5479.859771] [c3] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5479.867520] [c3] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5479.875808] [c3] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5479.885674] [c3] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5479.891220] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.900616] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5479.909103] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5479.919339] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5479.929365] [c3] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input19
[ 5480.013976] [c3] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5480.020319] [c3] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5480.028105] [c3] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5480.035749] [c3] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5480.043501] [c3] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5480.051569] [c3] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5480.061560] [c3] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5480.067239] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5480.076500] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5480.084992] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5480.095150] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5480.105415] [c3] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input20
[ 5480.205869] [c1] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5480.212212] [c1] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5480.221140] [c1] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5480.227641] [c1] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5480.235359] [c1] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5480.243500] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5480.255566] [c1] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5480.261635] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5480.270527] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5480.278996] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5480.289152] [c3] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5480.299185] [c3] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input21
[ 5480.414017] [c3] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 5480.420354] [c3] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 5480.428123] [c3] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[ 5480.435794] [c3] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 5480.443757] [c3] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 5480.451776] [c3] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5480.461474] [c0] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5480.467220] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5480.476501] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 5480.485068] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[ 5480.495115] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5480.505323] [c0] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input22
[ 5480.553909] [c2] uvcvideo: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[ 5480.560291] [c2] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[ 5480.569017] [c2] uvcvideo: Unable to create debugfs 4-5 directory.
[ 5480.575327] [c2] uvcvideo 4-1.1:1.3: Entity type for entity Processing 7 was not initialized!
[ 5480.582902] [c2] uvcvideo 4-1.1:1.3: Entity type for entity Extension 8 was not initialized!
[ 5480.591300] [c2] uvcvideo 4-1.1:1.3: Entity type for entity Camera 6 was not initialized!
[ 5480.668464] [c6] usb 4-1.1: usbfs: process 6340 (rs-color) did not claim interface 4 before use
[ 5480.853422] [c4] xhci-hcd xhci-hcd.2.auto: WARN Event TRB for slot 3 ep 8 with no TDs queued?
[ 5480.864639] [c4] xhci-hcd xhci-hcd.2.auto: WARN Event TRB for slot 3 ep 8 with no TDs queued?
[ 5480.920626] [c4] xhci-hcd xhci-hcd.2.auto: WARN Event TRB for slot 3 ep 8 with no TDs queued?
<snap>

That last line repeated itself a lot more..
dmesg log from NON-working version:
[  130.361441] [c0] usb 4-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[  130.381879] [c0] usb 4-1.1: Parent hub missing LPM exit latency info.  Power management will be impacted.
[  130.399098] [c1] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[  130.405459] [c1] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  130.413182] [c1] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[  130.420878] [c1] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[  130.428614] [c1] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[  130.436696] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[  130.447435] [c0] uvcvideo: Unable to create debugfs 4-3 directory.
[  130.453061] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[  130.462377] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[  130.470858] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[  130.481014] [c0] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[  130.491364] [c0] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input6
[  130.507062] [c1] uvcvideo: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[  130.513444] [c1] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[  130.522422] [c1] uvcvideo: Unable to create debugfs 4-3 directory.
[  130.531807] [c1] uvcvideo 4-1.1:1.3: Entity type for entity Processing 7 was not initialized!
[  130.539206] [c1] uvcvideo 4-1.1:1.3: Entity type for entity Extension 8 was not initialized!
[  130.547492] [c1] uvcvideo 4-1.1:1.3: Entity type for entity Camera 6 was not initialized!
[  130.698380] [c0] SELinux: initialized (dev fuse, type fuse), uses mountpoint labeling
[  139.182413] [c2] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[  139.188766] [c2] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  139.196549] [c2] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
[  139.204180] [c2] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[  139.211896] [c2] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[  139.219895] [c2] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) 430 (8086:0b07)
[  139.230080] [c2] uvcvideo: Unable to create debugfs 4-3 directory.
[  139.235611] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[  139.245012] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[  139.253511] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) 430 with was not initialized!
[  139.263677] [c2] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[  139.273859] [c2] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input7

I have two suspicious PRs in that time range. Are you using the default V4L2 backend or the libuvc backend (by building with -DFORCE_LIBUVC=true)?
What exactly happens when you run the example? Is it stuck? How did you determine rs2_pipeline_start_with_config is involved?

Yes, I'm using libuvc, but that's because it is the default apparently. (never used the force flag for that). I actually get a cmake warning about using libuvc.
I determined the culprit line by adding some printf's, and it never passed through that command.

https://github.com/IntelRealSense/librealsense/blob/2f6a26aa784cc140f12b9144fdc2fb2171d410fa/CMakeLists.txt#L76

I tried to run rs-color rebuilded with force libuvc off, it still gets stuck.
I did notice a new line tailing in the demsg output:
[  224.155523] [c1] uvcvideo 4-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[  224.165697] [c1] input: Intel(R) RealSense(TM) 430 as /devices/usb.1/12000000.dwc3/xhci-hcd.2.auto/usb4/4-1/4-1.1/4-1.1:1.0/input/input7
[  276.532133] [c2] xhci-hcd xhci-hcd.2.auto: Timeout while waiting for stop endpoint command
[  310.774649] [c0] set_aud_pll_rate[51] : aud_pll set_rate=180633600, get_rate = 180633609
[  314.777668] [c2] type=1400 audit(1523561167.706:14): avc: denied { getattr } for pid=5678 comm="top" path="/proc/iomem" dev="proc" ino=4026537599 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc_iomem:s0 tclass=file permissive=1

Affirmative, indeed the problem's cause is narrowed between 1def32af85e93e8332d633fd34eef10b144afb7c and 7c978164fba672036d1ebba1c107d2d5a97669f6
I have attempted to run gdb on rs-color, but unfortunately I have no idea how to do that on c++ code in Android...  Luckily, if I compile the code on my laptop (Ubuntu 16.04) with -DFORCE_LIBUVC=true, the problem can be reproduced!
It seems thread.join blocks in the libuvc deconstructor. https://github.com/IntelRealSense/librealsense/blob/2f6a26aa784cc140f12b9144fdc2fb2171d410fa/src/libuvc/libuvc.cpp#L290
This is probably caused by a problem in power_D0() when calling uvc_open2, which returns UVC_ERROR_BUSY which is not properly handled.
https://github.com/IntelRealSense/librealsense/blob/2f6a26aa784cc140f12b9144fdc2fb2171d410fa/src/libuvc/libuvc.cpp#L378
If I apply the following "patch" 0f2b8af78248e11aaab4684072e1c26669888754 it solves the problem on the Odroid:
odroidxu3:/data/lrs_binaries # ./rs-color
There are 1 connected RealSense devices.

Using device 0, an Intel RealSense D435
    Serial number:<PHONE_NUMBER>55
    Firmware version: <IP_ADDRESS>

RGB frame arrived.
First 10 bytes: 0e 10 0d 0f 12 0e 10 11 0c 0f
Frame No: 1
Timestamp: 4960.253000
Timestamp domain: Hardware Clock
Time of arrival:<PHONE_NUMBER>197

RGB frame arrived.
First 10 bytes: 0e 14 0d 0d 13 0c 11 12 0d 13
Frame No: 3
Timestamp: 5027.453000
Timestamp domain: Hardware Clock
Time of arrival:<PHONE_NUMBER>264

RGB frame arrived.
First 10 bytes: 90 88 90 92 8a 91 93 86 8d 91
Frame No: 5
Timestamp: 5094.653000
Timestamp domain: Hardware Clock
Time of arrival:<PHONE_NUMBER>329

^C

New problems:

I can only run it once. After ctrl-c, and restarting rs-color I get:

There are 1 connected RealSense devices.

Using device 0, an Intel RealSense D435
    Serial number:<PHONE_NUMBER>55
    Firmware version: <IP_ADDRESS>

rs_error was raised when calling rs2_pipeline_wait_for_frames(pipe:0xb6e1a648):
    Frame didn't arrived within 5000

If the Realsense is connected during a reboot, the device is not detected at all. Rebooting again without the realsense and connecting after reboot and rs-color works again (well , again only the one time...).
Probably unrelated: my laptop does not like the rest of the libuvc implementation and crashes with a segfault

Regarding 1 and 2, these were already happening before when I was on the months old branch. (and the reason why I pulled master in the first place). Getting an Odroid in your lab might be a good idea then ;) . Although I have to admit it does work better with the Ubuntu install instead of Android. So, I think I will be switching to Ubuntu again. Still if you want to make a PR of this patch let me know.

If I recall correctly items 1 and 2 are known issues at firmware level. I can suggest updating camera firmware using the following tool: downloadcenter.intel.com/download/27514, but I am not 100% certain that it was already resolved.

my laptop does not like the rest of the libuvc implementation and crashes with a segfault
What do you mean?

I can suggest updating camera firmware

Gave that a quick try, partial success. Running rs-color multiple times is still a no go, still resulting in the frame time out for all attempts after a first initial successfull run. However, booting with the realsense connected now seems to work, it is detected properly.

my laptop does not like the rest of the libuvc implementation and crashes with a segfault

What do you mean?

I mean that when I run the hacked 0f2b8af78248e11aaab4684072e1c26669888754 version of rs-color with force libuvc on, on my laptop Ubuntu 16.04, it segfaults out on me. All is fine V4L2, so not really a concern ATM.
There are 2 connected RealSense devices.

Using device 0, an Intel RealSense D435
    Serial number:<PHONE_NUMBER>55
    Firmware version: <IP_ADDRESS>

Segmentation fault

Interesting development. After running the rs-color on the odroid, I let it sit for a while and then try it again. It now tells met there are 0 Realsense devices connected... I tried replugging -> no result. This is where it really gets interesting: I plugged a usb mouse in the usb port previously used for the Realsense. The mouse is not detected also, also not in the other usb3 port! The usb3 is totally out. Rebooting worked in the sense the usb3 ports worked once again.

I've moved to Ubuntu, and since a work around patch is provided above I'll close this issue.


Fixed issue with door not closing after API update

Chamberlain seems to have changed the desireddoorstate value from 2 to 0
for closing the door. Also note the door close action now triggers the
warning beep.

Please ignore this one - did not mean to include the other commits. New clean pull request now shows as #7.


HockeyApp task fails to upload ipa and dSYM on OSX

We have the HockeyApp task configured to upload ipa and dSYM files from a Xamarin.iOS build in Visual Studio Team Services.
The build completes fine, but the HockeyApp task always results in:
##[error]Failed to upload the package. Status code = 404, err =
We are using the latest vsts-agent version 2.101.0.
Have triple checked API key, etc. Logs indicate ipa and dSYM located OK.
Not sure if this is a HockeyApp or VSTS issue.
Has been suggested this is a VSTS issue in the past.

Can you report in the vsts-tasks repo?  I'll get it routed ASAP
https://github.com/Microsoft/vsts-tasks/issues

https://github.com/Microsoft/vsts-tasks/issues/1797
Also reported to HockeyApp: https://support.hockeyapp.net/discussions/problems/57383-vsts-hockeyapp-task-fails-with-404-error-uploading-ipa-and-dsym

I have also checked with a Xamarin.Android project and get exactly the same error uploading the apk file.

Resolved - it turns out I was specifying Bundle/Package IDs where a HockeyApp App ID was required.

Thanks Franc, you saved my day


Python 3.11.0b1 huge regression in performance

Huge regression in performance. Initial doubts seen in https://github.com/Ousret/charset_normalizer/pull/188 tests
Then, tried locally with Python 3.10.4-final
============================================================================== 126 passed in 3.43s ===============================================================================

Finally, 3.11.0b1
============================================================================== 126 passed in 20.15s ==============================================================================

Almost FIVE times slower! What happened!?
I do not have time immediately to find out the cause.

Linked to https://github.com/python/cpython/issues/92569

Watch https://github.com/nedbat/coveragepy/pull/1368


Remove Unity Files Downloader

I'm thinking of removing the unity files downloader script. You can't really do anything with the unity files and i doubt anyone uses it so i guess there is no point in keeping this.
Let me know what you think about that or if i should keep it.

Keep it for historical reasons, and back it up. A few times. Possibly off-site too. Twice. Twice off-site.

Keep it Bro, one day it will be useful !


Create Plugin: Add scenes app scaffolding

Waits for https://github.com/grafana/plugin-tools/pull/246
This adds a template for scaffolding apps with scenes (based on the template https://github.com/grafana/scenes-app-template)

📦 Published PR as canary version: Canary Versions

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

@jackw / @leventebalogh - what are the next steps from your end to get this landed?

Thanks all or the reviews <3


Which version of tensorflow are you using ?

The version of keras on my machine is 2.0.0， tf =2.4.0,  the lstm, seq running OK!
But, I run the seq_atten model,  when model add AttentionDecoder class, remind me the tensorflow is wrong,
I have tried many tensorflow versions, the error as follow:
(1) when tensorflow' version = 2.0., 2.1., 2.2., 2.3., 2.4.*,
the error is "....\lib\site-packages\keras\backend\tensorflow_backend.py", line 47, in get_uid
graph = tf.get_default_graph()
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'";
(2) when tensorflow' version = 1.15., 1.14., 1.13., 1.12. ,  1.11.*
the error is "......\tensorflow\python\keras\engine\sequential.py", line 145, in add
'Found: ' + str(layer))
TypeError: The added layer must be an instance of class Layer. Found: <attention_decoder.AttentionDecoder object at 0x0000015EC3DED048> "
Last, or, can you please tell me about the version of various dependent libraries in this system?

Thanks for pointing out the errors occuring with attention_decoder.py with different versions of  tensorflow (tf).  With older version of tf and keras (not sure which version I used 2 years ago), it was running fine. Now when I tried to replace import keras.layers... all with tensorflow.keras... in attention_decoder code (because of tf_graph related error), Recurrent layer and InputSec can't be imported. We need to find these libraries. The author of code for attention_decoder.py has fixed some issues and updated in meantime. please check here whether it works: https://github.com/asmekal/keras-monotonic-attention/blob/master/attention_decoder.py
But I think the problem will remain same since even the updated code  imports keras..., not  tensorflow.keras.., so in the current form you might get error related to tf_graph.., and importing tensorflow.keras throws other errors.
As of now, I will comment the attention part from model.py. But if you have time and find solution and please do post it here as well.


deps: add alternative numpy version for py3.12

Resolves #43

Reference: https://python-poetry.org/docs/dependency-specification/#multiple-constraints-dependencies

I noticed in your support-python-3.12 branch  that you also bumped the version of the package onnxruntime. Do you know if that is necessary?

Thanks for the PR! Super helpful. And yes, I needed to bump onnxruntime version as well (the version I had seemed to throw some errors when tried to install on py 3.12). But not sure whether we could specify an earlier version or whether it must be this one.
But since we would specify these only for py >=3.12, I guess it's not a big deal?
And if it's not a big deal, I'm wondering whether we should update the versions for all our deps...
I'm trying to think whether we could introduce future problems by forcefully bump the required version of these packages, or whether it's really not a problem...

@reyammer I covered the changes from this PR in https://github.com/google/magika/pull/174 Upgraded both Numpy and onnxruntime to be able to support py3.12

@gaby this PR seems better, as it supports BOTH py 3.8 and py 3.12! For the py 3.12 support I'm taking this one, but yours also has good stuff on upgrading the other packages. I hope it doesn't create too many problems :-) I'll follow up with more comments in #174


Remove unnecessary borrows from code

In the current nightly version of rust's clippy a new check for finding
unnecessary borrows on variables was added. This check has identified
several places we're passing a borrowed references that wasn't
necessary. This commit just fixes those places identified by nightly
clippy so that when rust 1.55 is released we don't have any issues.

Pull Request Test Coverage Report for Build 964459830

10 of 10 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.8%) to 96.675%

Files with Coverage Reduction
New Missed Lines
%

src/isomorphism.rs
1
97.61%

Totals

Change from base Build 960868250:
-0.8%

Covered Lines:
5525

Relevant Lines:
5715

💛  - Coveralls


glsl_analyzer: 1.4.5 -> 1.5.1

Description of changes
glsl_analyzer: 1.4.5 -> 1.5.1
This new version is built with Zig 13 instead of Zig 12, and it contains an array-formatting bug fix.

Things done

Built on platform(s)

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

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 331369 run on x86_64-linux 1

1 package built:

glsl_analyzer

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 331369 run on aarch64-darwin 1

1 package built:

glsl_analyzer


init should automatically make config file selecting a tessel

Per discussion on the T2 CLI spec
Dependent on https://github.com/tessel/t2-cli/issues/93

I still think this is a bad idea. Folks would have to look up how to select a particular Tessel anyway so showing them how to set an environment variable is just as much effort (but more useful down the road). I have rarely seen people want to set a project to a specific Tessel

I agree. I think we need a clear picture of env vars rather than project mapped tessels

@johnnyman727 your comments belong on https://github.com/tessel/t2-cli/issues/93

Closing this based on removal in #93.


Unsoundness in union of object types

Bug Report

🔎 Search Terms

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about union types

⏯ Playground Link

Playground link with relevant code
💻 Code

type V = {
    a: {
        c: string,
    },
    b: number,
} | {
    b: number,
}

const v: V = {
    a: undefined,
    b: 1
}

if ('a' in v) {
    console.log(v.a.c);  // In runtime there would be an error of accessing undefined
}

🙁 Actual behavior
No error is found
🙂 Expected behavior
I know TS is not built to be sound, and it is more a static analytic tool for JavaScript. But is this behavior expected?
In this case, 'a' in v does not indicate v.a is { a: {.c: string } }, because v could be anything containing b: number, but we don't make any assumptions about a, since as long as b: number exists then v is V.
I also find if we initialize v as
const v: V = {
    a: 0,
    b: 1
}

It returns with an error Type 'number' is not assignable to type '{ c: string; }'., even though, it is a subtype of { b: number }.
So, it means "only undefined can be assigned to a"?
It seems a: undefined is a special case for object literals and union types, but it this documented anywhere?
Thanks in advance.

Duplicate of #34975.


Move "jest" config out of packages.json and put it inside "jest.conf.js" file

I'm submitting a feature request

Aurelia Skeleton Version
skeleton-esnext-webpack
skeleton-typescript-webpack

Framework Version:
1.1.5

Please tell us about your environment:

Operating System:
Windows 10

Node Version:
8.6.0

NPM Version:
5.4.2

JSPM OR Webpack AND Version
webpack 3.6.0

Browser:
all

Language:
TypeScript and ESNext

Current behavior:
Configurations of jest is currently inside package.json in these skeletons skeleton-esnext-webpack and skeleton-typescript-webpack.
Desired behavior:
Configurations of jest should be in a separate file jest.conf.js. To acheive this, first we create this file:
// test/jest.conf.js
const path = require('path');

module.exports = {

  rootDir: path.dirname(__dirname),

  modulePaths: [
    "<rootDir>/src",
    "<rootDir>/node_modules"
  ],

  moduleFileExtensions: ["js", "json"],

  transform: {
    "^.+\\.jsx?$": "babel-jest"
  },

  testRegex: "\\.spec\\.(ts|js)x?$",

  setupFiles: [
    "<rootDir>/test/jest-pretest.js"
  ],

  testEnvironment: "node",

  moduleNameMapper: {
    "aurelia-(.*)": "<rootDir>/node_modules/aurelia-$1"
  },

  collectCoverage: true,

  collectCoverageFrom: [
    "src/**/*.{js,ts}",
    "!**/*.spec.{js,ts}",
    "!**/node_modules/**",
    "!**/test/**"
  ],

  coverageDirectory: "<rootDir>/test/coverage-jest",

  coverageReporters: ["json", "lcov", "text", "html"]

};

Then remove "jest" property object from package.json.
Then make changes to the following lines in package-scripts.js :
      jest: {
        default: series(
          rimraf('test/coverage-jest'),
          crossEnv('BABEL_TARGET=node jest')
        ),
        accept: crossEnv('BABEL_TARGET=node jest -u'),
        watch: crossEnv('BABEL_TARGET=node jest --watch'),
      },

so they should take  --config=test/jest.conf.js as an extra argument:
      jest: {
        default: series(
          rimraf('test/coverage-jest'),
          crossEnv('BABEL_TARGET=node jest --config=test/jest.conf.js')
        ),
        accept: crossEnv('BABEL_TARGET=node jest --config=test/jest.conf.js -u'),
        watch: crossEnv('BABEL_TARGET=node jest --config=test/jest.conf.js --watch'),
      },

What is the motivation / use case for changing the behavior?
Having separate jest.conf.js will make it more consistent with karma.conf.js and protractor.conf.js way of setup.
Also, package.json will be less cluttered.
Shouldn't mix concerns inside package.json.

@3cp I think we can close this one..

This skeleton is deprecated.
The latest one is in https://github.com/aurelia/v1
But the jest config is still in package.json, it's quite easy to extract the part out to jest.config.js/ts. But I am not sure how the community will respond. I am fine with both ways, but some users prefer one way over the other.


New version: DynamicPPL v0.15.2

Registering package: DynamicPPL
Repository: https://github.com/TuringLang/DynamicPPL.jl
Created by: @torfjelde
Version: v0.15.2
Commit: 685a27d8559ab9bc320ce546d2db012a8644df3b
Reviewed by: @torfjelde
Reference: https://github.com/TuringLang/DynamicPPL.jl/commit/685a27d8559ab9bc320ce546d2db012a8644df3b#commitcomment-56199557

stahp


[Feature] Kaprekar Number Calculator

Description
Check if a number's square can be split into two parts that add up to the original number.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Proceed @Nayanika1402


Virtualenv for Reason

Sandboxes have been generally considered as a more predictable way to develop software. As we are encouraging people to install reason through sandboxes, we could also provide a good shell virtual environment for developers to use.
A virtualenv (idea borrowed from python), is basically a shell session that has augmented environment variables of a sandbox (for example, if reason is installed in a sandbox, the virtualenv session will have its PATH variable pointing to reason so rtop is available in commandline).
The virtualenv will also contain utilities to manipulate the sandbox, such as rebuilding a specific dependency. In the future, virtualenv can become a layer of indirection to communicate with underlying package management systems, including opam and npm
As an example, https://github.com/facebook/reason/issues/753 has been my first attempt to create such a virtualenv, please try it and give some feedbacks.
There could be different entry points to a virtualenv: In python's implementation, one has to directly source a bash file into its current session; in #753 a script is executed to pop up another shell; we have also tried to add a field in package.json/scripts so one can run npm run shell to fire a shell.
Like python's implementation, a virtual shell should also have an augmented shell prompt so people are always aware that they are inside a virtual environment and thus avoid certain operations that would pollute the global environment (preferably no global environment exists if everything is installed through sandbox)

I was under the impression that there is an opam local command being worked on that would do something similar to this in the sense that it would allow you to have path-local switches. How would this proposal interact with that feature?

@freebroccolo Hopefully the two will converge and the only thing that would change is the npm start command that has you entering the shell. I'm guessing that the new local opam stuff has a command for running a one-off script with the opam local switch environment set like lopam which ocamlc (which prints the local switch's ocamlc location).
So far, the main difference that I see is that with the npm sandboxes:

With the npm sandboxes, there is no global artifact, and deleting the directory deletes the sandbox.
npm sandboxes allow installing multiple versions for the same package (which is good for dev dependencies because your project can depend on reason-1.01 while a dependency can depend on reason-2.01 - since their only purpose is at build time.
npm supports symlinking of packages (not very well for git dependencies though - it overbuilds, so we might have to make our own implementation of the linking workflow).
opam and  npm both have many great features, that the other doesn't have yet. I hope opam will eventually get npm's features. (I also miss many of opam's).
With npm, there's no difference between a compiler as dependency and a regular dependency.
npm's workflow allows a package to declare an arbitrary git url as a dependency.
There is no manual review for npm publishing (obviously true for git dependencies, but even for officially published npm packages). This means that you can publish packages instantly and people can immediately start depending on them.
I think we've discovered a subset of features that works on both, and we've built a way to port from opam to npm for this subset (it was enough to compile all of core, each piece as an npm dependency).

That's just a summary of the differences, not a justification for supporting npm. There are many things that opam does better, in fact. A justification is that we are building IDE tooling on top of the Atom ecosystem, which uses npm as its dependency management system - we want to build that tooling in Reason itself. Also, many companies have npm support on network disconnected continuous integration hosts, but no opam support sadly. npm has a workflow that allows downloading the resources, uploading them to CI hosts, and then resuming the build (the source download and install are isolated processes). (opam might also have support for that, but at least two important companies interested in Reason (Facebook included) don't have opam support on hosts sadly.

It would be cool if opam supported the ability to download sources (without building), and then also generate an opam-less shell script that would build all of those sources using the opam conventions.

esyyyyyyy


Drush aliases not being created

Hello!
I'm not sure what it is I'm doing wrong, but for some reason when I fire up the VM my Drush aliases are not being created on my host machine. I've ensured that configure_local_drush_aliases is set to true.
It says in the documentation that it checks if Drush is installed on the host, and I know it is. I've tried looking through the provisioning scripts to see where it checks, but couldn't find it. I've tried making various changes, destroying the VM, and brining it back up again with no luck
I'm not sure where to go and can't seem to get the aliases working on my own either. Here is what I've changed in my config.yml:
vagrant_hostname: MYSITE.dev
vagrant_machine_name: MYSITE
local_path: /Users/richardrobinson/projects/MYSITE
build_makefile: false
drupal_core_path: /var/www/drupalvm

I'm running Vagrant 1.8.1 on OSX 10.11.5.
Thanks!

I just noticed something.
When I visited <IP_ADDRESS> it says this:

*Note: On Windows or when you don't have Ansible installed on your host, Drush aliases are only created inside the VM.

Do I just have to install Ansible on my host machine to get this working?

Correct, currently it only works if you have it installed on your host machine.

Awesome. So I need Ansible. I'll give that a whirl. Thank you very much!


Enter a wallet-based DAO , page can not exhibit content normally

Description
Enter a wallet-based DAO , page can not exhibit content normally
Steps To Reproduce

Log in...
Enter a wallet-based DAO https://test.tmrwdao.com/dao/members-dao`~atand_+|"-'.

Current Behavior

page can not exhibit content normally
Console has an error

Expected Behavior

page can exhibit content

Environment

Platform: PC
Browser: Chrome 126.0.6478.114

fixed confirm


Add stop time to Subtitles Column

This will help with trying to increase the context window, because we can
segment transcripts dynamically based on length and word count or something.

added end_time, changed timestamp to start_time everywhere #100