feat: request ids on API related endpoints

SUMMARY
Supports requested model ids on the related API endpoints #11680. The related endpoints are paginated to prevent heavy queries on the metadata database, these endpoints are normally used to fill up dropdowns on the frontend. If a dropdown box already contains ids these may be out of the requested page.
The solution keeps the pagination (currently to solve this the frontend is requesting a very big page) but adds requested ids to the API response
The related endpoint does not break compatibility but adds a new query option:
{
  "filter": "alpha",
  "ids": [1,2,3],
  "page": 0,
  "page_size": 1000
}

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[X] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12663 (6b2053e) into master (734fb75) will decrease coverage by 3.70%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #12663      +/-   ##
==========================================
- Coverage   66.85%   63.15%   -3.71%
==========================================
  Files        1018      486     -532
  Lines       49776    29980   -19796
  Branches     4869        0    -4869
==========================================
- Hits        33278    18933   -14345
+ Misses      16375    11047    -5328
+ Partials      123        0     -123

Flag
Coverage Δ

cypress
?

javascript
?

python
63.15% <100.00%> (-0.86%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/charts/schemas.py
100.00% <ø> (ø)

superset/views/base_api.py
97.79% <100.00%> (-0.36%)
:arrow_down:

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.24%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/db_engine_specs/presto.py
70.56% <0.00%> (-10.83%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/schemas.py
93.40% <0.00%> (-6.05%)
:arrow_down:

... and 554 more

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 734fb75...6b2053e. Read the comment docs.

Codecov Report

Merging #12663 (6b2053e) into master (734fb75) will decrease coverage by 3.70%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #12663      +/-   ##
==========================================
- Coverage   66.85%   63.15%   -3.71%
==========================================
  Files        1018      486     -532
  Lines       49776    29980   -19796
  Branches     4869        0    -4869
==========================================
- Hits        33278    18933   -14345
+ Misses      16375    11047    -5328
+ Partials      123        0     -123

Flag
Coverage Δ

cypress
?

javascript
?

python
63.15% <100.00%> (-0.86%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/charts/schemas.py
100.00% <ø> (ø)

superset/views/base_api.py
97.79% <100.00%> (-0.36%)
:arrow_down:

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.24%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/db_engine_specs/presto.py
70.56% <0.00%> (-10.83%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/schemas.py
93.40% <0.00%> (-6.05%)
:arrow_down:

... and 554 more

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 734fb75...6b2053e. Read the comment docs.


Enhancement: UI of the website and header update.

In the website, there should be some changes to make it excellent and the user feels nice when he/she comes to the website. Firstly, in the header section the logo size is very much small in which the name VigyBag is looking vey small that should be updated. Then in the popular categories section the  name  of the items is not properly visible so there should also be a nice one color used to improve it and making it dashing.

someone is already working in it.


reindex when repo root not found

JIRA Ticket: https://jira.lyrasis.org/browse/FCREPO-3355
What does this Pull Request do?
On startup, Fedora will reindex if info:fedora/ is not found in the index or it is not found in the OCFL repo.
How should this be tested?

Start F6
Create a resource
Stop F6
rm fcrepo-webapp/target/fcrepo-home/data/fcrepo-h2.mv.db
Start F6 and see it reindex
Stop F6
rm -r fcrepo-webapp/target/fcrepo-home/data/ocfl-root/141
Start F6 and see it reindex

Interested parties
@fcrepo/committers

@pwinckles : the test described here works for me on the main branch.

@pwinckles : the test described here works for me on the main branch.

Hmm... It shouldn't. You created at least one additional object? Let me check...


Feedback

Reproducing an email exchange with @necolas, after sending him http://glenmaddern.com/articles/introducing-am-css, because I think this is a nice use of attribute selectors with class-based components

Looks cool. I've played around with something similar:
<tag class="Component is-state" ui-prop="value">
  <tag class="Component-private">

For example:
<tag class="Nav is-open" ui-size="large" ui-color="blue">
  <tag class="Nav-item is-selected" ui-name="Home">

Because it works with a component API quite easily. Also have it working with classes (just needs a helper to act as a class map, like in React), so not yet decided on which one we'll use.
Good luck

Interested why you didn't go with something like ui-state="selected" instead of class="is-selected" though?

Because ui-* was reserved for the component API, and state isn't a direct configuration option. The "private" sub tree of the component probably shouldn't have any ui-* attributes within it.
Here's a demo of the context for that (I was trying to hack flightjs to work as a ui component framework, but gave up on it): http://codepen.io/necolas/pen/Djbpr

Hey! I've been looking for some BEM alternatives and found amCSS an awesome idea but I have one concern: performance.
Background
Me and my team work on big e-commerce websites that usually contain 3k-5k HTML elements and similar number of CSS selectors, but those numbers can and up being 10k high. Working in e-commerce market already means that we have to support mobile as best as we can, as well as some older browsers like IE8. Those user agents can have slower selector parsing and we can't afford to make user waiting for too long.
Research
I've found some tests of various CSS selectors and attributes seem to be one of the slowest attributes in opposition to classes which are amongst fastest.
he only problem is that I am unable to find any up to date researches and articles of how big is the actual impact on the entire page loading time.
Using CSS Test Creator I made class test and attribute test, although after couple of runs their times are similar, the attribute one hangs my browser for a while when refreshing. There is also another test which shows 3x worse performance for 1000 elements and 1000 selectors.
Question
Since you may have already done some projects using amCSS, do you have any experiences regarding performance regression in opposite to BEM and if so, is it really noticeable?

Ok, so I came up with a possible solution for a bigger websites where attribute selector could be a problem. The idea is to use classes as something that could be described as namespace. Namespaces would be optional, just like in programming languages, and serve a purpose of rapidly finding desired elements so the name should be appropriate.
The idea is to add module name as a class to every element which(from what I have tested) allows browsers to match those mixed selectors as fast as sole classes. E.g.:

.Grid[am-Grid] {
    display: flex;
}
.Grid[am-Grid-Row] {
    ...
}

Classes stay semantic and optional, performance gets better: win-win.
I wrote some SASS mixins which also use is-* convention similar to Polymer's to help authoring amCSS code.

@krzksz  How about performance in modern browsers today?


using slick carousel in a not-active tab

Using slick in tabs, it only works in the tab which is active at the load of the page.
in other tabs, the divs are collapsed, one over other. I think it' a initialization problem, but i can't figure how to solve it.

This worked for me with foundation and slick 1.6:
$('ul.tabs').on('toggled', function (event, tab) {
$('.slideList .productGrid').slick('setPosition');
});

Not working in tab. setPosition and resize not working..
see this
http://codepen.io/Rijosh/pen/qaoYEL

$('.slider-name').slick('setPosition'); is not working for me,
i added 0 and it works :
$('.thumb-slider').slick('setPosition', 0);

this code worked for me
this for my tabs in css=>>.group-tabs{
display: flow-root;
border-right: 1px solid #ebebeb;
}
jQuery( function() {
window.setTimeout(function(){
jQuery( "#tabs" ).tabs().addClass( "ui-tabs-vertical ui-helper-clearfix" );
jQuery( "#tabs li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" );
},2000)} );

I solved it with setInterval (with 1ms) & clearInterval javascript functions, more info: https://stackoverflow.com/a/1225185/557432 and https://www.w3schools.com/jsref/met_win_clearinterval.asp

``

Okay so i was stuck in this sitution just like you guys and i found the reason it cause the issue, it simple because when you use slick in tabs, it gonna set your unused tab to display: none, and when they did, the width in that unused tab become 0, and slick need a width to run correctly, and this solution worked for me:
.tab-content>.tab-pane{
  display: flex !important;
  height: 0px;
  overflow: hidden;
}

.widget-tab.mixed-tab .tab-pane.active{
  height: auto;
}

Set non-active tab to display: flex !important; and overflow: hidden; will do the same thing as display: none, but for some reason, it will set your width automatic, so the slick will works perfectly.

$('.slider-name').slick('setPosition'); is not working for me,
i added 0 and it works :
$('.slider-name').slick('setPosition', 0);

Bootstrap 4. You need to trigger the position change on the tab shown event.
 	$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { 		$('.yourcarousel').slick('setPosition'); 	});

Many many thanks it works for me.

Okay so i was stuck in this sitution just like you guys and i found the reason it cause the issue, it simple because when you use slick in tabs, it gonna set your unused tab to display: none, and when they did, the width in that unused tab become 0, and slick need a width to run correctly, and this solution worked for me:
.tab-content>.tab-pane{
  display: flex !important;
  height: 0px;
  overflow: hidden;
}

.widget-tab.mixed-tab .tab-pane.active{
  height: auto;
}

Set non-active tab to display: flex !important; and overflow: hidden; will do the same thing as display: none, but for some reason, it will set your width automatic, so the slick will works perfectly.

This solution also worked for me in Bootstrap 5 tabs. But you need to set the display as block. Flexbox will create problems with the layout of Slick carousel items.

It's perfectly work... Thank you


java.lang.NoClassDefFoundError

I'm not sure if this is the right venue to post this question, but though I would start here before going to StackOverflow.
I am attempting to use JTransforms to compute a DoubleFFT_1D.
The full error message is this:
09-07 17:30:11.369 E/JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
                                 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jtransforms/fft/DoubleFFT_1D;
                                     at com.algoint.libzante.AutoCorrelation.compute(AutoCorrelation.java:66)
                                     at com.algoint.libzante.EstimateACF.estimateInSamplePeriods(EstimateACF.java:104)
                                     at <snip>
com.algoint.zante.BluetoothLeService.broadcastUpdate(BluetoothLeService.java:348)
                                     at com.algoint.zante.BluetoothLeService.access$700(BluetoothLeService.java:50)
                                     at com.algoint.zante.BluetoothLeService$1.onCharacteristicChanged(BluetoothLeService.java:243)
                                     at android.bluetooth.BluetoothGatt$1.onNotify(BluetoothGatt.java:438)
                                     at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:399)
                                     at android.os.Binder.execTransact(Binder.java:453)
                                  Caused by: java.lang.ClassNotFoundException: Didn't find class "org.jtransforms.fft.DoubleFFT_1D" on path: DexPathList[[dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-json_simple-1.1_9ec115b071c72fb6edf2028f7a57e4ae60bb5a65-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-dropbox-android-sdk-1.5.4_74a0c4010a6328c8c6443241412fa9c5c398a9ab-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-achartengine-1.1.0_0238cc7eb0f70b6065b267fb6df8a8f6b48a5319-classes.dex"],nativeLibraryDirectories=[/data/app/com.algoint.zante-2/lib/arm64, /vendor/lib64, /system/lib64]]
                                     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                     at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
                                     at com.algoint.libzante.AutoCorrelation.compute(AutoCorrelation.java:66)
                                     at com.algoint.libzante.EstimateACF.estimateInSamplePeriods(EstimateACF.java:104)
                                     at <snip>
com.algoint.zante.BluetoothLeService.broadcastUpdate(BluetoothLeService.java:348)
                                     at com.algoint.zante.BluetoothLeService.access$700(BluetoothLeService.java:50)
                                     at com.algoint.zante.BluetoothLeService$1.onCharacteristicChanged(BluetoothLeService.java:243)
                                     at android.bluetooth.BluetoothGatt$1.onNotify(BluetoothGatt.java:438)
                                     at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:399)
                                     at android.os.Binder.execTransact(Binder.java:453)
                                    Suppressed: java.lang.ClassNotFoundException: Didn't find class "org.jtransforms.fft.DoubleFFT_1D" on path: DexPathList[[zip file "/data/app/com.algoint.zante-2/base.apk"],nativeLibraryDirectories=[/data/app/com.algoint.zante-2/lib/arm64, /vendor/lib64, /system/lib64]]
                                     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                                            ... 12 more
                                        Suppressed: java.lang.ClassNotFoundException: Didn't find class "org.jtransforms.fft.DoubleFFT_1D" on path: DexPathList[[dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.

I have imported jtransforms as follows in the source file:
import org.jtransforms.fft.DoubleFFT_1D;
with the proper gradle entry:
apply plugin: 'java'
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile files('libs/JTransforms-3.1-with-dependencies.jar')
}

