segfault on agglomeration classifier training with multiple iterations

Hi there,
I'm confronted with a segfault on training the agglomeration classifier with multiple iterations. See output below, It occurs with the example dataset as well as my own data. When using <--strategy-type 1> or <--strategy-type 2 --num-iterations 1> both run fine. I'm on OSX 10.10.5, but the behaviour on Linux 2.6.32-279.5.1.el6.x86_64 is identical. Could you please have a look at why this occurs?
Thanks,
Michiel
neuroproof_graph_learn \
training_sample2/oversegmented_stack_labels.h5 \
training_sample2/boundary_prediction.h5 \
training_sample2/groundtruth.h5 \
--classifier-name training_sample2/classifier_str2.xml \
--strategy-type 2 --num-iterations 2

ignore features:

 ** Learning iteration 1  **

Learn edge classifier ...
Building RAG ...done with 3051 nodes
Inclusion removal ...done with 3051 nodes
gt label counting
computed contingency table
gt label determined for 3051 nodes
ignore features:0 39 40 49 55 95 110 140 141 149 150 158 159 165 185 190
Features generated
Number of samples and dimensions: 13643, 175
Number of merge: 4840
Time required to learn RF: 53.00 sec
with training set accuracy :99.054
Classifier learned
accuracy = 99.0545
done with 3051 nodes

 ** Learning iteration 2  **

Learn edge classifier ...
cumulative learning, all

Building RAG ...done with 3051 nodes
Inclusion removal ...done with 3051 nodes
gt label counting
computed contingency table
gt label determined for 3051 nodes
Segmentation fault: 11

Hi Michiel,
Thanks for using Neuroproof. From a quick look, it looks like the learning function is trying to determine which features are not very informative using the feature value distribution. We are not using this trick and commented out the line invoking this function in the newer versions. Could you please check whether or not the follwoing line is commented/deleted in your BioPriors/StackLearnAlgs.cpp ?
//     if (prune_feature) feature_mgr->find_useless_features(all_features);
Please delete any txt file that was created by this command as well.
Let me know if the error persists after removing this line. Note also that, if you are not using a mitochondria channel in your pixelwise prediction, the use_mito bool value should be false.
Thanks
--Toufiq

Hi Toufiq,
Thanks for you fast response. I hope the following gives you a bit more info…

I’m running neuroproof through the conda recipe (‘conda list’ output below), so I’m not immediately able to to simply comment out the line and check. However ...

I’ve created a new anaconda env with the latest neuroproof version (1.2.1), but I get the the same segfault.

I indeed made the mistake of omitting the --use_mito flag, but adding it still results in the segfault.

I guess it is also relevant to mention that for the conda install, I have to cd to conda info --root/envs/neuroproof to get it to work in the first place. From any other location:
(neuroproof-test)ws133:envs michielk$ neuroproof_graph_learn $datadir/training_sample2/oversegmented_stack_labels.h5 $datadir/training_sample2/boundary_prediction.h5 $datadir/training_sample2/groundtruth.h5 --classifier-name $datadir/training_sample2/classifier_str2.xml --strategy-type 2 --num-iterations 5 --use_mito 0
dyld: Library not loaded: lib/libopencv_core.2.4.dylib
Referenced from: /Users/michielk/anaconda/envs/neuroproof-test/lib/./libopencv_ml.2.4.dylib
Reason: image not found
Trace/BPT trap: 5
So it seems to have trouble finding the correct libraries. However, this goes only for my local install on Mac, while not for Linux-install on our HPC cluster, which throws the same segfault.

I have checked out the full git repo, but haven’t got it to work yet… I’ll keep you posted on that.

Thanks,
Michiel
==
Michiel Kleinnijenhuis
Postdoctoral researcher
FMRIB Centre
Nuffield Department of Clinical Neurosciences
University of Oxford
JR Hospital, Headington, OX3 9DU, UK
Tel: +44 747 202 79 59
(neuroproof)ws133:envs michielk$ conda list
packages in environment at /Users/michielk/anaconda/envs/neuroproof:

boost                     1.55.0                        4    flyem
cloog                     0.18.0                        0    defaults
curl                      7.43.0                        1    defaults
fftw                      3.3.4                         1    flyem
freetype                  2.5.2                         2    http://repo.continuum.io/pkgs/free/osx-64/freetype-2.5.2-2.tar.bz2
gcc                       4.8.2                         5    defaults
gmp                       5.1.2                         6    defaults
hdf5                      1.8.14                        0    defaults
isl                       0.12.2                        1    defaults
jpeg                      8d                            1
jsoncpp                   1.6.2                         1    flyem
krb5                      1.13.2                        0    defaults
libdvid-cpp               0.1                  np19py27_5    flyem
libgcc                    4.8.4                         1    flyem
libpng                    1.6.17                        0    http://repo.continuum.io/pkgs/free/osx-64/libpng-1.6.17-0.tar.bz2
libtiff                   4.0.2                         1
libxml2                   2.9.2                         0    http://repo.continuum.io/pkgs/free/osx-64/libxml2-2.9.2-0.tar.bz2
lz4                       128                           1    flyem
mpc                       1.0.1                         0    defaults
mpfr                      3.1.2                         0    defaults
neuroproof                1.1                      py27_9    flyem
nose                      1.3.7                    py27_0    http://repo.continuum.io/pkgs/free/osx-64/nose-1.3.7-py27_0.tar.bz2
numpy                     1.9.2                    py27_0    http://repo.continuum.io/pkgs/free/osx-64/numpy-1.9.2-py27_0.tar.bz2
opencv                    <IP_ADDRESS>                      1    flyem
openssl                   1.0.1k                        1    http://repo.continuum.io/pkgs/free/osx-64/openssl-1.0.1k-1.tar.bz2
pip                       7.1.0                    py27_0    defaults
python                    2.7.10                        0    http://repo.continuum.io/pkgs/free/osx-64/python-2.7.10-0.tar.bz2
qt                        <IP_ADDRESS>                      1    flyem
readline                  6.2                           2
setuptools                18.0.1                   py27_0    defaults
sqlite                    <IP_ADDRESS>                       1    http://repo.continuum.io/pkgs/free/osx-64/sqlite-<IP_ADDRESS>-1.tar.bz2
tk                        8.5.18                        0    http://repo.continuum.io/pkgs/free/osx-64/tk-8.5.18-0.tar.bz2
vigra                     1.10                  8_5dde887    flyem
vtk                       <IP_ADDRESS>           with_pyqt_5    flyem
zlib                      1.2.8                         0    http://repo.continuum.io/pkgs/free/osx-64/zlib-1.2.8-0.tar.bz2
On 1 Mar 2016, at 14:47, paragt <notifications<EMAIL_ADDRESS>wrote:
Hi Michiel,
Thanks for using Neuroproof. From a quick look, it looks like the learning function is trying to determine which features are not very informative using the feature value distribution. We are not using this trick and commented out the line invoking this function in the newer versions. Could you please check whether or not the follwoing line is commented/deleted in your BioPriors/StackLearnAlgs.cpp ?
// if (prune_feature) feature_mgr->find_useless_features(all_features);
Please delete any txt file that was created by this command as well.
Let me know if the error persists after removing this line. Note also that, if you are not using a mitochondria channel in your pixelwise prediction, the use_mito bool value should be false.
Thanks
--Toufiq
—
Reply to this email directly or view it on GitHubhttps://github.com/janelia-flyem/NeuroProof/issues/4#issuecomment-190751021.

Hi Michiel,
Glad to help you in your project, thanks for the info you provided. I forgot about the new conda installation. I made some changes in the neuroproof after I received your email and got some problems in the make test, we are working to fix those now. Please bug me within a couple of days in case I dont get back to you by then.
Thanks
--Toufiq

Okay, thanks. Your help is much appreciated.
Michiel
==
Michiel Kleinnijenhuis
Postdoctoral researcher
FMRIB Centre
Nuffield Department of Clinical Neurosciences
University of Oxford
JR Hospital, Headington, OX3 9DU, UK
Tel: +44 747 202 79 59
On 1 Mar 2016, at 17:42, paragt <notifications<EMAIL_ADDRESS>wrote:
Hi Michiel,
Glad to help you in your project, thanks for the info you provided. I forgot about the new conda installation. I made some changes in the neuroproof after I received your email and got some problems in the make test, we are working to fix those now. Please bug me within a couple of days in case I dont get back to you by then.
Thanks
--Toufiq
—
Reply to this email directly or view it on GitHubhttps://github.com/janelia-flyem/NeuroProof/issues/4#issuecomment-190827976.

Hi Michiel,
I think the problem is fixed now. The instruction you can follow to check out the git repo and build yourself with conda are as follows. Please let me know if you have problem with this.
Thanks
--Toufiq
PS: conda info --root is the folder where you save the environments within your conda folder.
Set up a conda environment with all dependencies
conda create -n myenv -c flyem neuroproof
source activate myenv
PREFIX=$(conda info --root)/myenv
export LD_LIBRARY_PATH=${PREFIX}/lib # Linux
export DYLD_FALLBACK_LIBRARY_PATH=${PREFIX}/lib # Mac
Discard the downloaded binary; we'll build our own.
conda remove neuroproof
Clone and build
git clone https://github.com/janelia-flyem/neuroproof
cd neuroproof
./configure-for-conda.sh ${PREFIX}
cd build
make -j4
make install
make test

Hi Toufiq,
Regarding the install:
All tests passed. However, to get the it going:

Your line in the email below should probably read (this is also in the README)
PREFIX=$(conda info --root)/envs/myenv
instead of
PREFIX=$(conda info --root)/myenv
I had to use an adapted build.sh, as I’m on Xcode7 which does not include the requested MacOSX10.10.sdk (see output NP-bug_make_before-adapted-buildscript.output attached). May I suggest that you add the following two lines to your build.sh (as found in https://forums.developer.apple.com/thread/17334)? That worked for me.
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=""
-DCMAKE_OSX_SYSROOT:STRING=/ \

Regarding the segfault:
Unfortunately, it’s still there! On Mac, haven’t tested on the cluster yet.

best wishes,
Michiel
==
Michiel Kleinnijenhuis
Postdoctoral researcher
FMRIB Centre
Nuffield Department of Clinical Neurosciences
University of Oxford
JR Hospital, Headington, OX3 9DU, UK
Tel: +44 747 202 79 59
On 1 Mar 2016, at 18:38, paragt <notifications<EMAIL_ADDRESS>wrote:
Hi Michiel,
I think the problem is fixed now. The instruction you can follow to check out the git repo and build yourself with conda are as follows. Please let me know if you have problem with this.
Thanks
--Toufiq
PS: conda info --root is the folder where you save the environments within your conda folder.
Set up a conda environment with all dependencies
conda create -n myenv -c flyem neuroproof
source activate myenv
PREFIX=$(conda info --root)/myenv
export LD_LIBRARY_PATH=${PREFIX}/lib # Linux
export DYLD_FALLBACK_LIBRARY_PATH=${PREFIX}/lib # Mac
Discard the downloaded binary; we'll build our own.
conda remove neuroproof
Clone and build
git clone https://github.com/janelia-flyem/neuroproof
cd neuroproof
./configure-for-conda.sh ${PREFIX}
cd build
make -j4
make install
make test
—
Reply to this email directly or view it on GitHubhttps://github.com/janelia-flyem/NeuroProof/issues/4#issuecomment-190845809.

Can’t say gdb works flawlessly, but maybe the attached stacktrace would be useful to you.
Michiel
On 2 Mar 2016, at 10:36, Michiel Kleinnijenhuis <michiel.kleinnijenhuis<EMAIL_ADDRESS>wrote:
Hi Toufiq,
Regarding the install:
All tests passed. However, to get the it going:

Your line in the email below should probably read (this is also in the README)
PREFIX=$(conda info --root)/envs/myenv
instead of
PREFIX=$(conda info --root)/myenv
I had to use an adapted build.sh, as I’m on Xcode7 which does not include the requested MacOSX10.10.sdk (see output NP-bug_make_before-adapted-buildscript.output attached). May I suggest that you add the following two lines to your build.sh (as found in https://forums.developer.apple.com/thread/17334)? That worked for me.
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=""
-DCMAKE_OSX_SYSROOT:STRING=/ \

Regarding the segfault:
Unfortunately, it’s still there! On Mac, haven’t tested on the cluster yet.

best wishes,
Michiel
==
Michiel Kleinnijenhuis
Postdoctoral researcher
FMRIB Centre
Nuffield Department of Clinical Neurosciences
University of Oxford
JR Hospital, Headington, OX3 9DU, UK
Tel: +44 747 202 79 59
<NP-bug_configure-for-conda_after-adapted-buildscript.output>
<NP-bug_configure-for-conda_before-adapted-buildscript.output>
<NP-bug_make_after-adapted-buildscript.output>
<NP-bug_make_before-adapted-buildscript.output>
<NP-bug_make-install.output>
<NP-bug_make-test.output>
On 1 Mar 2016, at 18:38, paragt <notifications<EMAIL_ADDRESS>wrote:
Hi Michiel,
I think the problem is fixed now. The instruction you can follow to check out the git repo and build yourself with conda are as follows. Please let me know if you have problem with this.
Thanks
--Toufiq
PS: conda info --root is the folder where you save the environments within your conda folder.
Set up a conda environment with all dependencies
conda create -n myenv -c flyem neuroproof
source activate myenv
PREFIX=$(conda info --root)/myenv
export LD_LIBRARY_PATH=${PREFIX}/lib # Linux
export DYLD_FALLBACK_LIBRARY_PATH=${PREFIX}/lib # Mac
Discard the downloaded binary; we'll build our own.
conda remove neuroproof
Clone and build
git clone https://github.com/janelia-flyem/neuroproof
cd neuroproof
./configure-for-conda.sh ${PREFIX}
cd build
make -j4
make install
make test
—
Reply to this email directly or view it on GitHubhttps://github.com/janelia-flyem/NeuroProof/issues/4#issuecomment-190845809.

We're seeing the same thing on Linux.  Commit 23992fa424

I think the problem occurs because a deleted edge is being revisited here:
https://github.com/janelia-flyem/NeuroProof/blob/master/src/Algorithms/FeatureJoinAlgs.h#L127
I patched the code with the following test at that line and it ran to completion past the segfault:
        if (((*iter)->get_node1() == node_remove) ||
           ((*iter)->get_node2() == node_remove))
           continue;

That should test for the edge that's been merged out and should avoid reinserting it into the queue and trying to use the deleted node_cache for node_remove.

Thanks for your contribution Lee!  If you want, please create a pull request and assuming the integration tests pass I will accept it.


Quaternion.abs squashes dimensions

When using a tensor of shape [N, 4], the Quaternion.abs function produces a scalar. I would expect this to behave more like the Quaternion.norm function, which does preserve dimensions. An unfortunate side effect of this is that the Quaternion.normalized scales each quaternion by the same scalar, instead of by the norm of each quaternion. Is my understanding of the expected functionality correct?

Nice catch, thanks!
f41c7035e64c18b6cfedfbf4153b207807bcb1f3 should fix this but it usually takes a day until it's up in pypi ;)


Any widget example for azure-sdk?

Hello,
This documentation site using the old vss-sdk: https://docs.microsoft.com/en-us/azure/devops/extend/develop/add-dashboard-widget?view=azure-devops
Is there a newer documentation for widgets with the azure sdk or any examples?
I already found this repository with some examples: https://github.com/Microsoft/azure-devops-extension-sample
But there is no widget example or im misunderstood smth?

@SephirotJustin Thank you for the question, assigning this to the author for review.

Hi @SephirotJustin, This should work for you, but please tell me if it doesn't help: https://developer.microsoft.com/en-us/azure-devops/develop/extensions

@SephirotJustin please let me know if you have any further questions by @mentioning me. Thanks!


2.7.0  error with "fabric-networking-api-v1-3.0."

I downloaded the newest version because of problems with luck perms pre uuid or something preventing me from connecting but this version is preventing the server even from starting so i had to downgrade to 2.6.0 and remove luck perms. It sometimes told me in the console that the conflicting mod is create but after removing it, it was still happening. Im posting full log.
2023-12-26-4.log

2.7.0 only supports 1.20.2 and does not change compatibility with LuckPerms.
Have you followed the mod description and enabled hackEarlySend?

Yeah right after i posted this... sorry. So it works and i can close this i guess.


test(vrt): update visual snapshots for konradkalemba:master [skip ci]

This PR was generated based on visual changes detected in #3729. Please verify that the updated snapshots look correct before merging this PR into konradkalemba:master.

Visual changes have been resolved. This PR will be closed and vrt/konradkalemba/baseweb/master will be deleted. If future commits on konradkalemba:master trigger visual changes, a new snapshot branch will be created and a new PR will be opened.


Add FizzBee to starlark users list

FizzBee is a system design language that enables mainstream software engineers to automatically verify distributed system designs for cloud, micro-services, and event-driven applications.
FizzBee uses Starlark to provide an intuitive, Python-like specification language, unlike other formal languages that rely on complex mathematical syntax.

@tetromino @stepancheg @meisterT If you don't mind can you talk a look?


Improve the Instructions iterator for scripts

Rename the iter method to instructions.
Add instructions_minimal for minimal-enforced iteration.
Iterator has Result<Instruction, Error> as items.

Fixes https://github.com/rust-bitcoin/rust-bitcoin/issues/396.

Can you kick travis? Seems I cannot. Maybe it is just too old.

Rebased and added this small nit:
diff --git a/src/util/contracthash.rs b/src/util/contracthash.rs
index 0d94b99..345e9bc 100644
--- a/src/util/contracthash.rs
+++ b/src/util/contracthash.rs
@@ -231,7 +231,7 @@ pub fn untemplate(script: &script::Script) -> Result<(Template, Vec<PublicKey>),
         if let Err(e) = instruction {
             return Err(Error::Script(e));
         }
-        match instruction.ok().unwrap() {
+        match instruction.unwrap() {
             script::Instruction::PushBytes(data) => {
                 let n = data.len();
                 ret = match PublicKey::from_slice(data) {

This should also kick Travis. I don't know what's going on but on ElementsProject/elements, I also can't restart Travis jobs anymore. It's been like that for a few weeks now.


[bug] fix fg export bug for multitask models

fix fg export bug for multitask models

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.杨熙 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


feat: add guid_prefix for installer guid variants

https://github.com/ForesightMiningSoftwareCorporation/github/pull/122

@loispostula Could we please get this reviewed/merged. I believe it is blocking https://github.com/ForesightMiningSoftwareCorporation/orica_libs/issues/562


WIP: fix: show correct values on preference setting view (#491)

fix: replace showNotMatchAsWarning as notMatchWarnning

fix: show default value while option value is empty. fixed #473

fix: number type preference validate error. fixed #440

fix: fontWeight configuration define

[x] Other Changes

Background or solution
Changelog

/publish

/publish


Back button causes ExpressionChangedAfterItHasBeenCheckedError

Issue type
I'm submitting a ...  (check one with "x")

[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:

Dev Tools console error
NbMenuItemComponent.html:1 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'max-height: 0'. Current value: 'max-height: 176'.

Expected behavior:

Navigate the website without errors.
Steps to reproduce:

Install the latest version
browse to http://localhost:4200/
Click on the Auth menu item
Click on Login
Click on the browser back button.

Other information:
npm, node, OS, Browser
Node, npm: v6.10.2 and 4.2.0
OS: macOS High Sierra (10.13.2)
Browser: Chrome Version 64.0.3282.167

Angular, Nebular
"@agm/core": "1.0.0-beta.2",
"@angular/animations": "^5.2.8",
"@angular/common": "^5.2.8",
"@angular/compiler": "^5.2.8",
"@angular/compiler-cli": "^5.2.8",
"@angular/core": "^5.2.8",
"@angular/forms": "^5.2.8",
"@angular/http": "^5.2.8",
"@angular/language-service": "^5.2.8",
"@angular/platform-browser": "^5.2.8",
"@angular/platform-browser-dynamic": "^5.2.8",
"@angular/router": "^5.2.8",
"@asymmetrik/ngx-leaflet": "3.0.1",
"@nebular/auth": "2.0.0-rc.6",
"@nebular/security": "2.0.0-rc.6",
"@nebular/theme": "2.0.0-rc.6",
"@ng-bootstrap/ng-bootstrap": "1.0.0",
"@swimlane/ngx-charts": "7.0.1",
"angular2-chartjs": "0.4.1",
"angular2-toaster": "4.0.1",
"bootstrap": "4.0.0",
"chart.js": "2.7.1",
"ckeditor": "4.7.3",
"classlist.js": "1.1.20150312",
"core-js": "2.5.1",
"echarts": "^4.0.2",
"font-awesome": "4.7.0",
"intl": "1.2.5",
"ionicons": "2.0.1",
"leaflet": "1.2.0",
"nebular-icons": "1.0.6",
"ng2-ckeditor": "1.1.13",
"ng2-smart-table": "1.2.2",
"ng2-tree": "2.0.0-rc.4",
"ngx-echarts": "2.0.1",
"normalize.css": "6.0.0",
"pace-js": "1.0.2",
"roboto-fontface": "0.8.0",
"rxjs": "5.5.5",
"socicon": "3.0.5",
"tinymce": "4.5.7",
"typeface-exo": "0.0.22",
"web-animations-js": "2.2.5",
"zone.js": "0.8.18"

I'm facing the same issue..

Let's keep track on this one here https://github.com/akveo/nebular/issues/263.

fixed in v2.1.1


Include local timezone in context

Currently the time zone defaults to wherever the application is hosted (I think) and using functions like .now doesnt really help the end user, as they are likely not based in the same time zone as the application.
If we can send in users timezone as context this is easily fixed.
https://console.bluemix.net/docs/services/conversation/supported-timezones.html#time-zones-supported-by-system-entities

As discussed, we may look into this at a future date.


model.evaluate with 'rmse' returns incorrect scores?

Hi,
I have the following weird situation: I cannot recreate the way keras calculates RMSE on a test set. It seems to return too good results (RMSE is too low). We seems worrying, since this is also my objective during training.
model.load_weights("simple.3.h5")
model.compile(loss='rmse', optimizer='adagrad')

# Calculate test set score with Keras
score = model.evaluate(X_test, y_test, batch_size=batch_size)

# Calculate test set score manually after prediction
predict = model.predict(X_test, batch_size=batch_size)
score2 = np.sqrt(np.mean(np.square(predict - y_test)))

print('Test score:', score, score2)
And I get the following output:
Test score: 17.0371643621 24.382910713
Is there any explanation why those two scores would be different that I am missing? There is no modification of X_test, y_test between the evaluate, predict calls.
Thanks,
Marcin

Or could this actually be the average RMSE over batches as during training?

It's not the same mathematical formula. What Keras computes is:
np.sum([np.sqrt(np.mean(np.square(predict_batch - y_batch)))] for predict_batch, y_batch in batches]) / nb_samples
i.e. Keras computes the loss batch by batch. To avoid inconsistencies I recommend using MSE instead.


[WIP/backport/1.25] repo: Dev 1.25.2-dev

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/docs


increasing test coverage

Codecov Report

Merging #97 into 0.6.x will increase coverage by 2.19%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##            0.6.x      #97      +/-   ##
==========================================
+ Coverage   37.84%   40.04%   +2.19%
==========================================
  Files          15       15
  Lines         930      929       -1
==========================================
+ Hits          352      372      +20
+ Misses        563      541      -22
- Partials       15       16       +1

Impacted Files
Coverage Δ

internal/argotunnel/informer.go
47.69% <ø> (+0.72%)
:arrow_up:

internal/argotunnel/worker.go
0% <0%> (ø)
:arrow_up:

internal/argotunnel/tunnel.go
45.8% <0%> (+10.32%)
:arrow_up:

internal/k8s/types.go
100% <0%> (+21.05%)
:arrow_up:

Continue to review full report at Codecov.

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


Transition to GA: storagesync

Command module storagesync has been released for a long time and is using stable sdk version 2019-06-01.
Please check Extension GA guidelines and remove experimental tag if necessary.

storagesync


macOS or OS X

With the release of Sierra, it's no longer called OS X

I'd suggest merging this as macOS sounds more suave 😉

yea, I like this change... Not sure why I was not notified of this PR for the last 2 years... sorry about that!


[spi_device] Add separate constraints for TPM and fast passthrough

Add constraints that are specific to TPM and fast passthrough commands. This might be excessive, but now there are five constraints modes:

50 MHz, full-cycle sampling, no passthrough, flash I/O delays
25 MHz, half-cycle sampling, no passthrough, flash I/O delays
25 MHz, half-cycle sampling, TPM I/O delays
25 MHz, full-cycle sampling, all passthrough, flash I/O delays
40 MHz, full-cycle sampling, pipelined passthrough only, flash I/O delays

We may be able to consolidate these, but we'll likely want to take a look at the data first.
In addition to the new constraint sets, some generic mode-specific exceptions get removed, and we select IOA7 as the only timed pad for SPI TPM's CSB. We should confirm that this is the correct chosen pad.
Finally, just a note, but for real synthesis, the pads should be set to the appropriate configuration to effect the intended data sheet. The defaults (e.g. minimum drive strength) will likely lead to very long pad delays used in analysis.

Related to the TPM CSB discussion: https://github.com/lowRISC/opentitan/issues/21538


Codebase: Priorize and fix issues from static code analysis

[x] add plugin with id "olympixai.olympix" to vscode setup
[ ] priorize / work on issues

repriorized to 2, after looking into a few of the issues the false alam rate seemed quite high

too many false alarms.


content: url fails to compile

Hi,
while
content: "Hello";
is compiled right, this other:
content: url(assets/checkbox-tick.svg);
Fails with the following error:
Internal error: java.lang.ClassCastException: org.apache.royale.compiler.internal.css.CSSURLAndFormatPropertyValue cannot be cast to org.apache.royale.compiler.internal.css.CSSStringPropertyValue org.apache.royale.compiler.internal.css.CSSProperty.toCSSString(CSSProperty.java:77)
I'll try to do this in other way, but for now it seems the best way to create the tick in a checkbox via svg. Tested modifying the CSS live on the browser works great. Hope you could fix this
Thanks

You are missing quotes in the url var. It should be something like this:
content: url('assets/checkbox-tick.svg');

That said, it could be the error should be more descriptive...

Hmm. It seems like unquoted urls are allowed in HTML CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/url

Right, in fact we need to support unquouted, since this is related to bug #35
I'm think I solved it in compiler, but now don't know how to handle it in SimpleCSSValuesImpl, since it seems it expects to have the quotes, but don't know where is processed. At least with my fix in the compiler branch there's no error, but it's not working ok

But regarding you proposed solution I tried to use it with quotes and it doesn't work.

Hi Alex, This is working now, thanks!


📖 Updated wording to clarify user interaction and DOM updates in amp-live-list

Contributes to issue #787

Hi,
Thanks for pointing that out - hopefully its more clear now


feat: polish locale

Hi! I thought it would be nice to add polish translation :) Unfortunately proper form of word "seconds" depends on the passed number (and is not straightforward), so it would require rebuilding translations to .stringsdict files. So I just left " _ s.", which feels ok to me and I think is quite common solution.

Hey @NoemiRozpara Thank you for providing the Polish version for our users! This is very appreciated 💯 :)


Support to WASM in flutter web

This library has errors for WASM;
package:fluttermoji => package:get => dart:HTML
maybe the problem is from by the library get
Context: The unavailable library 'dart:html'

Please, is the latest library of  my code to be able compile to WASM


NTR: [induction by virus of host reticulophagy]

Please provide as much information as you can:

Suggested term label: induction by virus of host reticulophagy

Definition (free text) Any process in which a virus activates or increases the frequency, rate or extent of reticulophagy in the host.

Reference, in format PMID:####### PMID:35239449

Gene product name and ID to be annotated to this term P0DTC3 (AP3A_SARS2)

Parent term(s) GO:0039520 (induction by virus of host autophagy)

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

+[Term]
+id: GO:0140883
+name: induction by virus of host reticulophagy
+namespace: biological_process
+def: "Any process in which a virus activates or increases the frequency, rate or extent of reticulophagy in the host." [PMID:35239449]
+synonym: "activation of host reticulophagy by virus" EXACT []
+synonym: "positive regulation by virus of host reticulophagy" BROAD []
+is_a: GO:0010508 ! positive regulation of autophagy
+is_a: GO:0039519 ! modulation by virus of host autophagy
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/23616 xsd:anyURI
+created_by: pg
+creation_date: 2022-07-08T05:08:02Z

Merge GO:0075044 positive regulation by symbiont of host autophagy (no annotations)
into child GO:0039520 induction by virus of host autophagy
The multi-organism WG has decided to use induction (and suppression) of host processes to distinguish from normal regulation.

GO:0140883 induction by virus of host reticulophagy >> change label to symbiont-mediated activation of host reticulophagy'


fix: avoid popper tooltip text from overflowing

🎯 Goal
Avoid popper tooltip from text from overflowing
🎨 UI Changes
Bug

Fix

:tada: This PR is included in version 3.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Installed package should not be marked as ✘

I just met the confusion reported at https://github.com/Homebrew/brew/issues/2259.
Since that issue locked and limited conversation to collaborators, I have to open a new one. Otherwise, I will simply comment on that issue.  (Please don't lock conversation if you don't want any duplicated bugs)
I don't think the decision made in that issue is correct. It definitely should not be ✘. This confused me a lot. It's an incorrect behavior.

Although this isn't ideal I think it is something that we can't really fix for the above reasons without causing additional confusion, sorry.

Please don't open duplicate issues and always fill out the issue template in future.


Add flag in Adapter and Operator to disable TLS on the GRPC connection

Proposal
We use Envoy, an internally built CA, and a networking model that does not use standard Kubernetes networking. Therefore, to achieve mTLS between pods, we use Envoy and need to turn off TLS verification in the service code.
I would like to add a command-line flag to the adapter and operator called insecure-metrics-service-skip-tls-verify that when true, disables TLS credentials in the GRPC client and server.
Use-Case
For users of KEDA where TLS is handled by a proxy, disabling TLS in the GRPC client and server enables GRPC to work over a proxied connection.
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response

Found a way to do this without disabling TLS

Found a way to do this without disabling TLS

How did you do that, exactly?
I'm trying to integrate Keda with Istio Mesh, any tip could be useful (for many people).

@1it I actually bypassed the mesh and relied on mTLS within KEDA. I also used this flag that I added to override the GRPC authority header to match the identity I expect to be in the returned certifcate.
Additionally, our Envoy mesh has support for adding an HTTPS endpoint to the client side proxy. I was able to add that for other uses. As istio is based on Envoy, you can look into adding an HTTPS listener, too.


Update jupiter to v2 api

Update jupiter price fetching to use V2 API.
code should work but I have not tested with a valid .env
regards,
Miester.

closed in favor of #34


Add support for simplified predict interface

Fixes #697
Changelog

Add new decode_args decorator which unwraps an InferenceRequest into a set of kwargs (same for the InferenceResponse)
Update custom example to use new interface

TODO

[x] Add high-level guide in usage docs

@adriangonz that's a great feature, not release yet but I love it :D I think the necessity of knowing the V2 was a huge drawback in terms of developer experience


I have Created My pixel.

I have done my contribution.

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

I have make my pixel .


Can't install JRuby

I'm try to install JRuby over rbenv. But catch error on compile step.
Downloading jruby-bin-<IP_ADDRESS>.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/60598a465883ab4c933f805de4a7f280052bddc793b95735465619c03ca43f35
Installing jruby-<IP_ADDRESS>...

BUILD FAILED (Ubuntu 14.04 using ruby-build 20160602-23-g1a37ab1)

Inspect or clean up the working tree at /tmp/ruby-build.20161130162605.603
Results logged to /tmp/ruby-build.20161130162605.603.log

Last 10 log lines:
Building native extensions.  This could take a while...
ERROR:  Error installing jruby-launcher:
        ERROR: Failed to build gem native extension.

    current directory: /home/sv/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jruby-launcher-1.1.1-java
/home/sv/.rbenv/versions/jruby-<IP_ADDRESS>/bin/jruby -r ./siteconf20161130-665-1uxpvsg.rb extconf.rb
Cannot allocate memory - /home/sv/.rbenv/versions/jruby-<IP_ADDRESS>/bin/jruby -r ./siteconf20161130-665-1uxpvsg.rb extconf.rb 2>&1

Gem files will remain installed in /home/sv/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jruby-launcher-1.1.1-java for inspection.
Results logged to /home/sv/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/extensions/universal-java-1.7/2.3.0/jruby-launcher-1.1.1-java/gem_make.out

For install
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
cd ~/.rbenv && src/configure && make -C src
export PATH="$HOME/.rbenv/bin:$PATH"
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
rbenv install jruby-<IP_ADDRESS>

Can you manually increase your Windows pagefile size? Try 4GB minimum.

memory state on install launching:
Mem:   6290548 total,  5268928 used,  1021620 free,    34032 buffers
Swap:  8265268 total,   698476 used,  7566792 free.   188576 cached Mem

With Java 7 installed successful, but with Java8 next error:
/tmp/ruby-build.20161202112213.3076/jruby-<IP_ADDRESS> /tmp/ruby-build.20161202112213.3076 ~/develop
ERROR:  While executing gem ... (SocketError)
    initialize: name or service not known

Launch Bash as admin, same result:
BUILD FAILED (Ubuntu 14.04 using ruby-build 20160602-23-g1a37ab1)

Inspect or clean up the working tree at /tmp/ruby-build.20161202112553.70
Results logged to /tmp/ruby-build.20161202112553.70.log

Last 10 log lines:
Accept-Ranges: bytes
Server: AmazonS3
Age: 1509
X-Cache: Hit from cloudfront
Via: 1.1 b0c1028ac1da2bf7c9c2147888569a4f.cloudfront.net (CloudFront)
X-Amz-Cf-Id: aqgfdScJGVXofztOU6fLiuig_AdA4YS9rLR9NKacmX2BOip3EcAAJA==

/tmp/ruby-build.20161202112553.70/jruby-<IP_ADDRESS> /tmp/ruby-build.20161202112553.70 ~
ERROR:  While executing gem ... (SocketError)
    initialize: name or service not known

@fuCtor - Thanks for reporting the issue. Can you please follow the issue template to log the issue so that we have all the information needed to triage the issue? It also makes it for faster resolution.

Thanks @fuCtor for reporting the issue. Can you please follow the issue template to report issues? It provides us much greater level of information to triage issues faster.


ExcelPainter - incorrect text_key passed to translate_metric

Line 1315, the first text_key is passed to translate_metric. This is not necessarily an approved language text key...
view.translate_metric(text_key['x'][0], set_value='meta')

This will be resolved by #290.


Origami - Updated Design - 2

Link to original project proposal.
Proposal
Link to most recent milestone payout request.
Payout Request
Proof of work
PR.
Repo.
View the deployed app here.
Screenshots
Private Keys were blurred to obfuscate key value.

mobile
desktop
print

randomising seed
generating account

Milestone Description
Updated Design

#
Objective
How can auditors verify milestone?

1
Marketing UI (i.e. make it more consumer focused) - ie. add design from Proposal
https://origami-beta.vercel.app/

2
Show basic tutorial
https://origami-beta.vercel.app/

How long do you estimate this milestone will take to complete?
Done. (2 weeks).
Project Wallet
baa336bca22c7590256a86c002e4dbe6c1f1c1f6c0a0fd3f0681eecb2cad0787

@manishram - would like to label this as payment request btw -

I could probably fix the mobile view but might do that on the last milestone (and update the selection logic)
*mobile doesn't look great but i'll fix that in the final Milestone

@wakawakathedev, approved as a milestone payout request. Can you create a milestone and link them?
In the doc's it refers to selecting a design, however this doesn't happen. Is this because there's only 1 design right now?

This design looks awesome, when could we get it?

For the above - I'd like to refactor the design selection (it's currently app) -
basically accumulated some tech-debt when trying to get this out the door.
Selecting isn't available right now but have a few other things to do this week before I can jump back onto this.
I'll include design selection + designs in the final milestone.

. Can you create a milestone and link them?
@tspearing - what do you mean by this?

@wakawakathedev, we converted this into a milestone payout request. Can you just create a milestone for us to approve and then link them? It can be really simple.

@tspearing like this?
https://github.com/thenewboston-developers/Projects/issues/380

Approved for 5000 TNBC.


Ignore exporting with .gitattributes

I don't know why I can't contribute this fork but should be created .gitattributes file that includes:
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.php-cs-fixer.dist.php export-ignore

Thanks.
Added in 2.3.3


Delete your jQuery Functions not passing with correct code

Challenge Name
Delete your jQuery Functions
Issue Description
Correct code does not pass.
It wants }); to be on a new line, which is weird.
First time seeing any1 with this problem so I think this is kind of bike-shredding but I will let you decide
Browser Information

Browser Name, Version: Chrome v56
Operating System: OS X 10.10
Mobile, Desktop, or Tablet:

Your Code
<script>
$(document).ready(function(){});
</script>

Screenshot

I can verify this issue. Working on it.


Change paralell to threads

Change paralell to threads. Save ~200 msec in my machine 1.7 sec to 1.5 sec

I tried that even in the first attempt: https://github.com/buybackoff/1brc/commit/f1b81f8a590a8a42d5be8358e6ba30489e678592#diff-c23b3a4b594cd434906b503ac730336620a2a9854b42a783b2978c254b358a30R111-R114
Simple tasks, long running tasks, threads, PLINQ - it makes no difference.
Do you have turbo boost enabled on your CPU? If so, the numbers could be very unreliable.

Could you run my project to prove or disprove the hypothesis?

It doesn't work this way. It's my project and I said already that it does not matter, tried multiple times. PLINQ looks nicer.


Fix some typos throughout the dictionary.

Let me know if any of these were actually meant to be there lol

Not sure why the build would fail, if I could get some insight on that, that would be great 👍


File Naming Bug (more info in comments)

This is a core brackets bug, and doesn't correlate with extensions nor RAM nor OS.
I'm having this issue on both my Mac OS 10.10.2 laptop and my Windows 7 desktop on the latest version of Brackets, with or without extensions enabled (I have tested both).
Here's a visual example of the bug:

The bug occurs when a character key is pressed, but has not been released before the enter / return key is pressed. Try literally holding down a character key while creating or renaming a file and pressing enter while the first key is still held down; it will produce the same result.
For extremely fast-typers like myself, you can see how this may be a problem, as part of our fast-typing is owed to a self-formed habit of pushing down other keys while our fingers have still not released the previously typed keys. Although this may only be for a few milliseconds, the computer (as always) is receptive to everything.
I would assume this could be fixed by storing each character on keyDown within a string variable and then submitting that variable to the file creation method upon keyUp of the return key. Although I may be speaking out of context (I'm not sure how the internals of Brackets are designed and haven't had the time to read through them), theoretically (at least in my head) it could work.
Nevertheless, I have faith that this will get fixed soon - although it may not be priority, it looks like an easy fix (and kind of a fun one).
Thanks.

Sounds like a duplicate of #10531 / #10048.  Thanks for the info about the Enter key overlapping with the last-typed letter -- I'll leave a note in the original bugs to see if that matches others' experience.

Should be fixed with #10648


Adding Donation SVG Animation

Is your feature request related to a problem? Please describe.
We are experimenting with adding an SVG animation to our donation modal that highlights most of benefits of donating to freeCodeCamp.
Since the animation does not have audio, I need to make sure each bullet points are read and clearly communicated.
After the animation is completed, the users should see an illustration of the bear, the bullet point, 'become a supporter' button, and a 'maybe later' button.
If the users click on the maybe later button, the modal closes.
If the users click on the 'become a supporter' button, they will go to tier selection, and then to the payment form.
Feedback is appreciated. 🙏

Also @bbsmooth, accessibility recommendations are highly appreciated.

I think 20 seconds is way too long, especially since the only "feature" that users receive is the ability to remove the pop-up. Turns 'freecodecamp' into a money grab, in my opinion.


Resize GRIB2 file

Hello !
I am a novice in computer science applied to meteorology.
I want to extract data from a GRIB2 file. I need to resize the files because I am downloading raw data from a global weather forecast model (ICON) and I just need a small footprint of the model. So I need to create a new GRIB2 file less heavy in storage with just the span I am interested in, that is France.
I saw that it was possible to use the "pygrib" package.
But I tried to write the script but it doesn't work.
The output GRIB2 file can't be opened on any software that processes GRIB2 data. I even have the impression that it does not resize. It just separated the timelines from the original grib2 file.
Below is the script I wrote in python language. Sorry for the formatting ! I don't know how to add code with a nice layout 👍 😎 !
Can anyone help me?
I thank you in advance for your help.
Bap250
import pygrib
grbs = pygrib.open('originalfile.grib2')
grbs.seek(2)
grbs.tell()
grb = grbs.read(1)[0]
grbs.tell()
grb = grbs.select(name='Total Precipitation')[0].data(lat1 = 43, lat2 = 51, lon1 = -4, lon2 = 8)
print(grb)
grbs.close()
grbout = open('outfile.grib2', 'wb')
grbout.write(grb[0])
grbout.close()`

you need a template file that is the same domain as the one you want to save, and then you can overwrite the data and change the metadata.  Unfortunately, pygrib cannot create a grib2 file from scratch.


Add e2e setup

Adds resources to test a mapping configuration for kubernetes.
It attempts to solve the problem of a shared index between applications
that can cause mapping conflicts which lead to buffer saturation and
logging outages.
It uses Kubernetes in Docker (KinD) to startup the cluster and run the
locally built image with the custom configuration.
It deploys a pod that will log entries which would cause a conflict
mapping, and it would be expected that log-shipper will have no issues.
On a following PR the tests will be implemented to make sure that the
logs are being sent to the appropriate index.

Close in favour of https://github.com/sky-uk/fluentd-docker/pull/4


add_blocktensor_12

one more left for basic block sparsity support. I'll clean up the file before moving on to the backend


Problem with RegExp

There is a bug with the latest release.
It involves using RegExp. I can turn it on and try to type "(" and I get an alert that the program crashed, but it actually doesn't. I close it anyway and reopen.

Pretty sure this happens with most [ and { as well. I think it is a pretty
easy debug though.
On Apr 11, 2015 8:33 AM, "Daniel Mauritzson"<EMAIL_ADDRESS>wrote:

There is a bug with the latest release.
It involves using RegExp. I can turn it on and try to type "(" and I get
an alert that the program crashed, but it actually doesn't. I close it
anyway and reopen.
—
Reply to this email directly or view it on GitHub
https://github.com/EmmittJ/PoESkillTree/issues/111.

Isn't it in try/catch ? It should, as it's pretty obvious while typing
you have invalid regular expression.

I thought it was in a try catch, but from what it sounds like it isn't.
On Apr 11, 2015 8:52 AM, "l0g0sys"<EMAIL_ADDRESS>wrote:

Isn't it in try/catch ? It should, as it's pretty obvious while typing
you have invalid regular expression.
—
Reply to this email directly or view it on GitHub
https://github.com/EmmittJ/PoESkillTree/issues/111#issuecomment-91871380
.

In the regex catch there is a Debugger.Break() command......

This was reported on reddit, nice with a fast fix!


No component factory found for PlanCheckoutComponent. Did you add it to @NgModule.entryComponents?

What are you trying to do?
entryComponents in lazy loaded module
@NgModule({
  declarations: [PlansComponent, PlanCheckoutComponent],
  imports: [
    CommonModule,
    MaterialModule,
    FlexLayoutModule,
    PlansRoutingModule,
    UserBarModule,
    TranslateModule,
    AngularSvgIconModule
  ],
  entryComponents: [PlanCheckoutComponent],
  exports: [PlansRoutingModule, PlanCheckoutComponent],
  providers: []
})
export class PlansModule {}

What troubleshooting steps have you tried?
I tried:

putting it in the app module
using/register it in the same component im using it
using @Component 's entryComponents
adding it to the exports
also tried: #1491

Reproduction
We can only help if we can reproduce the problem ourselves.
Use StackBlitz to demonstrate what you are trying to do: https://stackblitz.com/fork/components-issue
Steps to reproduce:

Nested Lazy Loaded Modules
registering the entrycomponent (mat dialog) in on of the bottom's lazy loaded modules

Environment

Angular: 8.2.8
CDK/Material: 8.2.1
Browser(s): Chrome Dev
Operating System (e.g. Windows, macOS, Ubuntu):  Windows

so i've been digging a bit and found that my factory does exist:

after 3 days i've found the issue, i've imported the component but the path of it ended with .js.
Removing the .js extension from the import path solved the issue 🤙


Update README.md

Fix .zshrc snippet
Previous version wasn't working.

I run zsh and have no problems with the existing script. You've also change the branch to be conditioned on the existence of the ag binary, not the tag binary.
Also, (( +commands[tag] )) is faster than hash since it uses zsh's builtin command table.
I'm gonna have to close this PR.

You are right. Strangely enough yesterday snippet with +commands wasn't working even after sourcing .zshrc, and relaunching terminal, but today everything is working as intended.
My apologies for wasting your time.


feat: All Hints revision

Description
resolves #307
resolves #240 (Naming differences of labels)
Demo
changes on many places
Checklist:

[x] I have read and followed the Contributing Guide
[x] My change requires a change to the documentation.
[x] fix spelling
[x] unify labels listing vs detail

I suggest to include Marco and Charis in the reviewers

I suggest to include Marco and Charis in the reviewers

I will once our reviews are done

I set and wiki page Wording guide https://github.com/aeternity/aescan/wiki/Wording-guide . Feel free to extend over time

@marc0olo Could you help us to check, please?


IOException: socket not created when running with Roboelectric Test

Getting this error:
java.io.IOException: socket not created     at android.net.LocalSocketImpl.bind(LocalSocketImpl.java:303)     at android.net.LocalServerSocket.__constructor__(LocalServerSocket.java:48)     at android.net.LocalServerSocket.<init>(LocalServerSocket.java)     at com.facebook.stetho.server.LocalSocketServer.bindToSocket(LocalSocketServer.java:142)     at com.facebook.stetho.server.LocalSocketServer.listenOnAddress(LocalSocketServer.java:78)     at com.facebook.stetho.server.LocalSocketServer.run(LocalSocketServer.java:74)     at com.facebook.stetho.server.ServerManager$1.run(ServerManager.java:40)
I have roboelectric test RobolectricTestRunner calls Application's onCreate, and it initialize stetho.
@RunWith(RobolectricTestRunner.class) @Config(constants = BuildConfig.class, sdk = 23)

Experiencing this, too. Were you able to solve this issue?

This is still allowing the tests to run, but I just want to suppress it! It's very annoying!

Have the same issue, too.

Same here, any fix for this?

I have the same issue here and use custom RobolectricTestRunner (which defines test version of my application class) to avoid such errors, which seems a little bit hacky solution.
Extending Application class:
public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        if (BuildConfig.DEBUG) {
            if (!isUnitTesting()) {
                Stetho.initializeWithDefaults(this);
            }
        }
    }

    protected boolean isUnitTesting() {
        return false;
    }
}

Then extending MyApplication and overriding isUnitTesting() method:
public class TestMyApplication extends MyApplication {

    @Override
    protected boolean isUnitTesting() {
        return true;
    }
}

And then extending RobolectricTestRunner:
public class MyRobolectricTestRunner extends RobolectricTestRunner {

    public MyRobolectricTestRunner(Class<?> testClass) throws InitializationError {
        super(testClass);
    }

    @Override
    public Config getConfig(@NonNull Method method) {
        final Config defaultConfig = super.getConfig(method);
        return new Config.Implementation(
                defaultConfig.sdk(),
                defaultConfig.minSdk(),
                defaultConfig.maxSdk(),
                defaultConfig.manifest(),
                defaultConfig.qualifiers(),
                defaultConfig.packageName(),
                defaultConfig.abiSplit(),
                defaultConfig.resourceDir(),
                defaultConfig.assetDir(),
                defaultConfig.buildDir(),
                defaultConfig.shadows(),
                defaultConfig.instrumentedPackages(),
                TestMyApplication.class,  // <-- overriding application class for testing here
                defaultConfig.libraries(),
                defaultConfig.constants()
        );
    }
}

This looks like it's actually a Robolectric issue.  While the workarounds mentioned in this issue do seem like the right strategy short term, long term it would be beneficial to file this bug against Robolectric.  Specifically the issue appears to be that LocalSocket simply doesn't work properly on Robolectric and needs to be emulated.
My best guess as to why this would be would be that LocalSocket is a Linux-specific concept that Robolectric would need to port to run on other types of systems (OS X, Windows, etc) and that even for Linux it's possible Robolectric lacks the underlying C/C++ implementation to make LocalSocket work properly.  Stetho could probably detect this but it would be better and more consistent with Robolectric's long term vision to support this Android API properly so that tests can be written against it.

this is the solution I came up with. Works with robolectric 3
if (!isRoboUnitTest()) {
Stetho.initializeWithDefaults(this);
}
public static boolean isRoboUnitTest() {
return "robolectric".equals(Build.FINGERPRINT);
}

it's works perfect

@kakopappa good works


Handle unchecked exceptions in read flow

Let's handle all unchecked exceptions in read flow and propagate to underlying subscriber.

Done in #5


Docker compose command upgrade to v2

I heard that soon by the month of June this year, v1 won't be maintained anymore. You can read here: https://docs.docker.com/compose/
I guess we should update the package.json script from docker-compose up to docker compose up -d

Jep, sure, makes sense.
There'll be a lot of updates to our repos then:)

Yeah a lot.. so shall I raise a PR to change the scripts?

Jep, please go ahead, thanks.


Added raw param to images

to enable relative links, so they can be displayed in forks and extensions.ckan.org.
Right now, they don't display correctly on http://extensions.ckan.org/extension/qgis-ckan-browser/

Forks don't seem to be a problem, but going to merge to make http://extensions.ckan.org/extension/qgis-ckan-browser/ work.

Also had to make the path fully qualified for it to display correctly in the extensions catalog -
https://github.com/ckan/extensions.ckan.org/commit/3dbad02c278c12af85068d3dfc5f50f7272aec35


kerning is not embedded into bmfont json

Kerning pair information should be extracted from the font and added to the bmfont json.

Resolved by c75e0a557b597ed59e17dcb8750b8fe3857db5b7


add more configuration options, like disable horns

Also would be nice to disable p2p for download and upload

Also would be nice to disable p2p for download and upload
P2P is not used in TM2020 servers anymore.

Would be nice to add an Environment variable for setting the password of the SuperAdmin for XML-RPC connection

Would be nice to add an Environment variable for setting the password of the SuperAdmin for XML-RPC connection

Can do!

Although it took me almost a year to push the changes.. done with https://github.com/EvoEsports/docker-trackmania/commit/13196a7ddba8dca5e6e35c31dfda87a4e05e178c 👍


[Do Not Merge][Data Factory]Add property 'queryTimeout' for tabular sources

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Hi @hvermis , here's the public swagger PR for queryTimeout in tabular sources.
Refer to the private PR: https://dev.azure.com/msdata/Azure Data Factory/_git/DataFactory/pullrequest/247591

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

Hi @michaeljqzq , our backend is ready, could you please merge this PR into master? Thanks.

@yungezz The CI actually succeeded but the status is not updated. Could you please help merge?


Add allowUnauthenticatedIdentities to front-end config

Problem
The front-end config should output whether or not guest access is enabled.
This adds the 'allowUnauthenticatedIdentities' property to the output, so that it can be extracted in the front-end config.

Issue number, if available:
Changes

Corresponding docs PR, if applicable:
Validation

Checklist

[x] If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
[x] If this PR requires a change to the Project Architecture README, I have included that update in this PR.
[x] If this PR requires a docs update, I have linked to that docs PR above.
[x] If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the run-e2e label set.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can we also include a test that parses the stack output without this property? (Or maybe just revert the changes made to existing tests)

I just added one here, one with, and one without the new property: https://github.com/aws-amplify/amplify-backend/pull/924/files#diff-6e4adf2ac30117aa9e2283e997b137af17d151a8b54ec55df8ff48e6ee5ba78eR56

Change LGTM. However, it looks like we are not exposing a way to configure this via defineAuth? Will it ever have a value besides the default?

Not at this time, I will bring this up


Update sbt-mima-plugin to 0.4.0

Updates com.typesafe:sbt-mima-plugin from 0.3.0 to 0.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "com.typesafe", artifactId = "sbt-mima-plugin" }]

labels: semver-minor

0.13.x
[error]  * method unapply(sbtdynver.DynVer)scala.Option in object sbtdynver.DynVer has a different signature in current version, where it is (Lsbtdynver/DynVer;)Lscala/Option<Lscala/Tuple3<Lscala/Option<Ljava/io/File;>;Ljava/lang/String;Ljava/lang/Object;>;>; rather than (Lsbtdynver/DynVer;)Lscala/Option<Lscala/Option<Ljava/io/File;>;>;
[error]    filter with: ProblemFilters.exclude[IncompatibleSignatureProblem]("sbtdynver.DynVer.unapply")

1.x
[error]  * method unapply(sbtdynver.DynVer)scala.Option in class sbtdynver.DynVer has a different signature in current version, where it is (Lsbtdynver/DynVer;)Lscala/Option<Lscala/Tuple3<Lscala/Option<Ljava/io/File;>;Ljava/lang/String;Ljava/lang/Object;>;>; rather than (Lsbtdynver/DynVer;)Lscala/Option<Lscala/Option<Ljava/io/File;>;>;
[error]    filter with: ProblemFilters.exclude[IncompatibleSignatureProblem]("sbtdynver.DynVer.unapply")
[error]  * method unapply(sbtdynver.DynVer)scala.Option in object sbtdynver.DynVer has a different signature in current version, where it is (Lsbtdynver/DynVer;)Lscala/Option<Lscala/Tuple3<Lscala/Option<Ljava/io/File;>;Ljava/lang/String;Ljava/lang/Object;>;>; rather than (Lsbtdynver/DynVer;)Lscala/Option<Lscala/Option<Ljava/io/File;>;>;
[error]    filter with: ProblemFilters.exclude[IncompatibleSignatureProblem]("sbtdynver.DynVer.unapply")

Duplicate of #115


Database list within a catalog is limited to 100 databases due to lack of pagination support

In VSCode, if we browse a catalog with with more than 100 db's, the list is truncated. Upon investigating, I believe the error is coming from the following lines of code:
https://github.com/kovihq/sqltools-athena-driver/blob/master/src/ls/driver.ts#L214-L224
Looking at the AWS documentation, https://docs.aws.amazon.com/athena/latest/APIReference/API_ListDatabases.html, the API method returns a nextToken field that can be passed into subsequent calls in order to retrieve additional results.
This should be an easy and important fix.

I have started working on a fix for this.

I have a fix that is working locally. I need to take care of a few internal requirements, but should have a pull request in the near future.


Add CheatSheetBookStorage.java, CheatSheetStorage.java, CheatSheetSto…

…rageManager.java
Basically added storage files.
Intending to separate for all 3.

Looks good!


dada2 drops samples without reads unfiltered reads from table but not denoising stats.

Bug Description
dada2-paired appears to drop samples which have 0 sequences after filtering, or perhaps denoising, but keeps samples which have zero sequences from merging and beyond.
This leads to samples being dropped from the table, though they remain in the denoising stats.
I've not checked the behavior with the dada2 paired or dada2 pyro or with older versions of dada2.
Steps to reproduce the behavior
Run a dataset including samples with no reads that pass the filtering step, I had a sample with 0 reads and a sample with 6 poor quality reads that were both dropped.
Expected behavior
The samples should be retained with 0 frequency in the table.
Computation Environment

OS: Linux
QIIME 2 Release 2021.2

Questions

Is this a qiime2 issue or a dada2 issue?

Comments

Ideally blanks should be blank, so discarding them in dada2 means the user has to actively notice that they are missing.
A trivial fix is something like:
for i in set(denoising_stats.index) - set(table.index):  table.loc[i] = 0
Though there may be a more clear way of getting the dropped samples.
I can have a go at implementing that, but I wanted options on if this is something to change in dada2, or here?

Here is the data I noticed this behavior in: https://unh.box.com/s/pyz250peix6hiyrcye2fnwycidx171sz

Is this a qiime2 issue or a dada2 issue?

It's sort of a dada2 issue, in that we haven't robustly implemented processing zero-read samples through the whole pipeline, therefore they need to be removed from the processing before entering the post-filtering denoising workflow.
That said, it is probably an easy fix on the Q2 side by just adding those zero-read samples back into whatever final table where they are still wanted, as it seems like you are suggesting.


Fix/init command

As inquirer.prompt returns a Promise.
Which means all occurrences of inquirer.prompt need to be updated accordingly, next to initialization (of helper configuration) this includes migration and helper/pageObject/test generation.
https://github.com/Codeception/CodeceptJS/issues/1392

Thank you very much!


addons are eslinted when imported

in my case we are extending the ember-rapid-forms components to be compatible with foundation.
when running ember serve initially or ember test with the generator in the readme.
I've tried using // eslint-disable-line at the end of the import lines, but the imported modules are still linted (and the imports of those modules).
Is there a workaround to disable linting of certain imports?
Is there a way you could not lint files that were part of an addon?

Are the addon files within vendor, node_modules or bower?

node_modules, installed with npm

I'll look at it tomorrow, those files were out of scope before. Thanks for reporting.

with the latest beta i can use **/modules/** in the .eslintignore and that gets rid of errors on the addons.
there is probably a better way though.
also even though no errors are displayed I do get a bunch of newlines being printed during the Building... step only when ember-cli-eslint is run.

the newlines are really making my CI logs look nasty, any way you could figure out what is causing a bunch of newlines to spit out?

Should be fixed in the latest beta, kick the module and reinstall.
I'll release another version tonight which shouldn't require the aggressive
delete and reinstall.

—
Reply to this email directly or view it on GitHub
https://github.com/jonathanKingston/ember-cli-eslint/issues/14#issuecomment-107339336
.

:+1: beta.13 seems to be working nicely

I experienced the same issue today after installing the ember liquid-fire add-on. It was only linting the liquid-fire add-on out of my other add-ons. The add-on was installed via ember install liquid-fire and was located inside node_modules
Adding **/modules/** to .eslintignore did fix it; I was also able to reproduce the issue by just creating a new ember project, installing ember-cli-eslint, then liquid-fire and then running ember build

also I think if addon.isDevelopingAddon is set improperly inside the addon it can trigger your parent project to lint the addon.


Laravel-mix with toastr notification (laravel 5.6)

this is my work :
I installed toastr :npm install toastr --save-dev
File bootsrap.js:
window.toastr = require('toastr');

File app.scss:
@import "~toastr/toastr.scss";

I create notification.blade.php under layouts:
  @if(Session::has('success'))
         toastr.success('{{Session::get('success')}}')
  @endif

In app.blade.php i call inside script my file :
    <script type="text/javascript">
             @include('layouts.notification')
     </script>

In browser i get this error:
Uncaught ReferenceError: toastr is not defined

i think my files not load correct , any help and thank you :)

Hi,
I think you may have misunderstood our project, (We are TOAST)
We are not related with toastr :D
Please check again.
https://www.npmjs.com/package/toastr


Razor projects as transitive references always add content during GetCopyToOutputDirectoryItems

Consider:
<!-- ProjectA -->
<Project Sdk="Microsoft.NET.Sdk.Web">
  <ItemGroup>
    <ProjectReference Include="..\ProjectB\ProjectB.csproj" Targets="Restore" />
  </ItemGroup
</Project>

<!-- ProjectB -->
<Project Sdk="Microsoft.NET.Sdk.Razor">
</Project>

Where ProjectB has one or more Razor files. A clean build of ProjectA will result in a build failure stating file ..\Project\obj\Debug\netcoreapp3.0\ProjectB.Views.dll cannot be copied.
This is because ProjectB does not get compiled but the _RazorGetCopyToOutputDirectoryItems target unconditionally adds files to the list of files being copied:
https://github.com/aspnet/AspNetCore-Tooling/blob/2c8a5ff0e95c5767330184dbf691572b8a5c6c7f/src/Razor/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets#L593-L613
This scenario is fairly unusual so we haven't had any user reports. We did discover it during our test cleanup and the workaround was to replace the ProjectReference with a build target:
<!-- ProjectA -->
<Project Sdk="Microsoft.NET.Sdk.Web">
  <Target Name="RestoreProjectB" BeforeTargets="Restore">
    <MSBuild Projects="..\ProjectB\ProjectB.csproj" Targets="Restore" />
  </Target>
</Project>

Let's fix this if the fix is straight forward and simple. Otherwise, let's do nothing.

Closing as we haven't seen any customer reports for this.


feat: added better error handling

registry lookups, ignore 404s, continues and logs error

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


TOMEE-2824-Translate to Portuguese: examples/jsonb-custom-serializer

Linkt to Jira:  https://issues.apache.org/jira/browse/TOMEE-2824

Great to see such careful reviews and teamwork!  Nice job @Daniel-Dos  and @hbelmiro


Video feed improvements

Coverage decreased (-0.14%) to 8.52% when pulling e2916a6a6968ebfad81565f501cbc56a874e1262 on video_feed_changes into 966310ac960539419b3274f50cc1b72b30763ae3 on development.


Add e2e tests files to ignore list

Short description of what this resolves:
Add e2e tests files to ignore list in watch.config

Thanks @marcoturi! Do you have any interest in helping us developer app-scripts?
Thanks,
Dan

@danbucholtz Yes, it would be a big pleasure. I'll contact you on slack.


Front end support for dataEntities

CRUD Routes for each entity from PAD:

/data-entities/[entity]
/data-entities/[entity]/create
/data-entities/[entity]/[slug]/update
/data-entities/[entity]/[slug]/delete

Support data entities inside page routes

Mostly done. Opening more specific issues.


On HA 2022.6.0 - no more data passed from addon to HA

Problem/Motivation
After HA upgrade to 2022.6.0 - no more data in HA from ZWave JS 2MQTT add-on.
No data from sensors, NOTHING.
Add-on itselves looks fine, all devices online, data arrives, but n passed to HA.
2022-06-02 10:57:14.368 INFO ZWAVE: Node 5: value updated: 50-0-value-65537 1383.59 => -21473452.87
2022-06-02 10:57:14.460 INFO ZWAVE: Node 5: value updated: 50-0-value-66049 74.21 => 73.91
2022-06-02 10:57:14.549 INFO ZWAVE: Node 5: value updated: 50-0-value-66561 241.05 => 241.09
2022-06-02 10:57:14.640 INFO ZWAVE: Node 5: value updated: 50-0-value-66817 0.58 => 0.58
2022-06-02 10:57:16.015 INFO ZWAVE-SERVER: Client disconnected

ZWave JS 2MQTT version 0.39.0
Expected behavior
Data passed from add-n to HA.
Actual behavior
NO data in HA from ZWave devices anymore.
Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

HA not show possible upgrades:

From the release notes...

https://www.home-assistant.io/blog/2022/06/01/release-20226/#breaking-changes
According to your issue report:

ZWave JS 2MQTT version 0.39.0

Please upgrade your add-on.

Unfortunately I do not know how to upgrade in that case, when HA Core is not aware about new version.

There is: https://github.com/hassio-addons/addon-zwavejs2mqtt/releases
Make sure you have the community repository installed, you can make sure by using this My Home Assistant button (which is also in the documentation of the add-on).

Looks some repositories suddenly disappeared from list. Using add-on more than year, so it was in list before 2022.6.0.
Now tried to add, but supervisor fails:
22-06-02 11:07:37 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/addon-zwavejs2mqtt/releases repository
22-06-02 11:07:40 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/addon-zwavejs2mqtt/releases repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules https://github.com/hassio-addons/addon-zwavejs2mqtt/releases /data/addons/git/5d294422
  stderr: 'Cloning into '/data/addons/git/5d294422'...
remote: Not Found
fatal: repository 'https://github.com/hassio-addons/addon-zwavejs2mqtt/releases/' not found
'.

Then tries this magic button - looks it works, Add-on update appears.
Thank You  very much.


Expose the theme support to the user

Also, come up with a better default theme. The current one is a bit too much unicorn-vomit.

--theme was added in v0.9.4


Remote state config not detected when using --terragrunt-working-dir

Issue
When calling terragrunt from the root of directory of project using the --terragrunt-working-dir CLI option to reference a sub directory, terragrunt does not see that the remote state is already configure for the S3 backend, and instead runs the terraform remote config command.
Steps to Reproduce

From the root of the project, run terragrunt apply --terragrunt-workingdir=subdirectory
Run terragrunt output --terragrunt-working-dir=subdirectory
Notice that terragrunt still calls terraform remote config, even though it was configured by the apply in step 1.
Change directory to subdirectory and run terragrunt output, and notice that terragrunt does not issue the call to terraform remote config

Expected Behavior
By supplying the --terragrunt-working-dir option, terragrunt should notice that the remote state has been configuted by looking in the working dir and not issue that command again
This came up when attempting to use the output from terragrunt as input elsewhere.  Moving terragrunt's output to stderr was very helpful, but the output that results from calling Terraform remote config muddies the waters here.

Definitely a bug. remote_state.go is looking for the .terraform folder and the state within it in the current working directory rather than the one specified by the --terragrunt-working-dir flag (and stored in the TerragruntOptions struct). Should be a straightforward fix if anyone is interested in submitting a PR.


Python SDK circular import error

I am trying to make a connection to the azure queue in Python but I am getting a circular import error.
Here's my code:
`from azure.storage.queue import (QueueClient)
connection_str =  "",
q_name = "test2"
queue_client = QueueClient.from_connection_string(connection_str, q_name)
queue_client.create_queue()`
Error I am getting:
from azure.storage.queue import (QueueClient) ImportError: cannot import name 'QueueClient' from partially initialized module 'azure.storage.queue' (most likely due to a circular import) (/home/deepak/azure-env/lib/python3.8/site-packages/azure/storage/queue/__init__.py)

Hi @deepak6422 - thanks for your question! We'll investigate asap!

@swathipil Any updates on this issue?

Hey @tasherif-msft - would you be able to take a look at this?

Hi @deepak6422 we will investigate this asap and update you!
thanks for your patience

Hi @deepak6422, we are having difficulty reproducing this issue. Would you mind sharing the following information so we can try and narrow it down?

OS version
Queue package version
How are you installing the package? Are you using either conda or virtualenv and are you using pip to install?
Do you have any other azure packages installed in the same env? (Besides the dependencies for Queue)

@jalauzon-msft Sure.
OS Version - Ubuntu 20.04
Queue package version - 12.1.6
I have installed the queue package inside a virtual env.
No, I don't have any other azure packages installed.

Hi again @deepak6422, thanks for the info and apologies for the delay! We are still looking into this and trying to reproduce the issue.
I think our next step is to try and exactly re-create your environment on our end to see if we can reproduce the issue. For that could you please share the following:

Python version (both global and venv if they are different)
The output of pip list

hey @jalauzon-msft  I figured out the issue. It was due to the file name which was queue.py.
I think python causes this circular import error for any modules if their file name matches with the modules package file name.

Hi @deepak6422, thanks for following up on this. It looks like this was indeed the cause as I was able to reproduce this on our end by naming the file queue.py. Interestingly this is not actually conflicting with our module since it's called azure.storage.queue but instead with one of our dependencies, six (used by urllib). They have a module named queue which is causing this error. Unfortunately, there is not a lot we can do about that right now so just using a different file name is probably the best solution.
Thanks again for helping to find this. We can now recommend others against that file name if we see this issue in the future.


Fixes layout and console errors - v5.0.2

Fixes layout and console errors.

All it does is add 2 entries the on the index page as the tag is:
<s:fielderror theme="bootstrap"/>
void com.opensymphony.xwork2.ActionSupport.addFieldError(String fieldName, String errorMessage)
There is no field (bean) named clone also.

Nice, LGTM 👍


Fix for Global service rollback

On service upgrade, we do:

mark instance v0 for upgrade and stop it
wait till its v1 version is recreated by calling service.reconcile

On service rollback, we:

destroy one of the v1 instances
unmark v0 instance
call reconcile that would start v0 instance

and so on.
When we destroy new/unmark old instance for the rollback to pick it up, we do care to pick up a particular instance only in case when:

the upgrade is partial - when not all launch configs get upgraded. Then we pick a deployment unit to rollback based on deployment unit uuid

But for cases like global service (and perhaps anti affinity constraint use case) it is also important that instance that is being destroyed, has the same hostId as the instance we rollback to. So the constraint never breaks. Otherwise all kinds of collision can possible happen.
That correct fix would be too big to add at this point (it would impact the entire upgrade logic).
For now, to fix the Global service upgrade use case (and the bug for kubelet rollback found by QA) I've added cleanup logic to the globalDeploymentPlanner to kill the extra instances if the host already has the instance assigned to it.
https://github.com/rancher/rancher/issues/5558

Submitted an issue for myself for unresolved part of the issue: https://github.com/rancher/rancher/issues/5561


TLS 1.3: Remove note for Safari 14 & TP

Speculative but given the history highly likely that Safari 14 wont be available below macOS 10.14 Mojave: https://en.wikipedia.org/wiki/Safari_version_history#Version_compatibility
I'm fine with leaving this open for some time.

Seems a safe assumption. I'll go ahead and merge.


Edge Gateway Service reference extension service

A SAP Edge Gateway Service Reference Application

please remove IoT_Edge/edge-gateway-service-ref-app/app/main file


Queue get() repeated unnessarily

https://github.com/Finity-Alpha/OpenVoiceChat/blob/764a5bf57b524cfbd2eb84a1197126013420d405/openvoicechat/tts/base.py#L129
Here the llm queue may have multiple tokens but the processing(sentence split etc) would be done for every token.
Ideally it is done of all of the tokens that are accessible at the time.

Saves a bunch of loop cycles on the boundary segmentation model. OVC should now be much faster.


keyerror: '_gpr' when using 'load_pickle'

hi
Im have some issues with 'load_pickle' command
for com_No in all_com:
com_name = 'com_' + str(com_No) + '.pickle'
print(com_name)
com = load_pickle('C:/Users/rotemb/OneDrive/Ph.D/binning_90_5/communities/com_test/'+com_name)
im geting the error
keyerror: '_gpr' when trying to load a pickle file python
my pickle file contain 4 species, the GEMs built using CarvMe and validated with MIMOTE

Usually pickle files can only be read with the same MICOM and COBRApy versions that were used to build them in the first place. So we recommend rebuilding the models after you have updated MICOM or COBRApy. Do you still have the taxonomy tables?
In this case that is due to the new gene-reaction-rule format in cobrapy which breaks compatibility with pickled models generated with older versions. I submitted a PR to cobrapy to improve backwards compatibility, so hopefully you can read the models once this has been released.

Should work now after updating COBRAPY to 0.27.0.


actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file ../../ccutil/tessdatamanager.cpp, line 53

Curious if if you've ever seen this error while running from XCode - tessdata folder is properly referenced and everything.

actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file ../../ccutil/tessdatamanager.cpp, line 53

Shows the folder properly referenced...

Nope, how can I repro this?

@EddyVerbruggen found it! this post answered it all 👍
http://stackoverflow.com/questions/41131083/tesseract-traineddata-not-working-in-swift-3-0-project-using-version-4-0

Don't quite understand. Why version 4.0 can only work with dat file 3.0.4?


Translation (macOS 15 only)

Features to add:

instruct user to download translations from System Settings (the translation prompt won't show up on our MenuBarExtra label.)
get song language from Spotify and set it as song source language (apple translation api sucks at identifying the song language)
Additional options (perhaps we don't want to translate certain languages, and perhaps the user wants to translate in languages aside from their system's default language (which is what i'm defaulting to right now))

Otherwise works pretty well. Pretty proud of it 😁
Uses Apple's on-device translation API.
https://github.com/user-attachments/assets/7d872f37-a5f0-4a30-b9ae-fa0e953953c4

Regardless this will be released as a beta feature. Additionally I will update the fullscreen view to also display translated lyrics


WIP: Adding unit tests to the AWS package

Coverage increased (+0.5%) to 32.764% when pulling f7382830d1e212e5e7f3e9f00e59a6ea170adec0 on ut into 31aa413a6b63ebc4e30b400f94613fda485c0a2b on master.


JS: support sanitizers that remove all forward slashes

Flow for js/tainted-path no longer flow though replace calls that replace all forward slahes or dots.
Gets us a TN for CVE-2019-10767.
This kind of regexp seems quite common.
No evaluation yet.

Evaluation looks good.


Add plugins to conda-based installer

Per last developer meeting, we propose:

Adding the following plugins to the conda-based installer

spyder-notebook
spyder-unittest
spyder-line-profiler

Have these plugins disabled by default.

This will provide the opportunity for these plugins to be tested in the wild in the absence of development releases for the plugins and a plugin manager.
In the future, a plugin manager will allow users to install development releases of plugins for testing (alpha, beta, release-candidate).

@jitseniesen, I don't remember what the third plugin was...
Also, are these plugins compatible with Spyder 6.x?

@jitseniesen, I don't remember what the third plugin was...

spyder-line-profiler

Also, are these plugins compatible with Spyder 6.x?

No. I believe you have discovered this yourself in the mean time. Is it sufficient if the master branch on github is compatible with Spyder 6.x or do we need a version on conda-forge that is compatible?

Preferably a version on conda-forge should be available. Otherwise, conda packages will have to be built when the installer is created.

I can put a pre-release version of the plugin which is compatible with Spyder 6 on conda-forge. That's a bit of work, so I would prefer to do it for just one plugin (e.g., spyder-unittest) initially so that we can test everything out. Would that work for you?

I can put a pre-release version of the plugin which is compatible with Spyder 6 on conda-forge. That's a bit of work, so I would prefer to do it for just one plugin (e.g., spyder-unittest) initially so that we can test everything out. Would that work for you?

Let's talk about it at our next meeting. Ideally, I'd like to understand what the update strategy is and then work within that. Even if we build conda packages of plugins on Spyder's CI for nightly builds (they can be cached), I just want to make sure that we have a well thought out plan so that we don't have uncertainty moving forward.

I did not appreciate that the plan is to add the plugins to the "standard" self-contained installer. I somehow was working under the impression that we would create a new variant, like the "lite" (sic) installer, with the external plugins and that the standard installer would remain as it is now. That would soften the impact of any issues caused by the external plugins, but of course having yet another variant of the installer adds complexity and costs more resources.
I think the idea to release the external plugins on conda-forge just before Spyder and have the external plugin depend on a specific version of Spyder is workable with good communication, but it is not a long term solution. Maybe do this for 6.0.x and plan for another system for 6.1.x? For context, Spyder 5.0.0 and 5.1.0 were four months apart.

I think the idea to release the external plugins on conda-forge just before Spyder and have the external plugin depend on a specific version of Spyder is workable with good communication, but it is not a long term solution.

I agree that this is not a long-term solution. Having a plugin manager is the best solution, and external plugins could be released on their own schedule, effectively independent from Spyder. In the mean time, I'm fairly confident that the worst extent of the issues caused by the external plugins will be a non-working plugin.
I think you're correct that releasing external plugins on conda-forge immediately prior to a Spyder release is workable, just like we do for spyder-kernels and friends. I propose the following:

Change the external plugin's constraint on Spyder only as needed for the plugin, and do so only with commits to the appropriate branch; no release is necessary. The only requirement here is that the final commit on the branch shows a constraint on Spyder that allows the current Spyder dev version, e.g. 6.0.0a3.dev0.
Nightly builds of Spyder's installer will build a local conda package of the external plugin. If the previous requirement is met, then the build should be successful.
New releases of the external plugin can be made whenever the maintainer deems appropriate, as Spyder does not have a dependency on the plugin.
Immediately prior to a Spyder release, a compatible version of the external plugin should be available on conda-forge. This may be a stable or non-stable release of the plugin. The only requirement here is that a conda solve will be able to locate the appropriate (latest) plugin version.

Change the external plugin's constraint on Spyder only as needed for the plugin [...]

I am not sure I understand. The plugin's constraint is only listed in setup.py, e.g. here: https://github.com/spyder-ide/spyder-unittest/blob/7b614af02af2de09b181bfa84ed47df96cedf87b/setup.py#L40. Do you want to change this to spyder==6.0.0.dev0?

I would not use spyder==6.0.0.dev0

Nightly builds of Spyder's installer will build a local conda package of the external plugin.

Does this mean that we need to put a Conda recipe somewhere? Or will the recipe from conda-forge be used? Buildling spyder-notebook requires an extra step to compile the JavaScript, which may complicate things.

I will use the existing feedstocks. I did notice that I had to compile the javascript on my local machine when installing spyder-notebook from source. I think this should also be incorporated into the feedstock. Nevertheless, it will be cached on CI so it will only get compiled/built if spyder-notebook changes (i.e. new commits).
At present, here is the Spyder version and its constraints in the plugins (on their respective master branch):

Spyder = 6.0.0a3.dev295
spyder-notebook: spyder >=5.4.3,<6 -> spyder >=6.0.0.dev0,<7
spyder-unittest: spyder >=5.4.1,<7 -> spyder >=6.0.0.dev0,<7
spyder-line-profiler: spyder>=6.0.0.dev0,<7 -> no change

spyder-notebook must raise the upper constraint to <7 in order to be compatible with Spyder 6 and included in the conda-based installer build. I recommend raising the lower constraint (since there are breaking changes), but this is optional. I also recommend raising the lower constraint in spyder-unittest. spyder-line-profiler does not require any changes.
The above recommendations should allow successful nightly builds of the conda-based installer.
When we release a version of Spyder, for example the next 6.0.0a3, we should have compatible versions of the plugins available on conda-forge immediately prior to the release because the release workflow will not build conda packages for the plugins. If a plugin release is not stable (alphas, betas, ...), then the appropriate conda channel will need to be specified in the workflow.

Okay, I changed the lower constraint on spyder-unittest in commit https://github.com/spyder-ide/spyder-unittest/commit/7b921ae409da810c2095d76c00a80128acde043f so that you can integrate it in the installer. It is not clear to me how this will be used, but I guess I will see when the package is built


Model type phi3 not supported

On mlx 0.10.0 with the latest phi3 4 bit models on the mlx-community hugging face

It's coming here: https://github.com/ml-explore/mlx-examples/pull/712


Refactor postEditor#deleteRange, deprecate #deleteFrom in favor of deleteAtPosition

Previously, the code path the editor took when deleting a single character (via postEditor#deleteFrom) and deleting a non-collapsed range (via postEditor#deleteRange) differed greatly. This PR deprecates deleteFrom and introduces postEditor#deleteAtPosition (and Editor#deleteAtPosition). These methods almost always delegate their work to deleteRange. This allows for much simplification of the deletion code, and the improved test coverage will enable future refactorings.
deleteAtPosition expands the position by 1 unit ("char" or "word") in direction (into a Range) and deletes that range. The only exception is when the position is at the head of a list item, in which case the list item is toggled into a markup section instead.
API Changes:

Simplifies deletion code in Editor class. Adds Editor#deleteAtPosition.
Deprecates postEditor#deleteFrom.
Remove now-unused postEditor#sectionsContainedBy
Removes several private helper methods that supported postEditor#deleteFrom

Test changes:

Adds many more tests for postEditor#deleteRange, adds postEditor#deleteAtPosition.
Removes tests for postEditor#deleteFrom
Adds test helpers for postEditor: MockEditor, run and renderBuiltAbstract, DRYs tests to share these abstractions
Adds test helper Helpers.postAbstract.buildFromText. This allows creating a post and range using a text-based DSL instead of the PostNodeBuilder (see notes below)

buildFromText DSL
/**
 * Shorthand to create a mobiledoc simply.
 * Pass a string or an array of strings.
 *
 * Returns { post, range }, a post built from the mobiledoc and a range.
 *
 * Use "|" to indicate the cursor position or "<" and ">" to indicate a range.
 * Use "[card-name]" to indicate a card
 * Use asterisks to indicate bold text: "abc *bold* def"
 * Use "@" to indicate an atom
 * Use "* " at the start of the string to indicate a list item ("ul")
 *
 * Examples:
 * buildFromText("abc") -> { post } with 1 markup section ("p") with text "abc"
 * buildFromText(["abc","def"]) -> { post } with 2 markups sections ("p") with texts "abc" and "def"
 * buildFromText("abc|def") -> { post, range } where range is collapsed at offset 3 (after the "c")
 * buildFromText(["abcdef","[some-card]","def"]) -> { post } with [MarkupSection, Card, MarkupSection] sections
 * buildFromText(["* item 1", "* item 2"]) -> { post } with a ListSection with 2 ListItems
 * buildFromText(["<abc", "def", "ghi>"]) -> { post, range } where range is the entire post (before the "a" to after the "i")
 */

released in v0.10.4


Sort children()

This sorts the output of children().
It seems the order of files has changed on APFS, so this keeps them in alphabetical order

It looks like the test failure is unrelated to this change

I think we should keep it simple and not apply sorted inside func children(). 🤔
Users can always append sorted to returned value of this function.

Some people may be relying on the previous sorted behaviour though, in pre APFS file systems

Yeah I understand. But it's APFS's breaking change, not PathKit's, is it?

Yeah, I guess so

Sorting is slow and there are many cases where you don't care about it being sorted. If we're to keep the previous behaviour of children, at least introduce unsortedChildren or sth like that.


Kymachynskyi/add block/unblock parent for tech and ministry admin, add logging for these operations

Please

[x]  - check other comments,
[x]  - fix SonarQube warnings (interface signature doesn't math implementation signature),
[ ]  - and add unit tests - not done, coverage is 18%

@VadymLevkovskyi I have added unit tests so if you don't mind we will merge this PR because I need it to work on the next task. Thank you!


all files in joplin terminal config folder should be grouped in a joplin-vieweb folder

OK, I leave it as it is: all in the joplin root config folder.


Display individual artist names and proper links when a playlist is a multi-artist mix

https://alonetone.com/glu/playlists/glu-presents-rhythmically-delicious-series-part-ii/01-alex-b-beats-1

Duplicate of #1032


Fix for: gtest pkg-config file contains wrong include path

Motivation for this change
Fixes https://github.com/NixOS/nixpkgs/issues/100834
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@ofborg eval

Thanks.


Add admin endpoint to trigger job

Add admin endpoint /scheduler/:job_type/runNow/ which accepts post parameter job_name
Add retry to sendEvent

Pull Request Test Coverage Report for Build 2775

15 of 15 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 90.063%

Totals

Change from base Build 2772:
0.03%

Covered Lines:
8790

Relevant Lines:
9438

💛  - Coveralls


add alternative sftp settings file

Reasons for making this change:
Adding alternative SFTP config file

@GlassGruber any links to StackOverflow discussions or other documentation about this change?

Hey there, honestly I can't find much about proper docs on this, the best info I found is the changelog for SFTP at version number 1.9.0.
Basically if you use the SFTP plugin it's possible to create multiple alternative configs

Experimenting with this I found also that my actual rule is naive since you can add more than 1 alternative configuration file, creating sftp-config-alt2.json, sftp-config-alt3.json and so on...
I'm not big in gitignore shenenigans, but I don't think it's possible to use a regex to target directly multiple digits like sftp-config-alt\d+\.json, can similar be achieved with globs?

Oops, apologies for the delay in replying @GlassGruber:

I don't think it's possible to use a regex to target directly multiple digits like sftp-config-alt\d+\.json, can similar be achieved with globs?

gitignore syntax doesn't support full regex, but you can use [0-9] to represent a digit. Does that help to make this rule flexible? Alterntively, if it'll continue beyond 9 and into two digit numbers, maybe a * here to say "anything is fine" and it could be merged into the previous rule.

maybe a -alt* here to say "anything is fine" if it matches the format.

Hey there, well I guess it is indeed a sensed way to do it.


Extension UI Element

Hey,
Would it be possible to add the "navigated" attribute to the StandardListentem ui element?
<StandardListItem 				type="Active" 				title="{Name}" 				navigated="{ 					parts: [ 						'settings>/navigatedItem', 						'ProductId' 					], 					formatter: '.isNavigated' 				}" 				press="onPress" />
Best Regards
Thomas

I gave it a quick look, but so far it looks that there is a javascript function needed to handle the navigated attribute. but i did not completely understand the use case. can you explain what you want to do or why you need this attribute?

I'm looking for a simple way similar to the ListReport that I can create using ABAP2UI5.(Overview with branching into detail)

can the same logic be possible via Table ?

Yes list and table are based on the same control. You just need to add the selectionchange event like I did with the list to the table.
If you do it feel free to open a PR then I can add it to main. Otherwise I will change it tomorrow.

see https://github.com/oblomov-dev/abap2UI5/issues/208