And corresponding Android Studio dependency setting:

The project compiles without an error and throws and error at the following line:
       // An array of length 4 will yield n = 8.
        // This is necessary for the computation to be correct.
        int n = 2 * nextPow2(x.length);
        // Twice the number of elements are required: real and imaginary parts of the FFT are stored consecutively
        double[] f = new double[2 * n];
        System.arraycopy(x, 0, f, 0, x.length);
        // FFT
        DoubleFFT_1D fft = new DoubleFFT_1D((long) n);  // ERROR ON THIS LINE
        // Use "full" to avoid more machinations with symmetry
        fft.realForwardFull(f);

The value of n when the error is thrown is 1024 and the length of x is 500.
I have found this error with both: "JTransforms-2.4.jar" and "JTransforms-3.1-with-dependencies.jar".
Can you recommend any solutions?
Thank you.

Surround the code that appears to be generating an exception in a try-catch-finally block, and then report the error back here...
James<PHONE_NUMBER>
On Wed, Sep 7, 2016 at 5:50 PM -0700, "kevinashaw"<EMAIL_ADDRESS>wrote:
I'm not sure if this is the right venue to post this question, but though I would start here before going to StackOverflow.
I am attempting to use JTransforms to compute a DoubleFFT_1D.
The full error message is this:
09-07 17:30:11.369 E/JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jtransforms/fft/DoubleFFT_1D;
at com.algoint.libzante.AutoCorrelation.compute(AutoCorrelation.java:66)
at com.algoint.libzante.EstimateACF.estimateInSamplePeriods(EstimateACF.java:104)
at
com.algoint.zante.BluetoothLeService.broadcastUpdate(BluetoothLeService.java:348)
at com.algoint.zante.BluetoothLeService.access$700(BluetoothLeService.java:50)
at com.algoint.zante.BluetoothLeService$1.onCharacteristicChanged(BluetoothLeService.java:243)
at android.bluetooth.BluetoothGatt$1.onNotify(BluetoothGatt.java:438)
at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:399)
at android.os.Binder.execTransact(Binder.java:453)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.jtransforms.fft.DoubleFFT_1D" on path: DexPathList[[dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-json_simple-1.1_9ec115b071c72fb6edf2028f7a57e4ae60bb5a65-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-dropbox-android-sdk-1.5.4_74a0c4010a6328c8c6443241412fa9c5c398a9ab-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-achartengine-1.1.0_0238cc7eb0f70b6065b267fb6df8a8f6b48a5319-classes.dex"],nativeLibraryDirectories=[/data/app/com.algoint.zante-2/lib/arm64, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at com.algoint.libzante.AutoCorrelation.compute(AutoCorrelation.java:66)
at com.algoint.libzante.EstimateACF.estimateInSamplePeriods(EstimateACF.java:104)
at
com.algoint.zante.BluetoothLeService.broadcastUpdate(BluetoothLeService.java:348)
at com.algoint.zante.BluetoothLeService.access$700(BluetoothLeService.java:50)
at com.algoint.zante.BluetoothLeService$1.onCharacteristicChanged(BluetoothLeService.java:243)
at android.bluetooth.BluetoothGatt$1.onNotify(BluetoothGatt.java:438)
at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:399)
at android.os.Binder.execTransact(Binder.java:453)
Suppressed: java.lang.ClassNotFoundException: Didn't find class "org.jtransforms.fft.DoubleFFT_1D" on path: DexPathList[[zip file "/data/app/com.algoint.zante-2/base.apk"],nativeLibraryDirectories=[/data/app/com.algoint.zante-2/lib/arm64, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 12 more
Suppressed: java.lang.ClassNotFoundException: Didn't find class "org.jtransforms.fft.DoubleFFT_1D" on path: DexPathList[[dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.algoint.zante/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.
I have imported jtransforms as follows in the source file:
import org.jtransforms.fft.DoubleFFT_1D;
with the proper gradle entry:
apply plugin: 'java'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/JTransforms-3.1-with-dependencies.jar')
}
And corresponding Android Studio dependency setting:
The project compiles without an error and throws and error at the following line:
   // An array of length 4 will yield n = 8.
    // This is necessary for the computation to be correct.
    int n = 2 * nextPow2(x.length);
    // Twice the number of elements are required: real and imaginary parts of the FFT are stored consecutively
    double[] f = new double[2 * n];
    System.arraycopy(x, 0, f, 0, x.length);
    // FFT
    DoubleFFT_1D fft = new DoubleFFT_1D((long) n);  // ERROR ON THIS LINE
    // Use "full" to avoid more machinations with symmetry
    fft.realForwardFull(f);

The value of n when the error is thrown is 1024 and the length of x is 500.
I have found this error with both: "JTransforms-2.4.jar" and "JTransforms-3.1-with-dependencies.jar".
Can you recommend any solutions?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi James,
Thank you for replying.
Interestingly, when I add the try-catch statements, the compiler throws and error:
Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'.
> java.lang.ClassNotFoundException: org.jtransforms.fft.DoubleFFT_1D

The relevant code block is:
        double[] fr = new double[2 * n];
        try {
            // FFT
            DoubleFFT_1D fft = new DoubleFFT_1D((long) n);
            // Use "full" to avoid more machinations with symmetry
            fft.realForwardFull(f);

            // Power spectrum
            for (int i = 0; i < n; i++) {
                fr[i] = Math.pow(f[2 * i], 2) + Math.pow(f[2 * i + 1], 2);
            }

            // IFFT
            fft.realInverseFull(fr, true);
        }
        catch (Exception e){
            Logger logger = Logger.getAnonymousLogger();
            logger.info(e.toString());
        }

I tried uploading the whole file, but importer does not like the file type.
Let me know if you want me to insert the whole file (123 lines).

Here is the full file:
package com.algoint.libzante;

import org.jtransforms.fft.DoubleFFT_1D;

import java.util.logging.Logger;

/**
 * Computes autocorrelation for real sequences using FFT.
 *
 */
public class AutoCorrelation {

    // Singleton pattern. Fine to use in this case, should be thread safe just like Math.cos.
    private static final AutoCorrelation INSTANCE = new AutoCorrelation();
    // To find next power of 2
    private static final double LOG_2 = Math.log(2);

    /**
     * Returns an {@linkplain AutoCorrelation} instance.
     *
     * @return an {@linkplain AutoCorrelation} instance.
     */
    public static AutoCorrelation getInstance() {
        return INSTANCE;
    }

    /**
     * Private constructor: not meant for sub-classing.
     */
    private AutoCorrelation() {
    }

    /**
     * Computes autocorrelation for a real valued sequence given as an array of {@code double}s. Will not accept
     * {@code null}. Will not accept an empty array. Computes "one-sided" autocorrelation, that is:
     *

     *

     *
The first element of the returned array is the "central" peak corresponding to zero lag.
     *
The values for negative lags are not computed owing to symmetry.
     *
The returned array has length equal to the next greater or equal power of two than the input array length. In
     * other words, an input of length 4 will return an array of length 4.
     *

     *
     * @param x
     *            the given input sequence.
     * @return one symmetric half of the auto-correlation sequence, starting with the central zero-lag element.
     */
    public double[] compute(double[] x) {
        if (x == null) {
            throw new NullPointerException("x is null");
        } else if (x.length == 0) {
            throw new IllegalArgumentException("x is empty");
        } else if (x.length == 1) {
            return new double[] { x[0] * x[0] };
        }
        // TODO: why 2 * nextPow2?
        // An array of length 4 will yield n = 8.
        // This is necessary for the computation to be correct.
        int n = 2 * nextPow2(x.length);
        // Twice the number of elements are required: real and imaginary parts of the FFT are stored consecutively
        double[] f = new double[2 * n];
        System.arraycopy(x, 0, f, 0, x.length);

        double[] fr = new double[2 * n];
        try {
            // FFT
            DoubleFFT_1D fft = new DoubleFFT_1D((long) n);
            // Use "full" to avoid more machinations with symmetry
            fft.realForwardFull(f);

            // Power spectrum
            for (int i = 0; i < n; i++) {
                fr[i] = Math.pow(f[2 * i], 2) + Math.pow(f[2 * i + 1], 2);
            }

            // IFFT
            fft.realInverseFull(fr, true);
        }
        catch (Exception e){
            Logger logger = Logger.getAnonymousLogger();
            logger.info(e.toString());
        }

        // This is real, but zero imaginary parts are also included. So strip those out.
        double[] c = new double[x.length];
        // And only return one half of the auto-correlation corresponding to positive lags.
        for (int i = 0; i < x.length; i++) {
            c[i] = fr[2 * i];
        }
        return c;
    }

    /**
     * Computes the next higher power of two, given an integer.
     *
     * @param n
     *            the given integer.
     * @return an integer strictly greater than {@code n} that is a power of 2.
     */
    int nextPow2(int n) {
        if (n < 1) {
            throw new IllegalArgumentException("n must be positive, given " + n);
        } else if (n == 1) {
            return 2;
        }
        // Special handling for powers of 2 to avoid dubious floating-point math
        int m = n;
        while ((m % 2) == 0 && m > 1) {
            m /= 2;
        }
        if (m == 1) {
            return 2 * n;
        }
        // For integers that are not powers of two...
        double log2base2 = Math.log(n) / LOG_2;
        return (int) Math.round(Math.pow(2, Math.ceil(log2base2)));
    }

}

I would be grateful if anyone could let me know if they have seen this issue before.

Question posted to StackOverflow.
http://stackoverflow.com/questions/39498690/android-java-lang-noclassdeffounderror

This is a problem with Android Studio, not JTransforms.

Did you find a solution? I have the same question, could you let me kown if you solved it? Thanks.


Backwards incomptaible change

I just wanted to let you know that version 2.6.0 includes backwards incompatible changes and should therefore have required a major version bump to follow semver. For example, in our team, we depend on ^2.5.0 and a recent npm install broke our application because npm rightfully downloaded version 2.6.0.
According to semver's FAQ, one way to fix this issue would be to release a new minor version that restores the renamed functions (without removing the new ones): https://semver.org/#what-do-i-do-if-i-accidentally-release-a-backward-incompatible-change-as-a-minor-version.

Hey @hartbit thanks for reaching out about this. This was a conscious decision, see this comment for the reasons:  https://github.com/gastromatic/calendar-date/pull/303#discussion_r1631458435 . But in hindsight i would not do that again and just stick to the convetions. So sorry for the inconveniences, will not happen again!
Of course this is up to you and your team, but i would strongly encourage to always use pinned versions in your package.json, so something like this cannot happen. Best in combination with e.g. renovate and some sort of ci check in the pipelines.
If you have any other problems with the library or feature requests, let me know :)

Would it be possible, as a minor release, to reintroduce toDate as a synoym of toDateUTC? This would also cover  the ^2.5.0 users out there, and be a non-breaking change. It could even be marked as being deprecated from v3 onwards ...
Should just be a minor addition here?
https://github.com/gastromatic/calendar-date/blob/main/src/CalendarDate.ts#L267

@edwardmjackson good point, i added toDate again in https://github.com/gastromatic/calendar-date/pull/314


Add unsubmit feature, improve grading overview page

Added unsubmit feature
Avengers can only unsubmit submissions made by students in their group, hence the unsubmit button becomes hidden when fetching all submissions.

Improved the style of grading overview page
This includes auto resizing of the grid, using a theme, some adjustments.

Pull Request Test Coverage Report for Build 1737

6 of 40 (15.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 24.167%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/actions/session.ts
1
2
50.0%

src/mocks/backend.ts
1
2
50.0%

src/components/academy/grading/index.tsx
2
13
15.38%

src/sagas/backend.ts
0
21
0.0%

Totals

Change from base Build 1733:
-0.2%

Covered Lines:
1211

Relevant Lines:
4174

💛  - Coveralls

Ok, I reverted the style changes and separated them into a new PR.

@rrtheonlyone jiachen recommended to hide the unsubmit button when the grader chooses to see all submissions. Currently, the feature in the backend only allows avengers of a student's group to unsubmit, even profs cannot unsubmit. People without a class will also be affected.

Interesting. Why not do it like this?

If role is :admin, he/she should be able to unsubmit regardless (:admin is for profs/senior teaching staff)
If role is :staff, he/she can only unsubmit for their own class

This is just a contingency just in case the TA happens to not be around or if the prof needs to be step in. @martin-henz @jiachen247 @geshuming let me know your thoughts on this!

Interesting. Why not do it like this?

If role is :admin, he/she should be able to unsubmit regardless (:admin is for profs/senior teaching staff)
If role is :staff, he/she can only unsubmit for their own class

This is just a contingency just in case the TA happens to not be around or if the prof needs to be step in. @martin-henz @jiachen247 @geshuming let me know your thoughts on this!

Yes, that sounds great.

Okay @geshuming / @jiachen247  could you handle the updating of the backend logic for this?
With this implemented, we do not need to hide the unsubmit button on the frontend side when viewing all submissions.

@rrtheonlyone ive reverted the hiding of the unsubmit column. there should also be a PR to allow admin to unsubmit

Okay sounds good 👍
Will take a look soon


EC routines assume ASN.1 DER encoded signature

According to the JWA specification, ECDSA signatures should be a 64-octet sequence consisting of the concatenation of R and S pair in big-endian order.
Unfortunately OpenSSL's default signature methods ASN.1 encode this pair, which means the signature isn't valid for JWT.
For example, this JWT using EC256:
let jwt1 = "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkxIjoidmFsMSIsImtleTIiOiJ2YWwyIn0.ClXK6cQOk3RgRRNZH53OFvamD9LT2mXo-YEZDlwx1tWu2xkZ9gfBEf2s6xQ9kwDAEna38upYNOrz47KkDkppZA";
let maybe_valid_sign1 = validate_signature(jwt1, &get_ec_public_key_path(), Algorithm::ES256);
assert!(maybe_valid_sign1.unwrap());

Fails to parse the signature since OpenSSL is trying to interpret the signature as being ASN.1 encoded:
thread 'tests::test_validate_signature_jwt_ec' panicked at 'called `Result::unwrap()` on an `Err` value: OpenSslError("ErrorStack([Error { code: 218570907, library: \"asn1 encoding routines\", function: \"ASN1_get_object\", reason: \"too long\", file: \"../crypto/asn1/asn1_lib.c\", line: 91 }, Error { code: 218529894, library: \"asn1 encoding routines\", function: \"asn1_check_tlen\", reason: \"bad object header\", file: \"../crypto/asn1/tasn_dec.c\", line: 1117 }, Error { code: 218595386, library: \"asn1 encoding routines\", function: \"asn1_item_embed_d2i\", reason: \"nested asn1 error\", file: \"../crypto/asn1/tasn_dec.c\", line: 289, data: \"Type=ECDSA_SIG\" }])")', libcore/result.rs:1009:5

This probably requires using the low-level EcdsaSig methods to get R and S then serialise them using BigNum::to_vec.

Fixed in https://crates.io/crates/frank_jwt/3.1.1.


Trigger post cache

Is it possible to trigger post cache so it runs before certain commands?
My use case is that I want to cache things installed by a package manager. And then install extra stuff with said package managed that should not be cached. In my script I cannot know what extra things get installed, so I cannot manually exclude them in the cache config. Having the cache make its copy before the second run of the package manager would solve this.

I have a similar situation. I am building a c++ project (very slow) and would like to sync the cache before running tests. This would allow iterating on changes much quicker as re-building would be fast when fixing tests or whatever.

This is a very desirable feature for me as well, for the same reason as it is for @MonsieurNicolas.

I still want it.

Drive-by comment: from https://docs.github.com/en/actions/advanced-guides/caching-dependencies-to-speed-up-workflows

Multiple workflows within a repository share cache entries. A cache created for a branch within a workflow can be accessed and restored from another workflow for the same repository and branch.

So maybe it is possible to have one workflow create the base cache with the key, and the other workflow just specify the same key to use it?

Thanks @robinp!

@JeroenDeDauw @kindaro You can create different workflows as stated above or create sequential jobs, like job A will create a cache and job B can use that cache.


Undo the changes introduced in #2332  #2412 and #2483

Follow-up to #2710.
The idea is to undo (some of) the changes introduced in the following PRs, to keep the definitions in ibc-relayer-types as canonical as possible, without object safety concerns.
This means that we have to re-introduce the Any[Header,Client,etc.] enums in the relayer-types crate, but perhaps there is a better design to be found.

[ ] #2332
[ ] #2412
[ ] #2483

Seems done, thank you Romain!

It's not actually done, but we may want to discuss which parts of this we actually want to revert. Not a priority right now though so let's push it to 1.3.

Done in #3671


How to support dbt-external-tables in new database?

Describe the feature
I want to support the external stage of Databend.
Additional context
Is this feature database-specific? Which database(s) is/are relevant? Please include any other relevant context here.
This feature is a database-specific. The database is Databend
Who will this benefit?
Some databend users want to use dbt-external-tables in there dbt system.

@hantmac we really need a CONTRIBUTING.md! In the meantime, I suggest looking at previous PRs that add support. For example:

#44
#51
#203

Predominately you're going to need a dispatched databend__create_external_table() macro. Depending on how different databend is from other platforms, there's some other macros you'll need to hit as well.


Fixed/Extended DS MAD FS snapshot script to work via BRIDGE_LIST on r…

…emote hosts
Bug report in Redmine
Signed-off-by: Kristian Feldsam<EMAIL_ADDRESS>

Thanks! The changes are modified a bit and merged in #312


Allow transferring the ownership of lockups

It would be nice for Hydro to offer a LSM-like feature where Hydro users could transfer the ownership of any of their own lockups to a different address.
The lockups would stay locked with the exact same duration, only the owner of the lockup would change.
Ideally, any unclaimed rewards would stay claimable by the previous owner, but it would add some complexity, as Hydro would need to keep track of users "in the past rounds".
For vote aggregators, it would allow a frictionless onboarding of existing Hydro users.

Thanks for the suggestion!
I don't see major issues with supporting your ideal way of past rewards staying claimable.
In general, rewards seem fine with this transfer:
They are given based on user votes; it would look like a user has voted in the past with a lock id that now doesn't belong to them anymore.
The complexity on this issue is that the transfer needs to correctly "unvote" the transferred lockups beforehand, so #211 might be helpful to implement first.


Question about where to put reactive code.

I currently have my reactive code in the viewDidLoad method, and I dispose everything in the deinit.
However, I noticed that when I exit my view controller, the deinit is never called. I confirmed that the view controller is not getting reused, and that my memory footprint goes up with every entry/exit of my view controller, but no leaks are detected...
Does anybody know what is going on?

Are you running instruments against simulator or a real device to check memory footprint? If the answer is simulator, try again using a real device.
About deinit never called, have you checked for reference cycles? They won't show as memory leaks (since they aren't). Another thing you could do, it's to consider using viewWillAppear and viewDidAppear to create and dispose your reactive code.

Hi @dtartaglia, leaks profiler in Xcode is useless. Apple has made a small dirty marketing trick there :)
If you use allocations profiler, you should see number of view controller objects in memory.
Unfortunately, Apple has bug with profiling allocations on simulator, so you'll need to run profiler on real device, otherwise it won't show instances of some of your objects :(
@manumax is right, you have retain cycle somewhere.
We can probably discuss things like that in slack, because otherwise we'll spam whoever is watching this repository :)

FYI. I found the retain cycle and fixed it.


Carousel View not appearing after switching pages (Android)

Hi i have an issue with Android OS where when i switch pages the carousel view control dissapear.
Example: Im in Page 1 and carousel view loads perfectly first time and when refreshing values too works fine, but when i switch to Page 2 and i go back to Page 1 the carousel view control doesn't load anymore but in iOS works perfectly.
Here is how a switch pages.

and here is how i refresh carouser view values.

I have same issue. please check it out.

I think this worked for me.
In CarouselView/CarouselView/CarouselView.FormsPlugin.Android/CarouselViewImplementation.cs
add  canSetLayout = true;
        protected override void OnAttachedToWindow()         {             if (Control == null)            {                canSetLayout = true;  //Add this line                 Element_SizeChanged(Element, null);            }             base.OnAttachedToWindow();         }

I think this worked for me.
In CarouselView/CarouselView/CarouselView.FormsPlugin.Android/CarouselViewImplementation.cs
add canSetLayout = true;
 protected override void OnAttachedToWindow() { if (Control == null) { canSetLayout = true; //Add this line Element_SizeChanged(Element, null); } base.OnAttachedToWindow(); }
Where is that folder located?

you have to download the source-code and modify this file
https://github.com/alexrainman/CarouselView/blob/master/CarouselView/CarouselView.FormsPlugin.Android/CarouselViewImplementation.cs

you have to download the source-code and modify this file
https://github.com/alexrainman/CarouselView/blob/master/CarouselView/CarouselView.FormsPlugin.Android/CarouselViewImplementation.cs

Edited. now how can i implement the edited nugget into my project?

@alexrainman any solution?

Update: This bug doesn't happen in version 5.0.2, this bug occur after 5.0.2

@becarioWelldex copy the CarouselView.FormsPlugin projects into your project and create references to them as follows:
Your Xamarin.Forms (.NET Standard) project => CarouselView.FormsPlugin.Abstractions
Your Android project => CarouselView.FormsPlugin.Android
Your iOS project => CarouselView.FormsPlugin.iOS
Trying to re-publish this project as an update NuGet is a headache. It is dated, thus the resulting package doesn't build as you would expect (your changes will not be present).
Trust me, not worth the headache... Just create the project references locally and move on with your life.

Is this issue only happening with Android 9 ? thanks.

same issue. CarouselView hosted in AppShell tabs. When moving to a different tab, and then back to the tab that has the CarouselView, the content is empty until a resize event takes place.

Expect a fix in the next release.


Field "Release Date" is missing in metadata

Dataset - Metadata - Edit
Field "Release Date" is missing in metadata.
ReleaseDate is an original date (Year-Month-Date) of issue of the version for the Catalogue of Life.

There is a Dataset.released field for this, but it is missing in the dataset metadata forms


docs/fs/vfat: Improve VFAT documentation

Summary
Improved documentation of File Allocation Table (FAT) or VFAT.
Impact
Fixes #11655.
Testing

checkpatch testing
make autobuild testing to check errors and the output

I would feel at ease if this information was verified (in case of any misunderstanding).


Ctrl-Z

or u for vim nerds

Good idea. This would also enforce that all the useful state is kept in the Model.


Azure Firewall policy variable

[Enter feedback here]
Set-AzFirewallPolicyRuleCollectionGroup does not take in -AzureFirewallPolicy with AzureFirewallPolicy object and instead expects -FirewallPolicyName with string value.

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

ID: 777f3765-ab03-a9ba-fd73-f5987795420e
Version Independent ID: 1c0657cd-d941-b25a-83a0-e87969e264e1
Content: Set-AzFirewallPolicyRuleCollectionGroup (Az.Network)
Content Source: src/Network/Network/help/Set-AzFirewallPolicyRuleCollectionGroup.md
Service: virtual-network
GitHub Login: @dcaro
Microsoft Alias: dcaro

Hello @krhill81
Thank you for your feedback! We will review and update as appropriate.

Hello @krhill81
We have proposed the suggested changes to the document, which are currently under doc author's review. We will now proceed to close this issue out. Please tag me in your response if there are any additional concerns. Thank you!


added join to PoolStringArray

see #7657
tested with
func _ready():
	var a = PoolStringArray(["mpv","open","dvd"])
	print( a.join("-") )

Result
mpv-open-dvd

Looks good, now you just need to do a rebase, since we want just one commit per feature (and you got two).
To do this you might use something like:

Get the current commit id (df20a69) and note it somewhere, just in case
Checkout to branch, etc.
git rebase -i HEAD~2 "interactively rebase the last 2 commits" - this will open your configured $EDITOR (probably vi or nano), and will ask you what to do with each of those commits. You would probably want to mark the second one as "fixup" and close the file. (feel free to search around and use common sense here)
After the rebase is finished, run a git log and git show in order to make sure that the commits are right.
 The reason is that the rebased commit can't be simply pushed, but it should be force-pushed, since we are overwriting history. To do this you can use
git push -f [myorigin mybranch]

Finally, if something goes wrong, you can drop by on IRC and ask around, we have some "experts" on the topic, like @akien-mga, and somewhat myself too :smiley:.


Bugfix: Don't toggle comment on Vc

Issue: Pressing c in visual mode comments out selected lines
Defect: Caused by a boolean or condition involving VIsual_active that should have been a boolean and. This might in turn have been caused, at least partly, by a misleading comment.
Fix: Switch the boolean or to an and, and rectify the misleading comment.

Nice catch @glennsl ! Thanks for fixing this and adding the test

Will you do a release so we can get it into Oni @bryphe?

Done! 8.10869.38


Issue 20: Connect Characteristics dropdown to SelectCharacteristic()

hook up characteristics dropdown to Demo.SelectCharacteristic()

This is a fix for #20
I don't have much experience with Unity projects and git. Please let me know if I should remove any of these files from the commit. Part of the change includes changing the Unity version, and I think that required the addition of some files.

Thanks @ehauner for the pull request! I guess the relevant lines are 3542-3554 in Demo.unity . Could you try to exclude the version change from the commit? E.g. by committing once after import, once after doing the change and then cherrypicking the change onto master? I'm not feeling very good when changing the version.
Btw instead of reopening the pull request you can also force push :+1:

Yes. To be safe, I'll get a matching version of Unity then make the change. I didn't feel great about changing the version either.

Updated and tested

Great!


Improve GEE test coverage

These files have some of the lowest coverage in Cesium:

Perhaps it is possible to create stubs to cover more of the code.

And these:

Part of the issue is that there is a large amount of generated code from the protocol buffer stuff, it would make sense to add whatever special comments we need to instruct coverage to ignore those junks of code.

Sounds good.  Related: if it is not a huge amount of work, I am also into looking at other coverage tools that we can run as part of CI.

Switching to istanbul has been the plan for a while and is what we use in all of our other projects..  The problem is karma is lagging behind istanbul versions and we need the newer versions to actually be able to test Cesium (because of it's size).  It might be easy to just use istanbul directly, but I need to look more into it.

This is unlikely to become a priority anytime soon. We'd still happily accept a PR addressing this issue. But tracking this isn't particularly useful because of its low priority, so I will close it. Thanks!


ruby client, node server timeout on sleeping server,

In the ruby client to node server "timeout_on_sleeping_server" interop test, the client sometimes receives a Cancelled status instead of DeadlineExceeded status.
This happens frequently on jenkins interop tests. (one log in https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/9915/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/)
It seems related to https://github.com/grpc/grpc/issues/53
So far this seems to only be reproducible when running interop tests similarly to how they're run on jenkins, e.g.: tools/run_tests/run_interop_tests.py -l ruby -s node --cloud_to_prod --cloud_to_prod_auth --use_docker --http2_interop -t -j 12

Seen again: https://grpc-testing.appspot.com/job/gRPC_interop_master/9444/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

Seen again: https://grpc-testing.appspot.com/job/gRPC_interop_master/lastCompletedBuild/testReport/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

Seen again:
https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/10072/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

another failure in:
https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/9984/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

@ctiller is there a story for fixing this?

Seen again:
https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/10150/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

Seen again: https://grpc-testing.appspot.com/job/gRPC_interop_master/9619/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/
Ain't this buildpony thing fun?

Seen again: https://grpc-testing.appspot.com/job/gRPC_interop_master/9636/testReport/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

seen again in https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/10267/

seen again in https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/9984/testReport/junit/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

also seen in https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/10279/testReport/(root)/tests/cloud_to_cloud_ruby_node_server_timeout_on_sleeping_server/

Seen in gRPC_interop_master builds

10097
10107
10108
10111

I have some error handling cleanup work in #9111 that I'd like to land before starting to address this.

seen again in https://github.com/grpc/grpc/pull/9322

Seen again in #9458


Handle CustomClientMethod properly

Fixes #73
Will need a minor release to unblock haskell/ghcide#767

Thanks!

@pepeiborra lsp-test-<IP_ADDRESS> is on hackage now


chore(ci): add job names to make status checks required

Description
In order to list a status check as required, the job must contain a name, and the workflow name does not count.

emojis :D


Add launch configuration for VSCode

Makes local testing a bit easier 🤗 .

I forgot to include the .vscode/ in the gitignore 🤦
I will prefer to ignore non-project related settings because it can be tricky at long term and not all the mainters/users will follow the same approach. For example I use a cool plugin to color out each VS Code instance based in the my preferences but is very different than other colleagues but I don't include it in to the project as it can be annoying for others. Also it will create some additional issues/PRs to maintain it over the time

With the changes in #50 you can keep the files working in local 👍

Hmm, the user settings are in a different json file (settings.json). My PR was to add at least a configuration so that new contributors have an easier way to run the action locally, so they can debug. I can even imagine adding recommended extensions to the extensions.json file, but that would be it.  We could level up the reading of the input variables, so that those are stored in an .env file, then there would be no user specific configuration in the launch.json


no shared cipher (_ssl.c:1056)

Hello everyone,
I'm new here, and trying to flash Tasmota on my new Teckin SP22 smartplugs.
I didn't open them, so I don't know whether they mount the right version of the chip.
These are the plugs:
https://www.amazon.it/Intelligente-Compatibile-TECKIN-Controllo-Temporizzazione/dp/B07D5V139R/ref=sr_1_2?__mk_it_IT=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=teckin+sp22&qid=1605869977&sr=8-2
I didn't manage to get them flashed, and it seems i get stuck at this, in psk log:
 "could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056) don't panic this is probably just your phone!"
I tried changing the phone twice (2 different phones used), but no luck.
I saw also the dreaded message
WARNING: it appears this device does not use an ESP82xx and therefore cannot install ESP based firmware
but that appears only before I hit ENTER for starting the process, so I'm not sure this is the real cause (I was checking the logs live with tail -f etc...)
Attached all the logs file (i retried a few times, so logs refer to a few retries).
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log
smarthack-mqtt.log
Thanks in advance for helping :)

"could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056) don't panic this is probably just your phone!"

Like the log says, it's just your phone. Nothing to worry about, it is not a problem.

WARNING: it appears this device does not use an ESP82xx and therefore cannot install ESP based firmware

This is actually the real issue, the test is reliable. You will see this before pressing ENTER if the device has previously gone through the process.
Unfortunately nothing can be done on our end if it does not use the ESP82xx microcontroller. Some adventurous folks have managed to replace the chip with an ESP, but AFAIK there are no mature alternative firmware for the newer lines of IoT chips.


MPU9250, what is switch in fusiontest.py

Hi @peterhinch
when I try to run the fusion test.py for MPU9250, there is code for external switch. Could you explain what that is and how to define it? I am using ESP32 board.
thx

See this line. It allows for a physical switch or pushbutton connected between a pin and Gnd. This enables you to tell the program when calibration is done. However the purpose of calibration is to correct the magnetometer, and your device doesn't have one.

Hi @peterhinch , I did see that line. Could you explain more about the calibration process? I do have MPU9250 try.
thx

Please read the docs. If there is a specific point in the docs which you don't understand, please point me to the paragraph which is unclear. That way I can improve the docs for others.


Update RELEASING and READMEs to describe oakpal:webster process

@adamcin Would you mind adding the information in the description to the README project, maybe in a new section called "Updating OakPAL Checklists" (could be in just the oakpal-checks module, but since the instructions span both content and oakpal-checks modules, putting it in the root README makes more sense to me.
Regarding:

This should be performed regularly as
existing content is changed, and as new content is added to the content package.
This will likely only need to be performed when
features are added to the checklists, or when service packs are
released.

Would it make sense to add this to the RELEASING file and just establish it as something that happens as part of every minor release (no need to do these for patch releases AFAICT).
Originally posted by @justinedelson in https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/1928#issuecomment-501372220

minor edit to description (moving back and forth between JIRA and GH issues always results in me doing the formatting wrong)


chore: update from CentOS Stream 8 to UBI 8

resolved by https://github.com/stackrox/rox-ci-image/pull/212


Is Jenny only sold in the unity store?

Hi,
I have an idea ；
There is no doubt that Jenny is really good to use.
 （is Jenny a cat？🤔）
but，
If one day I bought a new computer, I used a game engine like MonoGame, GoDot, and I don’t want to buy Jenny and download a unity to get it.
Jenny probably should be able to buy it in places like Itch.io, not just in the unity store.
Cheers

Hi, yes I was thinking to sell Jenny as a standalone tool. It's really flexible and also works completely without Entitas.
I was thinking to sell it on the Asset Store, because it's convenient and probably most of the people use Unity.
But I'm open to suggestions. I'm not familiar with other stores, so if there are great alternatives, let me know

I think Itch.io is a cool choice. There are not only a lot of cool indie games, but also a lot of independent tools, plugins, text editors, programming languages, art resources, development frameworks, mixers, any Game development related stuff (you can also find an ECS-based console...) https://itch.io/devlogs/tools
I think this is a good way to show Entitas, fully demonstrating the independence of Entitas. You may not be able to anticipate on how many copies it can sell on it, but it is a good way for developers other than used unity to get Jenny.
But this is just my personal suggestion. because I saw a developer asking a similar question on gitter yesterday (and I bought Entitas recently, and the unity's version is updated so frequently today. this is really very
Tangled, although unity's ECS can't be  production ready now,but it maybe better to use some day.
at least Entitas makes me write very comfortable, I feel very strong under the BDD process, and my heart is very peaceful， i get the follow)

I think Itch.io is a cool choice. There are not only a lot of cool indie games, but also a lot of independent tools, plugins, text editors, programming languages, art resources, development frameworks, mixers, any Game development related stuff (you can also find an ECS-based console...) https://itch.io/devlogs/tools
I think this is a good way to show Entitas, fully demonstrating the independence of Entitas. You may not be able to anticipate on how many copies it can sell on it, but it is a good way for developers other than used unity to get Jenny.
But this is just my personal suggestion. because I saw a developer asking a similar question on gitter yesterday (and I bought Entitas recently, and the unity's version is updated so frequently today. this is really very
Tangled, although unity's ECS can't be production ready now,but it maybe better to use some day.
at least Entitas makes me write very comfortable, I feel very strong under the BDD process, and my heart is very peaceful， i get the follow)
I think this is a good way to show Entitas, fully demonstrating the independence of Entitas. You may not be able to anticipate on how many copies it can sell on it, but it is a good way for developers other than used unity to get Jenny
.
But this is just my personal suggestion, because I saw a developer asking a similar question on gitter yesterday (and I bought Entitas recently, and the unity's version is updated so frequently today. this is really very
Tangled, although unity's ECS can't be production ready now,  it maybe better to use some day.
At least Entitas makes me write very comfortable, I feel very strong under the BDD process, and my heart is very peaceful)
This is a big job, I think there are too many parts to consider, involving Jenny's development direction, and related protocol issues, at least the licensing agreement I saw in the unity store (except for entita and Roslyn).
Part) is a plugin for a seat (confused that I didn't know at the outset what is the difference between Entita and github sold in the store)

The following text I use google to translate Chinese into English, I hope you can understand
I think Itch.io is a cool choice. There are not only a lot of cool indie games, but also a lot of independent tools, plugins, text editors, programming languages, art resources, development frameworks, mixers, any Game development related stuff (you can also find an ECS-based console...) https://itch.io/devlogs/tools
I think this is a good way to show Entitas, fully demonstrating the independence of Entitas. You may not be able to anticipate on how many copies it can sell on it, but it is a good way for developers other than used unity to get Jenny.
But this is just my personal suggestion, because I saw a developer asking a similar question on gitter yesterday (and I bought Entitas recently, and the unity's version is updated so frequently today. this is really very
Tangled, although unity's ECS can't be production ready now, it maybe better to use some day.At least Entitas makes me write very comfortable, I feel very strong under the BDD process, and my heart is very peaceful)
but  involving Jenny's positioning , and related protocol issues, at least the licensing agreement I saw in the unity store (except for entita and Roslyn).
Part) is a plugin for a seat (confused that I didn't know at the outset what is the difference between Entita and github sold in the store)

@sschmid Jenny is a life saver, I use it everyday with Rider, please consider to make it as a standalone tool even without Unity. I've made my own code generator based on T4, but it's far worse than Jenny. It would great if we could customize Jenny, learning Roslyn from scratch is an overkill after all.

You can now build Jenny without getting it from the Asset Store.
Here's a sample Entitas project as a dotnet console app using .NET 6.0 and .NET Standard 2.1, including a working Jenny setup:
Entitas-Standalone
Also see announcement: Jenny is now open-source
https://github.com/sschmid/Entitas/discussions/1008


Limiting number of values in x-axis

Hi, I would like to know if there is a way to limit the number of points i want to display on the X-axis label. Please let me know if there is any possible way.
Thanks!

Did you find a solution? I am trying a way to limit the values on the y axis

https://www.youtube.com/watch?v=m8gyy7JItmU https://www.youtube.com/watch?v=1WZjeESH4a0

do something like this
let labelIndex = 0;
let skipLabelEvery = 3;
then use formatXLabel prop
      formatXLabel={(value) => {
        labelIndex++;
        return labelIndex % skipLabelEvery === 0  ? value : "";
      }}


Update sbt-microsites to 0.9.2

Updates com.47deg:sbt-microsites from 0.7.27 to 0.9.2.
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.47deg", artifactId = "sbt-microsites" }]

labels: semver-minor

the sbt microsites plugin has a transitive dependency on mdoc, and somehow it's being pulled in with this project's scalaversion. So if the scalaVersion is 2.13, then pulling in the sbt plugin for microsites requests mdoc for 2.13.
Issues:
https://github.com/47deg/sbt-microsites/issues/305
https://github.com/scalameta/mdoc/issues/156

Skipped in #225


Update viewdirection_vector3 to correctly utilize attribute space

Previously, attribute space in node viewdirection_vector3 was unused by GLSL and MSL implementations. This change correctly transforms the view direction from world space to the specified space.

@edobrowo This looks really promising, and to resolve the EasyCLA issue, I'd recommend following up through the support link that the Linux Foundation provides:
https://jira.linuxfoundation.org/servicedesk/customer/portal/4

I've made the ticket, thank you!
I'm not entirely sure why the view direction is not properly transformed in the object /model case. Also, it seems to be unaffected by any transformation, not just the world inverse transpose.

Thank you for the feedback! I made the requested changes, though the issue still persists. It seems like the transformation isn't being applied; why could this be the case? Thank you!

@edobrowo This looks like a good step forward, and here are three suggestions for debugging the math of the new logic:

One useful debugging tool that you can use here is the G key in the MaterialX Viewer, which writes the generated GLSL code out to a file on disk, where you can read it directly and compare it against what you expected to see.
For additional detail, I'll sometimes place breakpoints in the new code path that I've written, allowing me to validate that my new code is executed, and that the inputs to the function match my expectations.
As an external reference point, you might compare your new logic against the equivalent code in https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/source/MaterialXGenShader/Nodes/HwNormalNode.cpp, just to make sure you're not missing any important steps in your object-space code path.

@jstone-lucasfilm Thanks for the tips. I've been mainly testing in the graph editor and the viewer. I realized that the world transform, inverse transpose, etc. are all the identity matrices, since presumably object space is equivalent to world space for viewing single objects. This also explains why the output to normal_vector3 doesn't vary with the input space either.
I tested by hardcoding arbitrary mat4 transformations into the object-space path, and confirmed that when the node input is set to object or model space, the transformation is in fact applied. What would be an effective way to create a test case where the object is offset from world space? Thank you again.

@edobrowo Good catch, and that makes sense.  We don't yet have an effective way to test non-identity world-space transforms in the viewer and graph editor, and this would likely be a good candidate for a future improvement to MaterialX!
Given that context, this proposed change looks good to me, and I'll go ahead and run a few validations before merging.


[Central_v2] - Bug Report - # 20 Mobile

Describe the bug
Discard clears the data but also kicks the user back to the homepage.
To Reproduce
Steps to reproduce the behavior:

Create game
Fill out information in the question game creation cards
Click Discard
See error (you are brought back to the homepage)

Expected behavior
When clicking the Discard button, we would expect all the information to clear but stay on the create game page.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: iOS
Browser safari

Smartphone (please complete the following information):

Device: iPhone14 Pro
OS: iOS8.1.1
Browser [e.g. stock browser, safari]

Additional context
Add any other context about the problem here.

Same issue as: https://github.com/rightoneducation/righton-app/issues/1377
Closing per discussion from previous meeting in favour of: https://github.com/rightoneducation/righton-app/issues/1394
@rod-hinn


Remove SEV test from quarantine

What this PR does / why we need it:
This test has been very stable since the fix[1] was merged.
It has passed in every periodic run since the fix was introduced.
[1] https://github.com/kubevirt/kubevirt/pull/10026
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
/cc @vasiliy-ul @xpivarc @dhiller
Release note:
NONE

/approve


UI: Metric columns are duplicated upon upload

It seems that there is a UI bug that is causing the metric columns do be displayed twice in the system browsing menu?

fixed in https://github.com/neulab/explainaboard_web/commit/f3fffc53f377603d0eb6a6706abb21ddeea05df3


fixfix some nereids planner bugs

Proposed changes
Issue Number: close #xxx
Problem summary

some encrypt and decrypt functions have wrong blockEncryptionMode
topN node should compare tuples from intermediate_row_desc with first_sort_slot.tuple_id
must keep the limit if it's a limit on sort ( order by xx limit yy )

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.32 seconds
stream load tsv:          423 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230510121002_clickbench_pr_141810.html

run buildall


bug with pygments 2.16.0

A heads up on a new bug I just saw when running superqt tests on napari:
napari/utils/events/evented_model.py:246: in __init__
    super().__init__(**kwargs)
pydantic/main.py:341: in pydantic.main.BaseModel.__init__
    ???
E   pydantic.error_wrappers.ValidationError: 1 validation error for Theme
E   syntax_style
E     Incorrect `syntax_style` value: native provided. Please use one of the following:  abap, algol, algol_nu, arduino, autumn, bw, borland, colorful, default, dracula, emacs, fruity, friendly, friendly_grayscale, github-dark, gruvbox-dark, gruvbox-light, igor, inkpot, lightbulb, lilypond, lovelace, manni, material, monokai, murphy, nord, nord-darker, one-dark, paraiso-dark, paraiso-light, pastie, perldoc, rainbow_dash, rrt, sas, solarized-dark, solarized-light, staroffice, stata, stata-dark, stata-light, tango, trac, vim, vs, xcode, zenburn
E   assert 'native' in {'abap': 'abap::AbapStyle', 'algol': 'algol::AlgolStyle', 'algol_nu': 'algol_nu::Algol_NuStyle', 'arduino': 'arduino::ArduinoStyle', ...} (type=assertion_error)

looks like the new release of pygments (2.16.0) may have broken the theme naming strategy here

Looks like this PR:
https://github.com/pygments/pygments/pull/2443
which alphabetized the style list, dropped native—by accident I presume...

Made PR upstream that fixes our issue:
https://github.com/pygments/pygments/pull/2484

way to go @psobolewskiPhD 👍

FYI at present this makes a fresh pip napari not able to launch, which is a bit annoying!
conda-forge is still OK, because the pygments version hasn't propagated yet.

2.16.1 is out with a fix: https://pypi.org/project/Pygments/2.16.1/

thanks @Anteru

Can confirm, pip install pygments -U and everything is groovy again.


Active learning support for QnA Maker

Fixes #
Description

Support for active learning
Train API
Active learning helper class
Code refactoring
Parity with https://github.com/microsoft/botbuilder-dotnet/pull/2124
Specific Changes

Testing

Got a LGTM from @zerryth as well.


no exported member 'AngularFireList'

Version info

Angular: 4.3.4
Firebase: 4.5.0
AngularFire: 5.0.0-rc.1
Other (e.g. Ionic/Cordova, Node, browser, operating system): stackblitz
How to reproduce these conditions
visit the stackblitz: https://stackblitz.com/edit/angular-wrsmn2
Debug output
If you go to the file app/hello.component.ts, you will se this error:
 Module '"node_modules/angularfire2/database/index"' has no exported member 'AngularFireList'.
Expected behavior
A fancy list of dinosaurs in the browser! Dinosaurs - since I know how much the firebase team likes dinosaurs 😄
Actual behavior
The error of no exported member, and no dinosaurs.

The stackblitz certainly shows it, but I'm having no problem importing in a local project. I know Stackblitz is fairly new....is there a potential for this problem to be on their end?

@markgoho one thing is the error. The other thing is that I don't see any dinosaurs in the html.

@dauledk I refactored your code to use just one component: https://stackblitz.com/edit/angular-trrnhg
Seems to be working (showing dinosaurs) but still not accepting that import from angularfire2/database

Loooks like a possible issue with StackBlitz, works fine here https://stackblitz.com/edit/angular-template-firebase?file=app%2Fapp.module.ts

@Toxicable - I removed and re-installed angularfire2. It solved the problem. @markgoho - I now see that I dont reference the correct template file, and when I do stackblitz crashes :expressionless: Thanks for the help regardless 💯


memoization: avoid recursive computeIfAbsent

Hey, I just made a Pull Request!
Description
Avoid recursive CHM.computeIfAbsent.
Motivation and Context
https://bugs.openjdk.java.net/browse/JDK-8062841
Have you tested this? If so, how?
Tests pass.
Checklist for PR author(s)

[x] Changes are covered by unit test
[x] All tests pass
[ ] Code coverage check passes
[ ] Error handling is tested
[ ] Errors are handled at the appropriate layer
[ ] Errors that cannot be handled where they occur are propagated
[ ] Relevant documentation updated
[ ] This PR has NO breaking change to public API
[ ] This PR has breaking change to public API and it is documented

Checklist for PR reviewer(s)

[ ] This PR has been incorporated in release note for the coming version
[ ] Risky changes introduced by this PR have been all considered

Please add description or comment in he code why this would workaround the bug. Maybe also a to-do to change it back later.

Addresses #169

LGTM

fixes #169


FR: Treshold of Updates before Counter is shown

Right now, there is only the option to hide the status bar item when there is no update. However, I'd find it quite useful if you could configure a threshold number: For example, only when x plugins have updates available, the indicator shows up in the status bar to remind you

This is implemented in v1.5.0

thank yo 😊


feat: Stripe ACH Headless implementation

Description
ACC-2996
ACC-3136
ACC-2998
This PR contains Stripe ACH headless implementation.

added Stripe ACH payment method
added Stripe ACH user details component
added Stripe ACH tokenization logic
added Stripe ACH payment handling logic
added sample merchant UI app

Other Notes

Other changes that are not specifically related to the intent of the PR

Manual Testing
In order to test this you need to:

select the country US and currency USD
add:
metadata: ["scenario": "STRIPE_ACH_ONEOFF",                      "deviceInfo": ["ipAddress": "<IP_ADDRESS>",                                              "userAgent": "ios"]]

Screenshots
If applicable, otherwise remove this section
Contributor Checklist

[ ]  All status checks have passed prior to code review
[ ]  I have added unit tests to a reasonable level of coverage where suitable
[ ]  I have added UI tests to new user flows, if applicable
[ ]  I have manually tested newly added UX
[ ]  I have open a documentation PR, if applicable

Reviewer Checklist

[ ]  I have verified that a suitable set of automated tests has been added
[ ]  I have verified that the title prefix aligns to the code changes + whether a release is expected after merging the PR
[ ]  I have verified the documentation PR aligns with this PR, if applicable

Before Merging

[ ]  If introducing a breaking change, I have communicated it internally
[ ]  Any related documentation PRs are ready to merge

Other Stuff

You can find out more about our automation checks here
Find out more about conventional commits here

https://github.com/primer-io/primer-sdk-ios/actions/runs/10597899293/job/29369572118


Isolate per user in k8s

Network policies are support now, but will still need to isolate per user/namespace


Can you give me the  scenario files?

Thank your repo, and can you send me the scenario files of Manhattan Grid and TAPAS Cologne? thanks
my email<EMAIL_ADDRESS>

Can you send me the scenario files of Manhattan Grid and TAPAS Cologne? thanks
my email<EMAIL_ADDRESS>

Hi，@qqins
I have run successfully this code on Manhattan Grid Map but I can't get the *.vec and *.sca files in OMNET，did you get the same problem and did you know how to solve this? I can send you the Manhattan Grid Map, you should try it. One reason maybe I should cut down the simulation time and run it again.


Refactor

Fix typos/inconsistencies, update socket regex logic for better potential performance

on it

built the refactored branch;
tested using demo_sockets.json
http/https resolved to use checksite() as it should
approving the merge


java.lang.AutoCloseable not found

Hi,
I am trying to build this project, but I am getting the following error when I run mvn package in elasticsearch-transport-couchbase folder:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/Levon/GoogleDrive/BFM/Dev/custom-plugins/transport-couchbase/elasticsearch-transport-couchbase-master/src/main/java/org/elasticsearch/transport/couchbase/capi/ElasticSearchCAPIBehavior.java:[115,58] cannot access java.lang.AutoCloseable
class file for java.lang.AutoCloseable not found
IndicesExistsRequestBuilder existsBuilder = client.admin().indices().prepareExists(index);
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.694 s
[INFO] Finished at: 2014-08-25T12:39:51-04:00
[INFO] Final Memory: 15M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project elasticsearch-transport-couchbase: Compilation failure
[ERROR] /Users/Levon/GoogleDrive/BFM/Dev/custom-plugins/transport-couchbase/elasticsearch-transport-couchbase-master/src/main/java/org/elasticsearch/transport/couchbase/capi/ElasticSearchCAPIBehavior.java:[115,58] cannot access java.lang.AutoCloseable
[ERROR] class file for java.lang.AutoCloseable not found
[ERROR] IndicesExistsRequestBuilder existsBuilder = client.admin().indices().prepareExists(index);
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
My directory structure is as follows:
root/
couchbase-capi-server-master
elasticsearch-transport-couchbase-master
Not sure if this is relevant, but I've download the latest version of elasticsearch and it remains in:
usr/local/elasticsearch-1.3.2
I've tried to build this the way I did previous versions:

run mvn install inside couchbase-capi-server-master (builds successfully)
run mvn package inside elasticsearch-transport-couchbase-master (gets error)

This has successfully worked int he past. Not sure where to go from here. Am I building it wrong or is this an issue?
Thank you,

Even I set java 1.7/1.8 error is same,  any other setting require, there is no problem for build and run but its show red line there.
Thanks

Thanks


Add avocadordinals  collection

add avocadordinals collection

inscriptions.json does not contain valid ids.

close pull request. reason: please edit and include valid inscription id numbers


Light switch status off when device is on >>

Describe The Bug:

when wyze light switch turns on it shows in homekit as switch is on but after few seconds it changes automatically to off in homekit even though the device did not turn off.
no log appear in homebridge when toggeling device on or off.
HB v. 1.6.1
Node.js Version | v18.17.1
plug in V0.5.37 alpha.2
Node.js Version	v18.17.1

Can you upgrade to version 3 and report back

https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.37-alpha.4

Still same issue persist. I am having to revert to v0.5.35 to get the issue resolved

The code is the same for both version within the aspect of the WyzeSwitch. So I am not sure what is happening. The latest release seems to work for me.

I did find the issue. I will release it soon.

Awesome, thanks a bunch

https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.37-alpha.6

The new update is working perfectly. Thank you for the awesome work!!


GW vasp

A few comments:

Version >= 6.3.0 seems to be able to handle DFT+GW in one single mainfile, hence it will be good to generalize the VASPParser to handle these cases. But I have not examples and I am not sure whether it is enough to simply check the version to set the _child_archives.
I re-defined / moved parse_incarsinout and parse_kpoints as methods of VASPParser to be callable by either self.parse_method() (DFT) or self.parse_gw() (GW).
Fix of 'countour_deformation' to 'contour_deformation' in some GW parsers.
Defined n_states_self_energy as a complementary quantity to n_empty_states_self_energy: some codes cannot extract one or the other.

TODO:

[X] Work on parsing from OUTCAR the GW eigenvalues. -> (not done) tbh, at this point this feature can be a future feature IF users ask for it. The OutcarTextParser is a bit broken as I could see, and cannot handle version>6.
[x] Add tests for Si GW calculation.

@ladinesa could you please review this and the corresponding MR in nomad (1290)? It is pretty straightforward, and with this I can stop parsing and modifying the GW metainfo for a while.
@ndaelman-hu this might interest you, but I am not sure.

Another remark:

I deleted nose from the get_structure method, as it is being problematic. Maybe Joe can take a look in a future if he wants to implement MD calculations.

Thanks for the changes. You can merge after addressing a couple of comments.

Ok, finished: please @ladinesa resolve the conversations at will and I can merge.
There is a small detail: GPT-4 helped me improve the regex for these response_functions.input_parameters :smile:

And another small improvement over parse_gw.
From:
        # Type
        algo = self.parser.get_incar().get('ALGO')[0]
        nelmgw = response_functions.get('NELMGW', 1)
        if nelmgw == 1:
            sec_gw.type = 'G0W0'
        else:
            try:
                sec_gw.type = self._gw_algo_map[algo]
            except Exception:
                self.logger.warning('Error setting the GW sfc type.')

to (with a little my help re-defining algo):
        nelmgw = response_functions.get('NELMGW', 1)
        sec_gw.type = 'G0W0' if nelmgw == 1 else self._gw_algo_map.get(self.gw_algo, None)
        if sec_gw.type is None:
            self.logger.warning('Error setting the GW type.')

The None default is not necessary hehe.


[Bug] RPC poller type firehose crash loops the graph-node when syncing subgraphs with trace

Bug report

Be connected to an RPC poller type firehose without trace support
Try to sync subgraphs that are using trace filters
Graph-node crash loops

Expected behavior: should handle those cases gently and not kill itself after it fails.
[chains.${CHAIN_0_NAME}]
shard = "primary"
provider = [
{ label = "firehose", details = { type = "firehose", url = "${CHAIN_0_URL}", features = [ "compression" ], token = "${CHAIN_0_TOKEN}", conn_pool_size = 1 } }
]

Relevant log output
Jan 27 13:52:03.875 INFO Graph Node version: 0.34.0 (2024-01-26)
Jan 27 13:52:03.876 WARN GRAPH_POI_ACCESS_TOKEN not set; might leak POIs to the public via GraphQL
Jan 27 13:52:03.876 INFO Reading configuration file `/root/graph-node-configs/config.toml`
Jan 27 13:52:03.876 WARN No fork base URL specified, subgraph forking is disabled
Jan 27 13:52:03.876 INFO Starting up
Jan 27 13:52:03.876 INFO Trying IPFS node at: https://ipfs.network.thegraph.com/ipfs/
Jan 27 13:52:03.889 DEBG Creating firehose networks [1 chains, ingestor index_node_0]
Jan 27 13:52:03.889 INFO Configuring firehose endpoint, provider: firehose
Jan 27 13:52:03.889 DEBG Creating firehose networks [1 chains, ingestor index_node_0]
Jan 27 13:52:03.889 WARN Expensive queries file not set to a valid file: /etc/graph-node/expensive-queries.txt
Jan 27 13:52:03.889 DEBG Cleaning up large notifications after about 300s, channel: store_events, component: NotificationListener
Jan 27 13:52:03.902 INFO Connecting to Postgres, weight: 1, conn_pool_size: 10, url: postgresql://your_db_user:your_db_password@:5432/your_graphnode_db_name?host=/var/run/postgresql, pool: main, shard: primary
Jan 27 13:52:03.903 INFO Pool successfully connected to Postgres, pool: main, shard: primary, component: Store
Jan 27 13:52:03.903 DEBG Using postgres host order [Main], shard: primary, component: Store
Jan 27 13:52:03.906 INFO Setting up fdw, pool: main, shard: primary, component: ConnectionPool
Jan 27 13:52:03.910 INFO Running migrations, pool: main, shard: primary, component: ConnectionPool
Jan 27 13:52:03.911 INFO Migrations finished, pool: main, shard: primary, component: ConnectionPool
Jan 27 13:52:03.911 DEBG Release migration lock, pool: main, shard: primary, component: ConnectionPool
Jan 27 13:52:03.912 DEBG Setup finished, setup_time_s: 0, pool: main, shard: primary, component: ConnectionPool
Jan 27 13:52:03.912 DEBG Cleaning up large notifications after about 300s, channel: chain_head_updates, component: ChainHeadUpdateListener > NotificationListener
Jan 27 13:52:03.932 INFO Connecting to Firehose to get chain identifier, provider: firehose, provider: firehose
Jan 27 13:52:03.932 INFO Requesting genesis block from firehose, provider: firehose
Jan 27 13:52:03.932 DEBG Connecting to firehose to retrieve block for number 0, provider: firehose
Jan 27 13:52:04.100 INFO Successfully connected to IPFS node at: https://ipfs.network.thegraph.com/ipfs/
Jan 27 13:52:04.424 DEBG Retrieving block(s) from firehose, provider: firehose
Jan 27 13:52:04.424 INFO Connected to Firehose, genesis_block: #0 (f1999522da42d33a241a58a8e0fdfc864c9f9acca3374bad7adb255f31d92b55), provider: firehose, provider: firehose
Jan 27 13:52:04.426 INFO Creating LoadManager in disabled mode, component: LoadManager
Jan 27 13:52:04.427 INFO Started block ingestor, network_name: astar-testnet
Jan 27 13:52:04.427 INFO Starting block ingestor for network, network_name: astar-testnet
Jan 27 13:52:04.427 INFO Starting job runner with 5 jobs, component: JobRunner
Jan 27 13:52:04.427 DEBG Schedule for Vacuum subgraphs.subgraph_deployment, first_run_in_s: 0, interval_s: 60, component: JobRunner
Jan 27 13:52:04.427 DEBG Schedule for Report pg_notification_queue_usage(), first_run_in_s: 0, interval_s: 60, component: JobRunner
Jan 27 13:52:04.427 DEBG Schedule for Reconcile important tables from the primary, first_run_in_s: 9, interval_s: 900, component: JobRunner
Jan 27 13:52:04.427 DEBG Schedule for Record and remove unused deployments, first_run_in_s: 79, interval_s: 7200, component: JobRunner
Jan 27 13:52:04.427 DEBG Schedule for Refresh materialized views, first_run_in_s: 237, interval_s: 21600, component: JobRunner
Jan 27 13:52:04.429 INFO Starting JSON-RPC admin server at: http://localhost:8020, component: JsonRpcServer
Jan 27 13:52:04.429 INFO Starting GraphQL HTTP server at: http://localhost:8000, component: GraphQLServer
Jan 27 13:52:04.429 INFO Starting index node server at: http://localhost:8030, component: IndexNodeServer
Jan 27 13:52:04.429 INFO Starting metrics server at: http://localhost:8040, component: MetricsServer
Jan 27 13:52:04.429 INFO Starting GraphQL WebSocket server at: ws://localhost:8001, component: SubscriptionServer
Jan 27 13:52:04.430 INFO Trying to reconnect the Blockstream after disconnect, cursor: MTNgQADSfPpXm57wA-f5TqWwLpcyAllnUgLmIBFH0Yj-oXvE2JyjUzQmORqFxPj23B3sQ1yt3t7LQit99JEButDqy75tuyE6Rn4oltjmqrS-cfD2MAMadbM0WrmEZtvTXjXUaAipfONR6YfnPPTabkM2McMhJG6z2m5Vo4BVefIU6ycwlzr7cc3Rg_KWoIFBreInRbagnHjyBjUpJEcObM2FZKQ=, endpoint uri: firehose, network_name: astar-testnet, provider: firehose, component: EthereumFirehoseBlockIngestor
Jan 27 13:52:04.736 DEBG Subgraph started, start_ms: 307, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphRegistrar
Jan 27 13:52:04.739 INFO Resolve subgraph files using IPFS, n_templates: 1, n_data_sources: 2, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphInstanceManager
Jan 27 13:52:04.800 DEBG Subgraph started, start_ms: 370, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphRegistrar
Jan 27 13:52:04.800 INFO Started all assigned subgraphs, node_id: index_node_0, count: 2, component: SubgraphRegistrar
Jan 27 13:52:04.803 INFO Resolve subgraph files using IPFS, n_templates: 0, n_data_sources: 3, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.699 INFO Successfully resolved subgraph files using IPFS, features: ø, n_templates: 0, n_data_sources: 3, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.723 INFO Starting subgraph writer, queue_size: 5, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.738 INFO Data source count at start: 3, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.758 INFO Successfully resolved subgraph files using IPFS, features: nonFatalErrors, n_templates: 1, n_data_sources: 2, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphInstanceManager
Jan 27 13:52:05.765 INFO Starting subgraph writer, queue_size: 5, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphInstanceManager
Jan 27 13:52:05.777 INFO Data source count at start: 2, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphInstanceManager
Jan 27 13:52:05.778 DEBG Starting or restarting subgraph, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.779 DEBG Starting block stream, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.779 INFO Blockstream disconnected, connecting, provider_err_count: 0, cursor: c2189eNZNyWNIaZ0jdxXgaWwLpc_DF1tVAvmIBcQhY_z9XHNjsj3U2d8OUzTkv3y3RW_GVyt29zNRnct9pFZtdfixrpn6ic_Tn4rm4jnreXmLfr0MAMfee5kXL-EZdraWz_dZFv7frQF4920b6KKYUtjM8QkeGSzj2sCpIRRc6NDsCUxkjX0dcfX0viR94VJ-uUtRe33xCL2DjN0JUtSaMqBMg==, subgraph: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, start_block: 72104, endpoint_uri: firehose, provider: firehose, deployment: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: FirehoseBlockStream
Jan 27 13:52:05.822 DEBG Starting or restarting subgraph, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphInstanceManager
Jan 27 13:52:05.822 DEBG Checking if subgraph current block is after manifest start block, manifest_start_block_number: 24771, subgraph_current_block_number: 24770, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: FirehoseBlockStream
Jan 27 13:52:05.822 DEBG Starting block stream, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: SubgraphInstanceManager
Jan 27 13:52:05.822 INFO Blockstream disconnected, connecting, provider_err_count: 0, cursor: , subgraph: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, start_block: 24771, endpoint_uri: firehose, provider: firehose, deployment: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, sgd: 1, subgraph_id: QmdcUWvTS15JBzUpaQtt1Tst5rAzAVL9sPXyL5uXANegq8, component: FirehoseBlockStream
Jan 27 13:52:05.896 INFO Blockstream connectedthread 'tokio-runtime-worker, ' panicked at 'Got a transaction trace with status UNKNOWN, datasource is brokenprovider', : chain/ethereum/src/codec.rsfirehose:, 163deployment:: 17QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa
, note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: FirehoseBlockStream
Panic in tokio task, aborting!
Jan 27 13:52:05.897 INFO Stopping subgraph, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.898 DEBG Subgraph stopped, WASM runtime thread terminated, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager
Jan 27 13:52:05.900 DEBG Subgraph stopped, WASM runtime thread terminated, sgd: 2, subgraph_id: QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa, component: SubgraphInstanceManager

IPFS hash
QmdNJTN49nAx6hoiFGQi1v1vQ8fqyjHp4LVcBHcgMUVwSa
Subgraph name or link to explorer
No response
Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
Linux

This issue has been linked to a bug that caused missing status or missing receipts in blockss.
https://github.com/streamingfast/firehose-ethereum/issues/84
https://github.com/streamingfast/firehose-ethereum/issues/85
Fixes are in release v2.3.1, will require reprocessing the firehose blocks for the affected chains.

Is there anything else we need to do for this issue, or are those to changes to firehose-ethereum the full fix?


Lross 4 public use; make package; make install

With this pull request it is even easier to install QueueNado for community users.
BLOCKED to merge but ready for review:
A Research PR has to be address the removed dpi dependencies. This PR must not be merged until the Research PR is merged.
Cannot run the unit test as sudo: Please see the readme.
Example of installation
cd QueueNado
cd 3rdparty
unzip gtest-1.7.0.zip
cd ..
mkdir build
cd build
cmake ..
make -j

Installing
sudo make install

Alternative on Debian systems
make package
sudo dpkg -i QueueNado-<package_version>Linux.deb

Executing the unit tests if the library is already installed.
sudo ./UnitTestRunneer

👍


Update integration-testing.rst

ASP.NET 5 to ASP.NET Core 1

Thanks for your interest. Closing as this will be updated in the next sweep.
Show all checks


Concept: Use full graph definitions from checkMK metric system

As user of the Grafana checkMK datasource I want to be able to add the predefined graphs to my Grafana dashboard.
Acceptance:

We have a rough concept how the graph definitions (units, scaling) from checkMK can be transported to Grafana
The transported information is not persited within Grafana. Changes between checkMK updates are applied to Grafana.

Some background information about the checkMK graphing logic:
Each service that has metrics may have a dynamic number of graphs in the checkMK graphing system. The graphs are created based on the the collection of metrics and defined graphs in Check_MK. Most standard graphs are defined in https://github.com/tribe29/checkMK/blob/master/cmk/gui/plugins/metrics/check_mk.py.
When the graphs of a service are requested by a user the check_mk graphing system takes the metrics of the service as input and searches all entries in "graph_info". Each graph_info entry that can be fully populated with the available metrics is rendered for this service.
Example: A service has a metric fan_speed=3200. The graph_info["fan_speed"] entry only requires the "fan_speed" metric to be available. This graph can then be rendered. The metrics list also tells the graph how to draw the different metrics (e.g. as lines or stacked)
Another important structure is the metric_info. It holds entries for each metrics to tell the graphing system which units or colors to use for the single metrics.
The precomputed information can be fetched from the checkMK metric system using the available API calls.

Next steps: Research.

Which kind of plugin is needed?
What is possible with grafana?


Access to photos, contacts, and calendar in Mac OS

Oni Version: 0.3.9
Operating System: Mac OS
Issue: During the first start, oni requests access to photos, contacts, and calendar
Expected behavior: There's no need for a text editor to request the operative system access to these resources
Steps to reproduce: Start a clean installation of Oni is Mac OS. I've installed using the homebrew cask.
System preferences showing Oni has one of the apps that requests access to photos:

Hi, indeed it should not be required.
Also, I don't think that the Brew version is maintained.
I'm using the dmg that is in the "releases" page & I see no entry for Oni in any of the privacy categories...

The brew installation is maintained by several people. It installs the same dmg that is available in this repo.