[Enhancement] Windows Server Support

With the introduction of user network mode, Openshift Local remove the constraint on setup a vswitch  to route communication within the machine. That constraint was the main reason to pick only Windows 10 Professional as a valid supported version.
Now the support can be extended to any Windows version which supports hyper-v feature.
Currently, install Openshift Local on a Windows Server, which already has hyper-v and its management tools enabled, works out of the box.
On other systems where hyper-v is not enable yet, Openshift Local installation should fix it by enabling/installing the feature. Currently the installer command to enable hyper-v only works with Workstations.
Here we can see the different cmdlets to handle it based on product type:
Workstations
Get-ComputerInfo | select OSProductType
OsProductType
-------------
  WorkStation

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart

Servers
PS C:\Windows\system32> Get-ComputerInfo | select OSProductType

OsProductType
-------------
       Server

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools

Fix
The installer script can get information on the product type and set the cmdlet accordingly, with this in place we could evaluate if we can agreed on support windows server versions

:eyes:  sample code for this

Another idea would be to file a bug at Microsoft Windows, either version, referring to the other one and pointing out it is not consistent, saving a billion if/else statements :).
Keeping this in mind, https://github.com/crc-org/crc/blob/main/CONTRIBUTING.adoc would you consider trying to make a PR for it? thank you


Component props ??

Hi, thank you for this awesome vue-faq-accordion.
Is it possible to pass a list of components as properties?
Example:
export default {   components: {     VueFaqAccordion   },   data () {     return {       myItems: [           {             title: 'Title for a Component content',             component: 'MyComponent1',             category: 'Tab-1'           },           {             title: 'Title for a Component content',             component: 'MyComponent2',             category: 'Tab-1'           },           {             title: 'Title for a Component content',             component: 'MyComponent3',             category: 'Tab-2'           },           {             title: 'Title for a Component content',             component: 'MyComponent4',             category: 'Tab-2'           }         ]     }   } }
I think this component can be used for more things besides the frequently asked questions.

use slots


Support HPA in the SWCK

I and @hanahmily had a discussion days ago, as SkyWalking has full capability of metrics, and we have the operator, HPA seems a reasonable next step.
K8s HPA, https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
We should set up an adaptor to bridge the OAP cluster and k8s API Server.

@hanahmily Should we close this? I think you are running the 0.2.0 release already.

@hanahmily Should we close this? I think you are running the 0.2.0 release already.

All right, this had been closed by https://github.com/apache/skywalking-swck/pull/12

All right, this had been closed by https://github.com/apache/skywalking-swck/pull/12


Proxy Socks Version Added for edge proxy issue

Thank you for your contribution.
Before submitting this PR, please make sure:

[x] PR description and commit message should describe the changes done in this PR
[x] Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
[x] Latest Code from master or specific release branch is merged to your branch
[x] No unwanted\commented\junk code is included
[x] No new warning upon build solution
[ ] Code Summary\Comments are added to my code which explains what my code is doing
[x] Existing unit test cases are passed
[ ] New Unit tests are added for your development
[x] Sanity Tests are successfully executed for New and Existing Functionality
[ ] Verify that changes are compatible with all relevant browsers and platforms.
[x] After creating pull request there should not be any conflicts
[ ] Resolve codacy comments
[ ] Builds and checks are passed before PR is sent for review
[ ] Resolve code review comments
[ ] Help Libray document is updated accordingly for Feature changes.

Handled in another PR


zkVM: make r0vm more modular (step 1)

A good place to start in figuring out our versioning story is to get bonsai to call into r0vm to do do execution and proving.
In order to get this to work, we can do something similar to remote proving: when using the API, we can set an environment variable to get the zkVM API's to call into r0vm. At the time of writing, r0vm only allows generating proofs from elf + inputs. We need to allow r0vm to do executor only, proving only, and enable r0vm to pause and continue (in order to flush segments so that r0vm does not completely deplete memory).
As a first step, we can use an environment variable called RISC0_R0VM (or some other name). When this variable is set, prover.prove_elf(...) will call into the r0vm binary in order to generate the receipt.

Closing this along with #745 and #746 as @flaub has picked this up.


Add 32bit OS support to OpenJDK

I tested this change with the trusty32 Vagrant box. It correctly resolves facter_architecture to either amd64 or i386 based on host architecture.
Resolves #7

Can you please take this branch for a spin to confirm the fix, @eneepo?

Thanks a lot, it does the job perfectly.

I found another issue. facter_architecture works ok on boxes which have facter pre installed like vagrant trusty32, vagrant trusty64, ...  but the role will fail on servers or boxes which do not have facter.
The first note on ansible setup module describes more about facter dependency.

Wow, rookie mistake there. I should have noticed that I was using a Puppet variable. Switched to using the Ansible variable ansible_architecture in https://github.com/azavea/ansible-java/commit/5634741a2749fc569e5410484acb20e0b345003a.

Code looks good. +1
Did not test though.

I think that's it. It works flawlessly on trusty32 and bare bone ubuntu 14.04 64 bit server.


adding many comments into canvas.ts and implementing 13 week filter on classes

mostly comments here only real changes in canvas.ts is line 538 to implement 13 week filter. Also partially implemented tests here done by Ben, pulled from his branch to start on my testing soon.

This pull request is not fit to merge since it includes tests still in development


24 hours

How to get 24-hour time using this module ?
means 1 pm to 13

This is handled in moment. Use HH format string.


Range_Doppler Heat Map

Good work there IbaiGorordo. Can your matlab code display range-Doppler heat maps from the AWR1642?

I have eddited the readAndParseData16XX.m to also read the heatmap data. However, I took the code from the commented lines in the demo visualizer code so I am not sure if the code works correctly. If you want to visualize the heat map uncomment the lines 181 to 184 in the readAndParseData16XX.m function.
The problem is that I did not find any other demo that used the heat map from the mmwave sdk binary.
If my code does not work, try running the occupancy detection demo in the automotive toolbox (you need to program the radar with its binary file).
Best regads,
Ibai

Hello,
I have written a Python code that does what you need, it is tested and works fine. I need only to add calculation of the y axis scale.
import numpy as np

def calculate_range_doppler_heatmap(payload):

    rangeDoppler = list()
    for i in range(int(len(payload)/2)):
        rangeDoppler.append(payload[2*i] + payload[2*i + 1]*256)

    rangeDoppler = np.reshape(rangeDoppler, (config.numDopplerBins, config.numRangeBins),'F') #Fortran-like reshape
    rangeDoppler = np.append(rangeDoppler[int(len(rangeDoppler)/2):], rangeDoppler[:int(len(rangeDoppler)/2)], axis=0)

    range_matrix = np.multiply(np.arange(0, 257), config.rangeIdxToMeters)

    return rangeDoppler, range_matrix

It turned out that calculation of the y axis values is pretty straightforward.
y_scale = np.multiply(np.arange(-config.numDopplerBins/2 , config.numDopplerBins/2), config.dopplerResolutionMps)
self.dopplerResolutionMps =  3e8 /(2 * self.startFreq_actual * 1e9 * (self.idleTime + self.rampEndTime)*1e-6 * self.numDopplerBins * self.numTxAnt)
Best regards,
Kacper Zubiel

Okay, Thanks a lot I really appreciate. So how does the entire code looks
like?

Thank you @Kaczubie for your help. I have added the script to visualize the range-doppler heatmap with your code. I have tested it on the IWR6843AOP, but I think it should work also with the AWR1642.
However, I have not added the cfg file, so you will have to create your own cfg file or modify the guiMonitor line in the current cfg file.
Let me know if you have any problems. The onl

Hi,
I am sorry for the late response. Actually, I have not been able(/have the time and need) to get the Range-Doppler map even in Python.
My recommendation is to search for a lab in the Industrial toolbox or Automotive Toolbox that has the Range-Doppler GUI in Matlab (I think there was none, but maybe I missed it). Otherwise, check the source code for the mmWave Demo Visualizer, there is MATLAB code commented for the processing of the Range-Doppler heat map.

Thank you very much.

Hi,
I was trying to log data like mmwave demo visualizer but seems like my code doesn't save the whole data, instead, it saves single frame data. Have you tried to save the data? could you able to help me with this, below I have added my code
for i = 1:100
numObj= detObj.numObj;
x = detObj.x
y = detObj.y
z = detObj.z
doppler = detObj.doppler
snr = detObj.snr
noise = detObj.noise
end
save('DATA22.mat','numObj', 'x', 'y', 'z', 'doppler', 'snr', 'noise')
regards
Md Minto

Hi,
you just need to add the index to each variable:
for i = 1:100
     numObj(i)= detObj.numObj;
     x(i,:) = detObj.x;
     y(i,:) = detObj.y;
     z(i,:) = detObj.z;
     doppler(i,:) = detObj.doppler;
     snr(i,:) = detObj.snr;
     noise(i,:) = detObj.noise;
end
save('DATA22.mat','numObj', 'x', 'y', 'z', 'doppler', 'snr', 'noise')

have not tested, so you might need to modify it (now it assumes that the detObj variables are row). Also, it is probably better if you initialize the matrices before the loop.
Ibai

Thank you,
I was trying this way also but the code is unable to perform due to the left and right side have a different number of elements.
Another thing is, this code only showed the same data repeatedly, like this
0.030348569	0.060635932	0.54572332	0.86857212	0.24876876	1.7811557	1.8713973	2.0849507	2.1539557	3.5987506	3.6868286
0.030348569	0.060635932	0.54572332	0.86857212	0.24876876	1.7811557	1.8713973	2.0849507	2.1539557	3.5987506	3.6868286
Regards
Md Minto

True, I forgot about it, then just use a cell instead of a matrix:
x{i} = detObj.x;
Ibai

Thanks for the reply,
yes, I found the result but the problem is every cell has the same results. For example x{1,1} and x{1,2} and so on has the same value.
-0.081761472	0.062683791	-0.59277070	-0.31069359	0.51782262	0.58595723	-0.11719144	-0.40063119	-0.70859939	1.0547230	7.6310711
these values are repeated for every x cell. What we expecting are different values.
Regards
Md Minto

Hi,
That might be another problem, can you send me your code? I will give a look when I have time.
Ibai

Thank you. I would be very grateful.
I have mailed you the code.
Regards
Md Minto

I think I have found where is the problem. It was inside the main loop.
myInd = myInd + 1;
Regards
Md Minto

Hi,
Sorry for not answering you earlier, yes, I think that is the problem.

Hi, has anyone been able to figure out why the rangeDoppler values in some frames are above 10000? Running the script with the rangeDoppler heat map logic added gives me values > 10000 for all frames (for rangeDoppler).

Hi, has anyone been able to figure out why the rangeDoppler values in some frames are above 10000? Running the script with the rangeDoppler heat map logic added gives me values > 10000 for all frames (for rangeDoppler).

Hi,
To be honest I do not remember much about the script for the Range-Doppler (it has been exactly one year). Looking at the code I see that I also got that problem for some of the frames. I am not sure why, probably I missed some calculations.
I am not planning to work on the heatmap, so if you are interested in it I would suggest you to check this other repository that seems to have it working correctly:
https://github.com/m6c7l/pymmw
Ibai

Hi,
To be honest I do not remember much about the script for the Range-Doppler (it has been exactly one year). Looking at the code I see that I also got that problem for some of the frames. I am not sure why, probably I missed some calculations.
I am not planning to work on the heatmap, so if you are interested in it I would suggest you to check this other repository that seems to have it working correctly:
https://github.com/m6c7l/pymmw
Ibai

Ok thanks Ibai, I will take a look!

Ok thanks Ibai, I will take a look!


🐛 Fixed bug where char command doesn't work as intended.

Fixed an issue where the :char command only affected the moderator using it.

This was also fixed in the pull request submitted earlier today: #216 (along with other improvements to the char command, too)

This was also fixed in the pull request submitted earlier today: #216 (along with other improvements to the char command, too)

Fixed in #216
Closing.

Fixed in #216
Closing.


Add hook to turn off source maps

Sometimes it's useful to drop down a level. Dealing purely with the source maps is a pain.

On reflection, no, it's tempting, but also a bit pointless. The sourceMapAnnotation job can be overridden easily enough.

Eg:
build.extendJobs(() => {
  return {
    sourceMapAnnotations(ref, store) {
      return null;
    }
  };
});


[TW#13764] Unable to use esp_ble_gatts_get_attr_value after BLE long write

Precondition
esp_ble_gatts_create_attr_tab is used to setup my bluetooth service characteristics.
Bug
My client performs a long write. When I try to read the attribute value in 'ESP_GATTS_EXEC_WRITE_EVT' with esp_ble_gatts_get_attr_value the following appears in my log:
'gatts_get_attribute_vaule failt:the value length is 0'
Further research resulted in a not set length attribute in the logic.
The row https://github.com/espressif/esp-idf/blob/master/components/bt/bluedroid/stack/gatt/gatt_sr.c#L405 does copy the value over but does not set the length attribute
Adding the following below this row fixes the problem. I can not tell if this has other side effects so I recommend to check this on your own.
queue_data->p_attr->p_value->attr_val.attr_len = queue_data->p_attr->p_value->attr_val.attr_len + queue_data->len;

Any update on this?
The fix is not really complicated.

I did further testing, the solution mentioned above is only partially correct.
The value needs to be set to zero before it gets set the first time in the while loop.

@mh-dev where is this code ? queue_data->p_attr->p_value->attr_val.attr_len = queue_data->p_attr->p_value->attr_val.attr_len + queue_data->len. I can't find it in the bluedroid.

Its expected that you can't find the code, since its not existence is the actual problem.
The current problem location is https://github.com/espressif/esp-idf/blob/master/components/bt/bluedroid/stack/gatt/gatt_sr.c#L423
This row copies the value but not its length.
My local code looks like the following (is not fully on the same version as the one on github)
uint8_t length_initialized = 0;
//dequeue prepare write data
while(GKI_getfirst(&(prepare_record->queue))) {
	queue_data = GKI_dequeue(&(prepare_record->queue));
	if (is_prepare_write_valid){
		if((queue_data->p_attr->p_value != NULL) && (queue_data->p_attr->p_value->attr_val.attr_val != NULL)){
			memcpy(queue_data->p_attr->p_value->attr_val.attr_val+queue_data->offset, queue_data->value, queue_data->len);
			if(length_initialized == 0) {
				queue_data->p_attr->p_value->attr_val.attr_len = 0;
				length_initialized = 1;
			}
			queue_data->p_attr->p_value->attr_val.attr_len = queue_data->p_attr->p_value->attr_val.attr_len + queue_data->len;
		}
	}
	GKI_freebuf(queue_data);
}

@mb-dev thank you so so much, it is really a bug in our stack. we have change it now. Thank you for your interesting in the ESP-IDF.

@Yulong-espressif Hello, in which version it was fixed?
I don't see linked commit, and still experience this in v2.1

@Yulong-espressif thank you, I take latest available ESP-IDF v2.1.1 and applied your fix manually, everything work like a charm

I have a problem after long writes. It looks like the lenght value is doubled or gets corrupted.
I have a 159 bytes long characteristic. Then my client writes 159 bytes. Suddenly during the last GATT_WRITE_EVT callback processing, the lenght value becomes 318. Then I receive the ESP_GATTS_EXEC_WRITE_EVT.
I think there is a regression in the code as latest code varies significantly from what is written above.
line 425 may have to be changed to
queue_data->p_attr->p_value->attr_val.attr_len = queue_data->len;
instead of
queue_data->p_attr->p_value->attr_val.attr_len += queue_data->len;
Can you confirm ? I don't have much time to look deeper and validate. Would be great for you to confirm before I come back from holliday.
If this is not the issue, please give me some other help.
I am working with esp-idf 3.1 dev168
Thanks


api-walkthrough project

@hideki This is the example that will hold all the documentation code snippets. Can you take a look to see if the PR contains anything that isn't required?
I noticed the replication is failing with DB11 without authentication. Config/SG build I used are here. You might want to try it out to confirm this isn't something happening on my machine only.

@jamiltz Can you add .idea directory in .gitignore, and remove it from PR? I believe .idea directory is not necessary to be shared.

Made the change.


Datetime picker - Click on the month name and it breaks.

When you click in the Date/time picker, it expands (correctly). When you click on the month name (top left, e.g. September 2015), the month picker disappears and doesn't come back
http://i.imgur.com/Kgr5fHa.png
Can be tested here easily: http://officeuifabric.com/components/date-picker/
If I remove the class "ms-DatePicker-headerToggleView" from that header, it doesn't break anymore. Is there a reason that class was there?

You used my demo site in your repo... LOL... sweet!!!

Thanks for noting this issue. This should be fixed it in the latest version of Fabric which was released on Friday.

Still borked - we're working on it.

This should be fixed in master.


TEIIDTOOLS-723 removing explicit json parsing and a swagger workaround

This address the swagger model not showing properties - the problem is with the swagger / jackson logic.  If you use a JsonSerialize annotation, but don't specify the as you don't get any properties.  I'm not sure if that's a known issue, but it's definitely a bug as the property is not required.


Option to overwrite original file

It would be great
Like -overwrite_original option from exiftool

It would be great
Like -overwrite_original option from exiftool

Implementing this is not as straight forward as one would hope, due to the file handling on Android. I will leave this open for consideration, but for the time being this is considered low-priority.

if overwrite isn't possible is it doable to have an option to auto-deleted the original after task done? or should i open a new issue to suggest that?

if overwrite isn't possible is it doable to have an option to auto-deleted the original after task done?

Auto-delete and overwrite are the same thing implementation-wise.
Both require write permission access to an image.

This is implemented (as auto-delete), with the downside being that it does not work with file provider images (shared and photo picker), which means another configuration has to be added which enables the old file selection behaviour.


Runtime exception when switching on bluetooth and starting Bridgefy

Device: Moto G5 Plus
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xx.xxxxxx, PID: 28211
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.bluetooth.adapter.action.STATE_CHANGED flg=0x14000010 (has extras) } in com.bridgefy.sdk.framework.controller.a@ae993cd
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1132)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.bridgefy.sdk.client.BFEnergyProfile com.bridgefy.sdk.client.Config.getEnergyProfile()' on a null object reference
at com.bridgefy.sdk.framework.controller.m.a(SourceFile:94)
at com.bridgefy.sdk.framework.controller.h.a(SourceFile:166)
at com.bridgefy.sdk.framework.controller.h.h(SourceFile:389)
at com.bridgefy.sdk.framework.controller.h.d(SourceFile:350)
at com.bridgefy.sdk.framework.controller.h.b(SourceFile:222)
at com.bridgefy.sdk.framework.controller.h.a(SourceFile:456)
at com.bridgefy.sdk.framework.controller.a.b(SourceFile:247)
at com.bridgefy.sdk.framework.controller.a.a(SourceFile:104)
at com.bridgefy.sdk.framework.controller.a.onReceive(SourceFile:54)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1122)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)

Hi @androidlab, thank you for your report. Were you running one of the github samples or did this happen in your own implementation? Could you share with us the way you're building and setting the custom Config object, if you're setting it at all? Thanks.

Hi @dekaru, this is happening in my own implementation. But I am not setting any Config object.

Hi @androidlab Can you provide the specific steps to reproduce this crash? If you can provide the code for your implementation (starting and stopping Bridgefy) that would be very helpful as well.
Thank you.

Hi @dustedrob,
I am using a receiver to start/stop Bridegfy.
    ```

if(BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)){
if (intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1) == BluetoothAdapter.STATE_OFF) {
// Bluetooth is disconnected, do handling here
if(LocationHandler.isLocationEnabled(context)){
Intent i = new Intent(context, BridgefyService.class);
context.stopService(i);
}
}else{
Intent i = new Intent(context, BridgefyService.class);
context.startService(i);
}
    }

In onStartCommand of BridgefyService

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {

        Bridgefy.initialize(context, "-----API---KEY--------",
                new RegistrationListener() {
                    @Override
                    public void onRegistrationSuccessful(BridgefyClient bridgefyClient) {
                        // Bridgefy is ready to start
                        Bridgefy.start(messageListener, stateListener);
                    }

                    @Override
                    public void onRegistrationFailed(int errorCode, String message) {
                        // Something went wrong: handle error code, maybe print the message
                        Log.d(TAG, message);
                    }
                });
}

@androidlab This is probably not the best implementation for a service running Bridgefy. I have a few observations:

You should run initialize() outside the service, since it's only really necessary to run this method once
It's not really necessary for you to manually check the Bluetooth states since Bridgefy already does this. You should ideally start the service regardless of whether Bluetooth is active, use Bridgefy.start() when the service is started and Bridgefy.stop() when the service is stopped.

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest stable version.
Thank you!


Make committee keys able to sign transactions

Changelog
- description: |
    Make committee keys able to sign transactions
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - improvement    # QoL changes e.g. refactoring
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
Fixes https://github.com/IntersectMBO/cardano-cli/issues/586
How to trust this PR

The reproducing procedure from https://github.com/IntersectMBO/cardano-cli/issues/586 works now
Tests are added

Checklist

[X] Commit sequence broadly makes sense and commits have useful messages
[X] New tests are added if needed and existing tests are updated. See Running tests for more details
[X] Self-reviewed the diff

This is not working:
https://github.com/IntersectMBO/cardano-cli/issues/586#issuecomment-1937003470


Delete predicate is not parsing the string based on the table schema

Environment
Delta-rs version: 0.13.0
Binding:  python bindings
Environment:

Cloud provider: n/a
OS: ubuntu 22.04
Other: testing locally via jupyter notebook

Bug
What happened:
It seems that when a string predicate is passed into DeltaTable.delete, when it gets parsed as a Datafusion Expression, it is not taking into account the schema of the table. For example, if there is a column with type pa.int32(), and you try to use a predicate like price = 100, it raises an error ValueError: Invalid comparison operation: Int32 <= Int64, which I assume is coming from 100 being parsed as a int64. This is supported by if I pass in price = CAST(100 as INT) instead, it works as expected.
What you expected to happen:
The parser should be schema-aware when converting the string predicate to a Datafusion Expression.
How to reproduce it:
This is a minimal reproduction:
import tempfile
import pandas as pd
import pyarrow as pa
from deltalake import DeltaTable
from deltalake.writer import write_deltalake

pandas_data = pd.DataFrame.from_dict(
        {
            "price": [100, 150],
            "qty": [15, 20],
        }
    )

schema = pa.schema(
    [
        ("price", pa.int32()),
        ("qty", pa.int32()),
    ]
)

with tempfile.TemporaryDirectory() as path:
    table = pa.Table.from_pandas(pandas_data, schema)
    write_deltalake(
        table_or_uri=path,
        data=table,
        mode="error",
    )

    delta_table = DeltaTable(path)

    # this does not work
    delta_table.delete(predicate="price = 100")

    # this works
    delta_table.delete(predicate="price = CAST(100 as INT)")

It looks like we are building directly a physical plan here so that's why there is no type coercion.
We probably need to refactor this.

@ion-elgreco are there any updates on this?

@ion-elgreco when will the predicate problem  for delete/update operations be done ? I also met the problem.

I dont have any plans to work on this. But feel free to pick it up

@ion-elgreco
delta_table.delete(predicate="price = 100 && qty = 15")
the code above will produce an error: "Unsupported SQL binary operator PGOverlap"
the complex sql like predicate is not supported yet ?

Resolved by DataFusion 39 it seems https://github.com/apache/datafusion/pull/10716

@peter-xu-zhou Did this error resolve for you? I also face the same issue in table.delete(predicate)

@echai58  Did this error resolve for you? I also face the same issue in table.delete(predicate)


Dashboard Setup flow

Implement the setup flow in the Dashboard UI in a similar fashion to Cluster Manager.
Specify admin password, set server URL and agree to terms + opt in to telemetry

Check setting to see if this is first install, if it is, login as admin with default  password and redirect to the setup flow to get the user to change the admin password and set the server URL.
Need a UI Design - suggest using a 2 step stepper/wizard.

On master-head commit id: master-be0b016


Show available balance in asset selector when depositing

### Tasks
- [ ] Add a draft title or issue reference here

Story
As a user
I want to see balances when using the asset selector for deposits
So that I can more easily find the asset I'm looking for
Acceptance Criteria

[ ] I can see the balance of the asset in my Ethereum wallet next to each asset

Tasks

[x] Explore and sketch
[ ] Team and stakeholder review
[ ] Visual Design
[ ] Team review
[ ] Dev
[ ] test

Sketch
See exploration in the Miro board

Additional details / background info

Slack conversations:

https://vegaprotocol.slack.com/archives/C037STCKMGC/p1680102585845039
https://vegaprotocol.slack.com/archives/C037STCKMGC/p1680187258874979

Related to #3313

Ideas

Could have a skeleton view load in with a spinner whilst we collate the balance data to display
We'll need to do the following to show balances in the user's Ethereum wallet

Get all enabled, active and allow listed assets for Vega (to avoid unnecessary network requests)
For each asset call balanceOf on the tokens contract tokenContract.balanceOf(ethAddress)

For now I think it will be safe to call balanceOf for every asset, but as a stretch task we might want to look at virtualizing the list so that the requests are only made for assets that are visible (with some amount of px buffer)

Here are the designs + the Figma link ↳
These use DEPOSITS as the example but the pattern is the same for WITHDRAWELS.


Incorrect Clickthrough URL

Hi
I'm running into problems with the wrapLink function. I'm running MFG on windows and I wonder if the new line character may be in play?
Following the setup tutorial, this simple template

Hi {{email}}
{test/http://www.google.com}

This produces some unexpected merge html. You can see the html has gotten into the url value and the link text contains part of the {{email}} expression.

Hi

{test/http://www.google.com&trackingId=example-tracking-id">{email}}<

Examining the wrapLink function in analytics.js, I wonder if replace /{(.+?)/(.+?)}/g is a bit naive? A simple template as follows incorrectly matches the handlebars expression as part of the tracking link.

{{name}} {test/test}

@JoshuaSlaven42 I'm having this issue as well, I can't use any templates that insert fields and track links.
However, @QuincyLarson does it successfully in this video: https://www.youtube.com/watch?v=_7U03GVD4a8
So I'm not quite sure what the root cause is

@AlexVipond It's my understanding of the regex expression used by mail-for-good as of issue creation that the line break you see in the video that enables using both fields and links in the same message.
Have you tried breaking fields and link tracking apart into separate lines?

If I follow the format:
{trackingExample/https://www.example.com}
It displays on my email like this:
https://www.example.com&trackingId=079e9541-5d24-5340-a374-1aae6f66a9f5">trackingExample
Instead of actually displaying a link. This is following the instructions given in the template creation page


Change package name to hstdb

#14

Did I miss something @AlexanderThaller?

Did I miss something @AlexanderThaller?

Sorry I was on vacation will look over it! Thank you for the contribution!

I just renamed the histdb-rs.service file to hstdb.service otherwise looks good to me!


Strict tsconfig

Test Plan (Steps to test):

CI, because this is mostly about the types
Regression testing on reviews
View a page with reviews IO reviews, like Awesome T-Shirt. Do they look right? Does pagination still work? Can you create a review?
Regression test Trustpilot reviews — not sure where those are being displayed. @incompl did you have specific products you set them up on?
Broad regression test, including:
Go to a product page.
Go to a collection page.

Make account profile edits and save.
Do a full add-to-cart and checkout of a regular product and a subscription product.

@asprouse Looks like our Voucherify acct just lapsed: {"code":402,"message":"Payment required"}

@asprouse Looks like our Voucherify acct just lapsed: {"code":402,"message":"Payment required"}

Hmm the page probably should not be blank, but this is the existing behavior. I added a new ticket to capture this:
https://app.shortcut.com/takeshape/story/9915/rewards-page-is-blank


update to support docker compose and configure AWS CLI from env vars

Not sure if you want to pull this or not, but I thought I'd share it back in case anyone else is looking to use this container with Docker Compose.
I did remove the force-restore option by switching everything to environment variables. We can probably put that back just as a variable that can be set to true.
Thanks for putting this repo together! It is a great way to distribute larger static assets that slow everything down if they are included in the Github repo and baked into a Docker image.

Hi, @kriscarle. Unfortunately your PR got out of sync with the new master, so I'm closing it.
Also, I'd rather keep the README simpler, pointing to a basic image usage, without docker-compose.


feat: allow replying to messages to bookmark

Relevant Issues
Closes #689

Description
Users can now bookmark a message by replying to it, this is done by making the message argument optional, and if it's None take the message reference, if that is None raise an error to display command usage.
Did you:

[x] Join the Python Discord Community?
[x] Read all the comments in this template?
[x] Ensure there is an issue open, or link relevant discord discussions?
[x] Read the contributing guidelines?

Looks like


Multitarget to net20, net35, net40 through Theraot.Core

I'm not sure what is the final build process.
I updated gulpfile.js to support multitarget frameworks.
Please notice that I have updated msbuild (^0.5.4) with toolsVersion 'auto', but I afraid that is needed 15.0 to build new VS 2017 .xproj

Sorry for the delay! Moved out of state and srsly behind on everything.... :(


Update readme on example branch

Updates
i updated the readme file.____please ____review and accept!!

##Thoughts
I probably shouldn't but okay. 💯


Missing information on how data persistence backup data are used

Under section "Differences between persistence in the Premium and Enterprise tiers", we currently have the following explanation:
"On the Enterprise and Enterprise Flash tiers, data is persisted to a managed disk attached directly to the cache instance. The location isn't configurable nor accessible to the user. "
This indicates that Enterprise/Enterprise flash tier caches backup data to a managed disk which cannot be accessed by users/customers. However, there is no documentation to explain how the backups are being used. Without this explanation, it would seem like the data persistence feature backs up data for no purpose.
I have heard that the Enterprise/Enterprise flash tier data persistence backup data are automatically used by the Enterprise cluster self-recovery mechanism to restore data when data-loss-inducing events occur. Can we please add this description somewhere in this document?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5a18b5a8-3517-6ac3-26a2-30c37ec7cf22
Version Independent ID: a66b6f7c-9993-31da-bacf-786cb81ef373
Content: Configure data persistence - Premium Azure Cache for Redis - Azure Cache for Redis
Content Source: articles/azure-cache-for-redis/cache-how-to-premium-persistence.md
Service: cache
GitHub Login: @flang-msft
Microsoft Alias: franlanglois

@yichungyu
Thanks for your feedback! We will investigate and update as appropriate.

@yichungyu
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.

Thanks for your feedback. We added this to our documentation backlog,
#please-close


Nullability of a type based on generic parameter depending on the specific argument

Consider the following class:
interface Box<T> {
    T get();
    void set(T t);
}

Having a type Box<@Nullable String> or Box<String?> in Kotlin, what's the return type of Box.get then?
We had an idea to have a special annotation @StrictNullness for type parameters
that makes nullability of types based on them depend on nullability of the specified type argument

This is all addressed by more specific issues now.


Avoid concurrency issues when updating regexps.js

Ensure that the generated data for regexps.js is stored in a temporary file first and only after renamed to regexps.js. This ensures that there are no concurrency issues.
Specifically this aims to address the issue seen in https://github.com/3rd-Eden/useragent/issues/30

Thanks I've updated it with your comments.

Just a friendly reminder to do another review.
thanks

it will be in the next release of useragent.

alive in 2.1.12


Movement is not ending on drag end.

When mouse button is released during drag, it do not stop it from moving.
Tried to leave only wrapper and component with img but it still has the same behavior.
Also tried setting pan={{velocity: false}}. Doesn't work either.

 <TransformWrapper
        options={{
            limitToBounds: false
        }}>

         {/* rest of code */}

 </TransformWrapper>

Try setting this   limitToBounds: false like in the example above.


Small typo in bicycling-layers

Just noticed a small typo in bicycling-layers.js (never used it but found it in code)
 mapController.addObject('bicyclingLayers', layer);
...
 mapController.deleteObject('biclclingLayers', layer);

One char make the difference ;-)
BTW this lib is really easy to use and nicely designed.
Well done!

thanks
Why don't you fork and send me a PR?


google-cloud-sdk: 315.0.0 -> 319.0.0

Motivation for this change
Things done

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

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

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

Result of nixpkgs-review pr 104886 run on x86_64-darwin 1

1 package built:

google-cloud-sdk (google-cloud-sdk-gce)


Displaying force plots in Sypder IDE console and saving them to a folder.

Is there  a way to get force_plots in spyder IDE? I am using Spyder IDE (not using Jupyter Notebook) and want to obtain these plots in the console and also save them to a directory. I tried the show=False and matplotlib=True options, but got the following error.
Exception: matplotlib = True is not yet supported for force plots with multiple samples!

Have you solved this? I'm looking for the same thing

Any luck on this?

I moved over to Jupyter, I found no other way


KANP is now available in Calico

Calico 3.29 added the support for Kubernetes Admin network policy.

/ok-to-test
/assign @tssurya

/lgtm
/approve


Thumbnails for JIF files

Description of the new feature / enhancement
I'd like to see thumbnails for ".jif" files, in File Explorer.
Scenario when this would be used?
Many files we download from the browser are saved as ".jif" files. Unfortunately, Windows does not show thumbnails for these files. I have to rename them to ".jpg" to be able to see thumbnails.
It would be great if PowerToys could support thumbnails for these files.
This would potentially be under the "File Explorer add-ons" > "Thumbnail icon Preview" section.
Thank you very much!
Supporting information
No response

If you change the extension to .jpg does the thumbnail work? /needinfo

If you change the extension to .jpg does the thumbnail work? /needinfo

Yes, I do.
I said in my original request above:

I have to rename them to ".jpg" to be able to see thumbnails.


Restore preferences from remote backups

I accidentally rimrafed my .vscode-insiders directory with all my extensions. I found the backup but I can't do anything with it. There's no restore button, context menu item, action in the command palette, mention in the official doc, or previous issues here. The CLI can't even consume the JSON file. I'm going to write something with grep but I'm confused how the backups are intended to be used.

/duplicate

https://github.com/microsoft/vscode/issues/93960

My workaround was:
cat extensions.json |
  jq '.[]
      .identifier|select(.uuid)
      .id        |select(test("^ms-vscode.")|not)' |
  xargs -n1 code-insiders --install-extension

I previously saw the screenshot and still don't understand how to sync. I haven't been able to make it work on Insiders either. I think this needs a UX review because I can't find it even as a user who's already familiar with the particular feature.

@sandy081 I finally clicked the cloud icon. It's a little unintuitive. Could I request it be added to the context menu for the file too?


fix(limit): invalidate oldest cache when reaching limit size

When the number of cached requests reaches the configured limit, the oldest cached item should be removed from the store.
#247

cc @RasCarlito


Ability to Save Binary Blob

It looks like the current writeFile method wants the data to be base64 encoded. If I want to save the contents of data obtained using the JS network interface: https://facebook.github.io/react-native/docs/network.html#content, is there some way to avoid the base64 encoding step?

@cancan101 Not as far as I know. Unfortunately the bridge between JS and native code is always going to be slow and is the reason I introduced a (poorly) written downloadFile. This effectively means that all data heavy lifting operations will need to be pushed beneath the filesystem abstraction that this API provides. Another API method that I might need to implement soon is unzip. This will be way too slow to do outside of native.

@cancan101 The data has to be sent from JS to native, and that is done via a string. As @cjdell pointed out, this will be slow for any larger amount of data. The way around this is to employ native libraries which do downloads etc. for you and have their interface exposed in JS land.


Flink SQL CDC guarantees

I was looking for a consolidated list of features and found this.
Thus, Flink SQL collection, computing, and ETL can be unified, which has the following advantages:
Small end-to-end latency
Exactly-once guarantee for read and compute
No data storage and lower storage costs
Stream reading of full and incremental data supported
Backtracking of Binlog collection site
The documentation for this is key when we compare and contrast this with Kafka Connect Worker Clusters and its CDC support.
Where can I locate the detailed explanation of the points mentioned above ?
It is not for oracle https://ververica.github.io/flink-cdc-connectors/release-2.0/content/about.html

I need a practical use case for this.


WinUI 3 UWP does not load smoothly like the built-in XAML

Describe the bug
When a UWP XAML app opens, it shows its splash screen, which then fades away to show the XAML content, already loaded. This does not appear to be happening for WinUI 3 UWP apps, however. WinUI 3 UWP apps show their splash screen, then the icon fades away, leaving the color of the splash screen visible for a noticeable amount of time, and then the XAML content loads. Worse, when splash screen is set to optional, the app pops up with the splash screen’s color before changing to the XAML content (no fade effect, either). This was a great thing about UWP—if your app was lightweight enough, you could have user-percieved instant startup times. I would like to see that returned to WinUI 3.
Steps to reproduce the bug

Steps to reproduce the behavior:

Create a WinUI 3 UWP
Open it and carefully observe a brief period where the splash screen’s background is the only thing on screen—the fading animation of the app opening is ruined

Expected behavior
When a UWP has its splash screen disabled, the app’s content should already be visible as the app is animating in. With a splash screen enabled, the XAML should load underneath the splash screen and be ready to fade in as the splash screen fades out.
Screenshots
With the splash screen set to optional, the effect is particularly pronounced. It is shown below in the animations.

UWP XAML (no splash screen)
WinUI 3 UWP (no splash screen)

This issue is much harder to see when there is a splash screen, so I slowed down the recording a lot.

UWP XAML (splash screen)
WinUI 3 UWP (splash screen)

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

November 2019 Update (18363)
Yes

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

@jeffstall @MikeHillberg @codendone for FYI, looks like the container animations aren't playing.

Closing this item because the WindowsAppSDK does not support UWP apps, details about which can be found in this discussion. If you are still seeing the behavior with the latest WindowsAppSDK version, please open a new issue.


Modernize setup.py and versioning

Changes:

Added versioneer support
Modernized setup.py

Questions:

[x] Are we shipping the C extension in pymbar 4?

Closes #377

I don't think we are building the C extension any more. I think the JIT work @jchodera has been working on is meant to replace it. In the existing version, it was only ever built in Python 2.X.

Correct, no C extension.  I'm the one that is still a bit behind on the jit extension - I had it working in JAX, but not in numba yet. Will be working on that the next couple of days.

The linting errors are for old_mbar.py, which should be deprecated soon (#415), so no need to worry. Merging!

The version looks funny now, but we'll fix that with proper tags for v4.


Longitudinal tune for Corolla TSS2

Better and smoother longitudinal tune for Corolla TSS2(hybrid and non-hybrid) and Highlander(hybrid and non-hybrid)
Was tested on:
4 TSS2 Corollas(2 non-hybrid, 2 hybrid)
1 2020 Highlander
Needs more testing, would appreciate if it could be tried by others on Prius

Is the tuning also good without the changes to max gas?
As discussed on discord, we shouldn't use max gas to limit acceleration to keep it in hybrid mode. If that's what we you want you should lower the acceleration in plannerd.

Yes, it is definitely better than stock without changing the gas, but I still need more time. I remember our discussion about plannerd, reading the code and trying to understand how the whole longitudinal part is working.

I have a 2018 prius prime on this fork, and I quite like the acceleration/deceleration profiles, much smoother!

I have a 2018 prius prime on this fork, and I quite like the acceleration/deceleration profiles, much smoother!

Tested this long tune on a 2020 Rav4 Hybrid, and it is better than the stock long control found in OpenPilot. Much smoother.
Moving forward, I would appreciate an investigation on Hybrid systems when stopped while OpenPilot is engaged; electric power to wheels is still evident while stopped.

Tested this long tune on a 2020 Rav4 Hybrid, and it is better than the stock long control found in OpenPilot. Much smoother.
Moving forward, I would appreciate an investigation on Hybrid systems when stopped while OpenPilot is engaged; electric power to wheels is still evident while stopped.

Tested briskspirit on my 2020 Rav4 hybrid. Very smooth drive,better than stock!

Tested briskspirit on my 2020 Rav4 hybrid. Very smooth drive,better than stock!

I have driven ~2400 miles (2020 Toyota Highlander Gas) on BriskSpirit’s long tune. Found it much better and smoother than stock!

I have driven ~2400 miles (2020 Toyota Highlander Gas) on BriskSpirit’s long tune. Found it much better and smoother than stock!

'19 corolla hatchback, these long tunes are really nice,  big improvement.

'19 corolla hatchback, these long tunes are really nice,  big improvement.

Merging this PR as is. If you'd like to add your car model to the list of tunes please submit one PR per car model.


Generation of callbacks/operations separately.

Add possibility to generate description for operations and callbacks for Hubs separately.

Thanks for the PR.


Queue problems

I have been experiencing some general problems with the queue. Below are some things I have noticed and experienced. Sadly, I have not been paying close attention so the details may be off;
I will attempt to provide more concrete details when I come across them.

.aqn files and folder numbering don't update if I change the ordering in the queue.
When you change the ordering or remove an acquisition, and then replace it with a different acquisition, if you "load" the new acquisition, it will actually load the old one.
I attach a .zip file in which the .aqn file says that 5000 shots are supposed to be used, but the .data file says 100 shots were used. Archive.zip
Early this morning I did a dummy scan and the scan never "finished" even though the .png got created and uploaded. This is the queue.

@darienmorrow can you break these into individual issues please?
which problems, if any, are preventing experiments?
number 3 seems very severe. is this issue recording to the .data file, or did the scan actually run with 100 shots? was this scan done through 'loading' or directly?

I have opened issue #148 concerning number 3 on the list.

number 4 is the same issue as #183, I can tell that scan 13 was deleted, causing scan 14 to be inserted into the queue twice, thus the first one that ran was actually the second intended to run, and it uploaded in the previous case, but never uploaded 013

Actually, the same goes for number 2 as well

I intend to make 1 PR to close this and #183 (seeing that the one issue raised here that is not caused by the same root is already spun off into it's own issue)


Other Party in Chat Gets Your Avatar

open an old chat conversation
the other party's avatar is correct
send a message to them
their avatar updates to be your avatar at roughly the same time your message appears in the chat

I'm having difficulty reproducing this one. What's in that screen shot looks right... what am I missing? It's the Koala's node and he sent two messages to the Test node. The outgoing messages are on the right and should have the Koala icon.

The first message isn't from the koala node, it's from the TEST node. When I replied, the incoming message turned into an outgoing one.
But now when I load that conversation, the second message gets a SQL error, and the server says the first message is outgoing.
Maybe this is a server issue with outdated nodes. The node I was sending to was old and not online any more.


integration: add new binary upgrade case

Add Exec-to-Existing-Running-Container case.
Part of #3757

/test pull-containerd-node-e2e

/retest

/retest

/retest


[Meme Generator] Preview text on image before submiting

Extension
https://www.raycast.com/timoransky/meme-generator
Description
I don't know if it's possible but it would be very nice to preview the text over the image. This could be in two ways:

while you are writing
after you submit the form, see it a preview and the copy it.

Who will benefit from this feature?
Better feedback of how the text fit in the image
Anything else?
No response

Hi @Martin-Gonzalez90 and thank you for the request. You are not the first asking for this feature but I believe it was not implemented in the first place because of API limitations. Let me see what I can do and maybe I'll consider adding the preview after generating the image.

Hey @Martin-Gonzalez90! It's long overdue, but I finally found the time to implement the preview feature. It's on a PR currently: https://github.com/raycast/extensions/pull/14224

@raycastbot reopen this issue

The preview feature was implemented in the latest version: https://www.raycast.com/timoransky/meme-generator

@raycastbot close this issue


Dependabot does not open any pull request even if it's actions logs report pull request created

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
pub
Package manager version
No response
Language version
Flutter 3.24.3 (Dart 3.5)
Manifest location and content before the Dependabot update
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_core/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_inject/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_env/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_cli/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_gui/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_gui/nyalcf_ui/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_gui/nyalcf_core_extend/pubspec.yaml
https://github.com/Muska-Ami/NyaLCF/blob/main/nyalcf_gui/nyalcf_inject_extend/pubspec.yaml
dependabot.yml content
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  # Inject
  - package-ecosystem: "pub"
    directory: "/nyalcf_inject"
    schedule:
      interval: "daily"
    target-branch: "dev"

  # Core
  - package-ecosystem: "pub"
    directory: "/nyalcf_core"
    schedule:
      interval: "daily"
    target-branch: "dev"

  # GUI
  - package-ecosystem: "pub"
    directory: "/nyalcf_gui"
    schedule:
      interval: "daily"
    target-branch: "dev"
  ## UI
  - package-ecosystem: "pub"
    directory: "/nyalcf_gui/nyalcf_ui"
    schedule:
      interval: "daily"
    target-branch: "dev"
  ## Core Extend
  - package-ecosystem: "pub"
    directory: "/nyalcf_gui/nyalcf_inject_extend"
    schedule:
      interval: "daily"
    target-branch: "dev"
  ## Inject Extend
  - package-ecosystem: "pub"
    directory: "/nyalcf_gui/nyalcf_core_extend"
    schedule:
      interval: "daily"
    target-branch: "dev"

  # CLI
  - package-ecosystem: "pub"
    directory: "/nyalcf_cli"
    schedule:
      interval: "daily"
    target-branch: "dev"

  # ENV
  - package-ecosystem: "pub"
    directory: "/nyalcf_env"
    schedule:
      interval: "daily"
    target-branch: "dev"

Updated dependency
No response
What you expected to see, versus what you actually saw
Open the pull request correctly and be able to update dependencies.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs

+-------------------------------------------------+

729| Changes to Dependabot Pull Requests |

730+---------+---------------------------------------+

731| created | flutter_lints ( from 4.0.0 to 5.0.0 ) |

732+---------+---------------------------------------+

Smallest manifest that reproduces the issue
No response

In how many files would you expect flutter_lints to be updated by dependabot?

In how many files would you expect flutter_lints to be updated by dependabot?

I want the flutter_lints of all packages in the project to be updated by dependabot. More precisely, when a dependency is updated, I want it to be updated by dependabot.


dtype not preserved on round trip with xarray

The data type I get when opening a TileDB Array with XArray does not match the data type in the TileDB ArraySchema. In the example below, I put in int16 and get back float32.
import tiledb
import xarray as xr
import numpy as np

index = tiledb.Dim(name='index', domain=(0, 3))
domain = tiledb.Domain(index)
var = tiledb.Attr(name='var', dtype=np.int16)
schema = tiledb.ArraySchema(domain=domain, attrs=[var], sparse=False)
tiledb.Array.create('dense_array0', schema)

with tiledb.open('dense_array0', 'w') as A:
    A[:] = np.array([5, 6, 7, 8], dtype=np.int16)

ds = xr.open_dataset('dense_array0', engine='tiledb')
ds['var'].dtype

dtype('float32')

I have tiledb 0.11.3, libtiledb 2.5.2 and tiledb-cf 0.5.2 on the python:latest docker image.

Thank you for the bug report @itcarroll. I was able to reproduce the issue from your code snippet, and I am looking into a fix now.

@itcarroll I was able to track down the bug, and it is actually a bug in xarray that happens during the decode_cf_variable step. I opened xarray issue #6055 that you can follow.
The reason you may be seeing this here and not with other xarray backends, is that we always set a fill value for the TileDB attributes. A temporary fix is to set mask_and_scale=False in the open_dataset function.
import tiledb
import xarray as xr
import numpy as np

index = tiledb.Dim(name='index', domain=(0, 3))
domain = tiledb.Domain(index)
var = tiledb.Attr(name='var', dtype=np.int16)
schema = tiledb.ArraySchema(domain=domain, attrs=[var], sparse=False)
tiledb.Array.create('dense_array0', schema)

with tiledb.open('dense_array0', 'w') as A:
    A[:] = np.array([5, 6, 7, 8], dtype=np.int16)

ds = xr.open_dataset('dense_array0', mask_and_scale=False, engine='tiledb')
ds['var'].dtype

Thanks for quick investigation and follow-up with XArray. Makes sense to me if you want to close this issue.

I think XArray's logic of promoting to float when the _FillValue attribute is set is reasonable, with setting mask_and_scale=False a good way to preserve the original data, both its type and the values matching _FillValue.
So I have to ask why TileDB always sets the _FillValue attribute? You seem to be introducing arbitrary metadata (which has consequences, apparently!). Any documentation on this?

The TileDB array uses a fill value for writing to an array where you are not filling an entire tile. This is part of the TileDB API versus NetCDF (what xarray was original designed to handle) where _FillValue is always a metadata convention.
I could default to NOT adding _FillValue as metadata unless the user specifically requests it. This would be with a TileDB specific parameter to the open_dataset function. If you think that would match user expectations better, I can reopen this issue and implement that.

It keeps going deeper! I wouldn't change anything here, yet.

This issue got brought up again elsewhere. In the next release, the TileDB-xarray backend will default to not adding the _FillValue metadata unless the parameter encode_fill is set to True when opening a TileDB array with xarray.

I tested it out. Good solution.
BTW: Is it on purpose that if you DIDN'T write to all domain values in a tiledb attribute, then open_dataset will error on loading the data? I would expect loading to quietly include the fill.

It should quietly include the fill. That is a separate bug that will also be fixed by PR #124 (also to be included in the next release).


Export JSON file with "incorrect" format of note item

I'm using BBT to Export collection for markdown note in format of BetterBibTex JSON.
In the json file produced, notes with images has a uri in the form of http://zotero.org/user... rather then the expect form of
zotero://.... This causes difficulty in managing notes with images.
I'm not sure this is a bug/feature or I just miss click on some option, and I can not found a drop down or button in the preferences to address that.
I'm pretty sure this is not related to a specific item except the note containing a image.
Log Num:IH7S9AJV-refs-apse
Relese Edition :6.7.16

BBT-JSON is mostly just a dump of the objects that translators get handed by Zotero. I am open to adding the select link if you want. I am surprised to see http:// rather than https://.
What kind of problem does this cause? Isn't the image available on the given URL?

I'm using a Obsidian plugin to automate the note-taking process, the URL there point to my online library and (through a Chrome browser) go to the www.zotero.org/<username>/item-list page. This causes the plugin I use in Obsidian can not find the image.
I personally prefer keep everything localy on my PC, and I ran out of space in zotero's online storge, the image is not likly to appear on that end of the URL.
The function you mention should fix my problem.

Oh I thought it would be an additional field like the select link, but it'd require decoding and changing the note itself. What Obsidian plugin is this? Maybe it could be added there? Otherwise I might look at making postscripts available for BBTJSON.

I'm using BibNote Formatter, Link : https://github.com/stefanopagliari/bibnotes.It specific use the json file from BBT.
The workflow is using the json file produced by BBT form given Zotero collection, and the BibNote plugin for Obsidian read that json file and auto-genarate .md file, include notes.

The BBT JSON format does little more than dump what Zotero hands translators; it's a close representation of Zotero's internal state, without much processing applied. If BibNote uses BBT-JSON to get this so that it can apply processing, it doesn't sound strange to me that it would do this processing too.

So it a json processing issue then.😂
I will try to file a issue to BibNote see if any processing is possible on that end, but a out-of-box local uri is still nice to have, please consider adding that feature.
Thanks for your time and attention.

Not really a JSON processing issue. JSON is just the format in which the translator writes the results; you can get the same content with the RDF translator. The issue is HTML-in-HTML-attribute processing.

Update:The author of BibNote has fix this as a bug in newer version.


Exit application if environment verification failed

Description of the Change
This change performs exit from Java process if AbstractService.verifyEnvironment() throws an exception during application start up.
Benefits
Currently, if method throws an exception, process stays alive, even though application won't function properly. This change makes sure, that if application's environment isn't valid (or something went wrong while trying to verify it), the program will terminate with the proper error logged. (Before, even though the message was logged, application continued to work in a broken state and could potentially confuse monitoring systems)
Possible Drawbacks
None, unless the semantic of AbstractService.verifyEnvironment() isn't supposed to be treated like that and it's ok to fail and not terminate the application (or if someone has been using it like that already, in which case after this fix application won't start unless no exception is thrown)

I see the point of what you are suggesting.  However, the design is at is is intentionally.  In a k8s environment, if you start-up, realize your environment isn't complete and exit the process, it will just result in a non-stop series of service restarts.  I'm not sure that is any better than a stalled container (with a critical health status).

@bkrahmer @codec Ok, I see the problem here, however there is already a process termination in case no OrangeMicroservice annotation was found (or service was ran with 'help' argument).
Doesn't that break the intent too? (k8s will try to start the app again)

Those are two cases not relevant to the real-world use cases.  The first would be found by testing the service before deploying, and the second is just a mis-use.


Feature/subdir support wiki

Description
This PR is about Adding Support for Subdirs in Gitea Wikis like stated in #27858
I Tested that with this PR:

Creating Pages in Subdirs Work
Visiting Pages in Subdirs Works
Deleting Pages in Subdirs Works
Editing Pages in Subdirs Works
Markdown Links in Wikis Pointing at Subdirs Work
Pages Overview Site Works
The Dropdown with the Pages List Works

I didnt Modify: services/wiki/wiki_path.go
because I didnt know what its really supported to do

Damn, I guess I will have to write some kind of migration

Okay, I now understand what thge wiki_path.go is for, its for escaping, now I know what to do next

Okay, I think I know Understand the Old Escapment:

Okay, I tested everything that I can locally run so far, I hope that I pass Migration this Time

You can run the tests with make test-sqlite. From a first look at the changed tests, they will fail. 😏

You can run the tests with make test-sqlite. From a first look at the changed tests, they will fail. 😏

Dont I need to setup an extra test DB for that?

No, that's the magic word sqlite in the command. It uses a simple Sqlite database.

No, that's the magic word sqlite in the command. It uses a simple Sqlite database.

Ahh okay, thanks, executing SQlite Test locally works, gonna use that one to debunk what ive did

Okay, I think I know Understand the Old Escapment:

Out of curiosity, did you create the graph by hand?

Okay, I think I know Understand the Old Escapment:

Out of curiosity, did you create the graph by hand?

I used draw.io, but yes, I put it together myself

Are there any chances this PR will be merged any time soon?

Are there any chances this PR will be merged any time soon?

Nope, Prolly not

Hi snoweuph. Thank you for your work! The "wiki" feature in Gitea has some longstanding problems, when we would like to improve/fix them, maybe the compatibility/migration for legacy wikis should also be considered together.
For this PR, I think it has finishes the new features. Meanwhile I think it needs to clarify "how to deal with existing legacy wikis".
And I can see there are still some related CI failures, I guess this PR wouldn't be merged into 1.22. To resolve the wiki path problems together, I think it needs a "V2" path standard in the future:

Correctly handle slashes and sub directories.
Only escape necessary characters, leave the non-ASCII UTF-8 characters as-is to avoid bloating the filename (a lot of %xx)
Migrate the existing data to the new path standard.

I'm aware that there is still some stuff, I would need to Fix, but i'm pretty busy currently in Reallife, so I wont be able to work on this for prolly atleast 2 more months.

im back (atleast a littlebit)
gonna start doing some work on this again

I just did a reset, to be up to date with the latest main, and im redoing the whole thing, with better doc this time. I will need some time though

I just started creating a mermaid flowchart to represent the escaping and unespaing to then plan a better thing.
RN I only did the unescaping from the visiting of the wiki file and im allready at over 80 lines of meraid Flowchart code
flowchart TD

  subgraph builtin
    url.QueryEscape[["url.QueryEscape"]]
    url.QueryUnescape[["url.QueryUnescape()"]]
  end

  subgraph wiki_path.go
    WebPathFromRequest[["WebPathFromRequest / => %2F"]]

    subgraph hasDashMarker
        hasDashMarker_input(("input")) --> hasDashMarker_check{{"ends with .- ?"}}
        hasDashMarker_check -->|"YES"| hasDashMarker_return_1>"return TRUE"]
        hasDashMarker_check -->|"NO"| hasDashMarker_return_2>"return FALSE"]
    end

    subgraph trimDashMarker
        trimDashMarker_input(("input")) --> trimDashMarker_return_1>"trim .-"]
    end

    subgraph addDashMarker
        addDashMarker_input(("input")) --> addDashMarker_return_1>"add suffix .-"]
    end

    subgraph unescapeSegment
      unescapeSegment_input(("input")) --> unescapeSegment_call_1(["call"]) -.-> hasDashMarker
      unescapeSegment_call_1 --> unescapeSegment_check_1{{"Was TRUE ?"}}
      unescapeSegment_check_1 -->|"YES"| unescapeSegment_call_2(["call"]) -.-> trimDashMarker
      unescapeSegment_check_1 -->|"NO"| unescapeSegment_action_1["replace all '-' with ' '"]
      unescapeSegment_call_2 & unescapeSegment_action_1 --> unescapeSegment_call_3(["call"]) -.-> url.QueryUnescape

      unescapeSegment_call_3 --> unescapeSegment_check_2{{"error ?"}}
      unescapeSegment_check_2 -->|"YES"| unescapeSegment_return_1>"return error"]
      unescapeSegment_check_2 -->|"NO"| unescapeSegment_return_1["return"]
    end

    subgraph escapeSegToWeb
      escapeSegToWeb_input(("input(had_dashmarker)")) --> escapeSegToWeb_check_1{{"had_dashmarker?"}}
      escapeSegToWeb_check_1  -->|"YES"| escapeSegToWeb_call_1(["call"]) -.-> addDashMarker
      escapeSegToWeb_check_1  -->|"NO"| escapeSegToWeb_check_2{{"contains '-' ?"}}

      escapeSegToWeb_check_2  -->|"YES"| escapeSegToWeb_call_2(["call"]) -.-> addDashMarker
      escapeSegToWeb_check_2  -->|"NO"| escapeSegToWeb_check_3{{"ends with .md ?"}}

      escapeSegToWeb_check_3  -->|"YES"| escapeSegToWeb_call_3(["call"]) -.-> addDashMarker
      escapeSegToWeb_check_3  -->|"NO"| escapeSegToWeb_action_1{{"replace all ' ' with '-'"}}

      escapeSegToWeb_call_1 & escapeSegToWeb_call_2 & escapeSegToWeb_call_3 & escapeSegToWeb_action_1 --> escapeSegToWeb_call_4(["call"]) -.-> url.QueryEscape
      escapeSegToWeb_call_4 --> escapeSegToWeb_return>"return"]
    end

    subgraph GitPathToWebPath
      GitPathToWebPath_input(("input"))
      GitPathToWebPath_check_1{{"ends with .md ?"}}
      GitPathToWebPath_input --> GitPathToWebPath_check_1

      GitPathToWebPath_action_1["trim .md"]
      GitPathToWebPath_return_1>"return ErrWikiInvalidFileName"]
      GitPathToWebPath_check_1 -->|"YES"|GitPathToWebPath_action_1
      GitPathToWebPath_check_1 -->|"NO"|GitPathToWebPath_return_1

      GitPathToWebPath_action_1 --> GitPathToWebPath_action_2["split at /"]
      GitPathToWebPath_action_2 --> GitPathToWebPath_loopstart_1[/"loop over each entry"\]
      GitPathToWebPath_loopstart_1 --> GitPathToWebPath_call_1(["call, write to shouldAddDashMarker"]) -.-> hasDashMarker
      GitPathToWebPath_call_1 --> GitPathToWebPath_call_2([call]) -.-> unescapeSegment
      GitPathToWebPath_call_2 --> GitPathToWebPath_check_2{{"error ?"}}
      GitPathToWebPath_check_2 -->|"YES"| GitPathToWebPath_return_2>"return error"]
      GitPathToWebPath_check_2 --> |"NO"| GitPathToWebPath_call_3(["call with shouldAddDashMarker"]) -.-> escapeSegToWeb
      GitPathToWebPath_call_3 --> GitPathToWebPath_loopend_1[\"loop end"/]
      GitPathToWebPath_loopend_1 --> GitPathToWebPath_action_3["join with /"]
      GitPathToWebPath_action_3 --> GitPathToWebPath_return_3>"return"]

    end
  end

  subgraph wiki.go
    view(("Wiki View")) --> renderViewPage

    subgraph renderViewPage
      renderViewPage_input(("input"))
      renderViewPage_call_1(["call per entry"]) -.-> GitPathToWebPath
      renderViewPage_call_2(["call"]) -.-> WebPathFromRequest
      renderViewPage_input --> renderViewPage_call_1 --> renderViewPage_call_2
    end
  end

After I understand the whole Process, I will defenitly have to think about a solution to make the whole thing easier to understand and maintain lmao


Find workspace DOM container set

Locate the DOM element responsible for containing the view which will contain the scrollable ribbon.

Done via Theia plugin.


⚠ linktree/kiondaga has degraded performance

In 7ffc909, linktree/kiondaga (https://linktr.ee/kiondaga) experienced degraded performance:

HTTP code: 200
Response time: 184 ms

Resolved: linktree/kiondaga performance has improved in e1e0064 after 6 minutes.


SAAA-8387 Native channels rail design implementation

implementation video recording
https://user-images.githubusercontent.com/100100586/176338362-9339dffd-dedb-4eeb-994b-74f6f214b82f.mov


Clear terminal output

Use case
As someone who runs Flutter from the command line, the tool often fills the windows with output. It would be nice if I could press, say, c to clear the output (eg, after fixing an error I don't care about the logs)

Proposal
Pressing c would clear the console output.

Can anyone give an update on this? Or how I can help implement this?

That one closed since I configured the PR wrong. #50034 is the new one.

https://github.com/flutter/flutter/pull/50034 is merged, closing.


Cannot copy from folders with dots in the name

Let's say we have two folders:
My Folder: /home/istvan/w/test
Compared Folder: /home/istvan/w/test.2
Here is hello.txt only in the compared folder:
/home/istvan/w/test.2/hello.txt
If we try to "Copy to my folder" (using right click context menu on hello.txt), it gives the following js error at workbench.desktop.main.js:149 (stating wrong path expansion /home/istvan/w/test.2/.2/hello.txt instead of /home/istvan/w/test.2/hello.txt):
Error: ENOENT: no such file or directory, stat '/home/istvan/w/test.2/.2/hello.txt'
	at statSync (node:fs:1615:3)
	at t.statSync (node:electron/js2c/asar_bundle:2:4557)
	at Object.statSync (/home/istvan/.vscode-oss/extensions/moshfeu.compare-folders-0.23.0-universal/node_modules/graceful-fs/polyfills.js:318:34)
	at getStatsSync (/home/istvan/.vscode-oss/extensions/moshfeu.compare-folders-0.23.0-universal/node_modules/fs-extra/lib/util/stat.js:58:18)
	at Object.checkPathsSync (/home/istvan/.vscode-oss/extensions/moshfeu.compare-folders-0.23.0-universal/node_modules/fs-extra/lib/util/stat.js:90:33)
	at copySync (/home/istvan/.vscode-oss/extensions/moshfeu.compare-folders-0.23.0-universal/node_modules/fs-extra/lib/copy-sync/copy-sync.js:24:38)
	at CompareFoldersProvider.copyToFolder (/home/istvan/.vscode-oss/extensions/moshfeu.compare-folders-0.23.0-universal/out/providers/foldersCompareProvider.js:222:37)
	at CompareFoldersProvider.copyToMy (/home/istvan/.vscode-oss/extensions/moshfeu.compare-folders-0.23.0-universal/out/providers/foldersCompareProvider.js:129:18)
	at d.h (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:141:140094)
	at d.$executeContributedCommand (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:141:140954)
	at l.S (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:150:10829)
	at l.Q (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:150:10595)
	at l.M (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:150:9685)
	at l.L (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:150:8903)
	at f.value (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:150:7567)
	at n.y (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
	at n.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
	at o.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:103:14039)
	at f.value (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:171:7903)
	at n.y (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
	at n.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
	at o.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:103:14039)
	at MessagePortMain.<anonymous> (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:171:6183)
	at MessagePortMain.emit (node:events:513:28)
	at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367)

Using Code - OSS 1.85.1 on Linux (Node.js: 18.15.0), with Compare Folders v0.23.0 (from marketplace).

Thanks @tothi  for reporting this. I'll look into it soon

Was able to validate. I'll try to fix it soon

Related to https://github.com/nodejs/node/issues/6229

Can you try this version please?
compare-folders-0.24.2.vsix.zip
Install extension from vsix file

cannot. when I add the VSIX it hangs in "activating..." state and the extension is not fully available.

cannot. when I add the VSIX it hangs in "activating..." state and the extension is not fully available.

You're right. An error thrown on linux. Checking

Can you try the latest insider version?
https://marketplace.visualstudio.com/items?itemName=moshfeu.compare-folders-insider
You need to disable the regular version first
Sorry for the inconvenient, there is an issue on linux when building the extension on mac. Normally it goes through the ci which build the extension on Linux but since it's an internal version, I built it on my mac computer. Anyway.. I built it now on a linux machine so I hope it will work for you this time 🤞

I had the same issue and i can verify that with the insider version it works now! :)

Thank you @NordiskaRobin!
I'll push the version to the regular extension soon

Published in version 0.24.2


Catalog changes between minor releases?

Cloudberry Database version
after this PR https://github.com/cloudberrydb/cloudberrydb/pull/531
recompiling CBDB binaries leads to restart error:
20240820:09:38:31:004650 gpstart:yezzey-bionic:reshke-[INFO]:-Catalog Version of coordinator directory incompatible with binaries
20240820:09:38:31:004650 gpstart:yezzey-bionic:reshke-[ERROR]:-gpstart error: Catalog Versions are incompatible

I want to know the policy for catalog changes in CBDB. How do existing client handle changes like this?
What happened

What you think should happen instead
No response
How to reproduce
gpstop -a -i && gpstart -a
Operating System
any
Anything else
No response
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

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

Right,  see https://github.com/cloudberrydb/cloudberrydb/pull/560#issuecomment-2272897518
Another reason is Cherry-pick project.
The catalog is changed even across path versions.
We can't guarantee catalog compatible or binary swap until we are ready for a stable version.
You may need to re-config/re-import data if there were such problems.

Yes, see #560 (comment) Another reason is Cherry-pick project. The catalog is changed even across path versions. We can't guarantee catalog compatible or binary swap until we are ready for a stable version. You may need to re-config/re-import data if there were such problems.

So, releases published in repo are not stable? When we can expect stable version (would in happen in 2025 for example)?
re-importing data is very long process for big deployments. Im thinking of starting support for pg_upgrade for CBDB by myself...

So, releases published in repo are not stable? When we can expect stable version (would in happen in 2025 for example)?

Not sure, CBDB is iterating fast, there will be many features requiring catalog change.
And we're working on cherry-pick internal codes to CBDB that another round of catalog changes will come soon.

@reshke could you join the community slack channel #cbdb-release-plan via the iniviation link? We're talking about the new release policy here, welcome to have your feedback.


Ensure datatype handling is stable when converting back and forth

Currently there seem to be some instabilities when converting data back and forth:
luxtronik.datatypes.Celsius.from_heatpump(luxtronik.datatypes.Celsius.to_heatpump(0.11))
0.1

This should be double-checked for all datatypes. Ideally there should be some automated unit tests for these cases. Also this should be fixed, potentially by using round() or similar approaches.

In my opinion, only to_heatpump(from_heatpump(...)) should be stable (for reasonable inputs). If we know, what "reasonable" inputs are (by adding, e.g., something like max, min and step variables to the datatype classes, see also #35), such a unit test could be implemented easily.


feat: deserialize any additional data to a dictionary

This is mostly to cover the case where we've incorrectly typed an event, or haven't updated quick enough to represent GitHub webhook changes.

@martincostello I wanted to get your input on whether you think this is a good idea or not.


DOM is shifted completely if the top and bottom elements alternate

Version
2.6.6
Reproduction link
https://jsfiddle.net/azg65dsv/3/
Steps to reproduce
Click the "Push" button and you will see that the focus of the window is now on the top input. Wait a few seconds, and should now see that the focus has been lost from the input.
What is expected?
The first input should still be focused.
What is actually happening?
The entire DOM is shifted around, new elements are created for no reason and changed, while the input ends up unfocused.

My setup is pretty similar to the fiddle, I have a loading bar at the top and an information box at the bottom. When testing it, however, a lot of weird things happened:

My custom directive didn't work properly because the underlying element was changed (this was actually my fault, I have now fixed it)
If I selected the input before data came, it lost focus
My custom button ripple animation got shifted around to a button at the bottom of the screen

After debugging a little bit, I found the issue. Vue thought that those divs were the same element when calling sameVnode(oldEndVnode, newEndVnode). Adding a custom key into the second div works wonderfully, and no more DOM shifting, but I would like to be warned by the template compiler if something like this could happen (or maybe key all divs?).
Workaround
Add a key to the first div that is not toggled.

This seems to share the same root cause with #9473. The focused input will lose focus after it's moved in the DOM tree. (As in #9473 it will make <iframe>s reload.)

Duplicate of #4362


tests: Add the description for interface common and ethtool integration tests

description: Set the running hostname to nmstate-test2.example.org
hostname:
  running: nmstate-test2.example.org
  config: ''
interfaces: []
description: Set the config hostname to nmstate-test1.example.org
hostname:
  config: nmstate-test1.example.org
interfaces: []
description: Set the running hostname to beaker-networkmanager-custom-upstream-4145, set the config hostname to beaker-networkmanager-custom-upstream-4145
hostname:
  running: beaker-networkmanager-custom-upstream-4145
  config: beaker-networkmanager-custom-upstream-4145
interfaces: []
description: Set the running hostname to beaker-networkmanager-custom-upstream-4145, set the config hostname to beaker-networkmanager-custom-upstream-4145
hostname:
  running: beaker-networkmanager-custom-upstream-4145
  config: beaker-networkmanager-custom-upstream-4145
interfaces: []
description: Set the running hostname to nmstate-test1.example.org and set the config hostname to nmstate-test2.example.org
hostname:
  running: nmstate-test1.example.org
  config: nmstate-test2.example.org
interfaces: []
description: Set the running hostname to beaker-networkmanager-custom-upstream-4145, set the config hostname to beaker-networkmanager-custom-upstream-4145
hostname:
  running: beaker-networkmanager-custom-upstream-4145
  config: beaker-networkmanager-custom-upstream-4145
interfaces: []
description: Set the running hostname to beaker-networkmanager-custom-upstream-4145, set the config hostname to beaker-networkmanager-custom-upstream-4145
hostname:
  running: beaker-networkmanager-custom-upstream-4145
  config: beaker-networkmanager-custom-upstream-4145
interfaces: []
description: Set the running hostname to nmstate-test2.example.org
hostname:
  running: nmstate-test2.example.org
interfaces: []

description: Enable accept all mac address for eth1 interface
interfaces:
- name: eth1
  type: ethernet
  state: up
  accept-all-mac-addresses: true
description: Set accept all mac address to false for eth1 interface
interfaces:
- name: eth1
  type: ethernet
  state: up
  accept-all-mac-addresses: false
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Disable ethtool feature rx-checksum on the ethernet device eth1
interfaces:
- name: eth1
  type: ethernet
  state: up
  ethtool:
    feature:
      rx-checksum: false
description: Remove the veth device veth1 and veth1.ep
interfaces:
- name: veth1
  type: ethernet
  state: absent
- name: veth1.ep
  type: ethernet
  state: absent
description: Configure the veth device veth1 with the mtu 1400
interfaces:
- name: veth1
  type: ethernet
  state: up
  mtu: 1400
description: Disable ethtool feature highdma on the veth device veth1 with the veth peer veth1.ep configured
interfaces:
- name: veth1
  type: ethernet
  state: up
  ethtool:
    feature:
      highdma: false
  veth:
    peer: veth1.ep
description: Bring up eth1 interface and add the description 'bar'
interfaces:
- name: eth1
  description: bar
  type: ethernet
  state: up
description: Set the MAC address to d4:ee:07:25:42:5a for eth1 interface
interfaces:
- name: eth1
  type: ethernet
  state: up
  mac-address: D4:EE:07:25:42:5A
description: Set the MAC address to d4:EE:07:25:42:5a for eth1 interface
interfaces:
- name: eth1
  type: ethernet
  state: up
  mac-address: D4:EE:07:25:42:5A
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Delete the dummy device dummy0
interfaces:
- name: dummy0
  type: dummy
  state: absent
description: remove dummy device dummy1
interfaces:
- name: dummy1
  type: unknown
  state: absent
  type: unknown
description: Bring up the dummy device dummy1
interfaces:
- name: dummy1
  type: dummy
  state: up
description: Delete the dummy device dummy0
interfaces:
- name: dummy0
  type: dummy
  state: absent
description: Configure ethernet device eth1 to have the static IPv4 address <IP_ADDRESS>/24 and static IPv6 address 2001:db8:1::1/64
interfaces:
- name: eth1
  type: ethernet
  state: up
  ipv4:
    enabled: true
    dhcp: false
    address:
    - ip: <IP_ADDRESS>
      prefix-length: 24
  ipv6:
    enabled: true
    dhcp: false
    autoconf: false
    address:
    - ip: 2001:db8:1::1
      prefix-length: 64
description: Set up the ethernet device lldptest with lldp disabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: false
description: Configure the ethernet device lldptest with lldp enabled
interfaces:
- name: lldptest
  type: ethernet
  state: up
  lldp:
    enabled: true
description: Bring up the interface dummy_test
interfaces:
- name: dummy_test
  type: dummy
  state: up
description: Delete the interface dummy_test
interfaces:
- name: dummy_test
  type: dummy
  state: absent
description: Delete the interface dummy_test
interfaces:
- name: dummy_test
  type: dummy
  state: absent
description: Bring up the interface dummy_test
interfaces:
- name: dummy_test
  type: dummy
  state: up


match_criteris to be optional for custom control topology | Fix #323

relevant Schema update will be made in separate PR once this is merged

@tzarski0
Can you help to review and merge


XOR issue

I'm using this library for a hashing function, more precisely I'm using the xor and times functions within this library. However, precision seems to be an issue.
With this library:
-3750763034362895579 XOR 52 = -3750763034362895400
Correct answer:
-3750763034362895579 XOR 52 = -3750763034362895599

Can you post the code you are using? I cannot reproduce the issue. The following code:
bigInt("-3750763034362895579").xor(52).toString()

returns the correct answer:
"-3750763034362895599"

function testHash() {
var init = bigInt("-3750763034362895579",10);
var prime = bigInt("1099511628211",10);
var hash = init;
var inputBytes = [52, 48, 55, 118, 86, 52, 85, 86, 106, 57, 67, 121, 68, 65];
for(var i = 0; i < inputBytes.length; i++) {
	hash = hash.xor(inputBytes[i]);
	if(i == 0) {
		//just printing known example from previous question
		console.log("-3750763034362895579 XOR 52 = -3750763034362895599");
		console.log("actual XOR result: " + hash);
	}
	hash = hash.times(prime);
}

console.log("actual: " + hash);
console.log("expected:<PHONE_NUMBER>799639795");

}

This line will print imprecise results
console.log("actual XOR result: " + hash);

because the + operator will cause the valueOf method to be called, which will convert hash into a native JavaScript number, which cannot accurately represent larger values.
You can print the precise string representation using the String function or the toString method:
console.log("actual XOR result: " + String(hash));
console.log("actual XOR result: " + hash.toString());

Let me know if you have any further questions.

I'm having problems converting hex to decimal when the value is negative.  Check out my fiddle here: https://jsfiddle.net/cqepbvyh/.

It seems you are wanting to convert the hex number e7bab700ba933e88 into decimal, yes?
bigInt('e7bab700ba933e88', 16).toString() correctly outputs "16697859782187630216". (You can verify the result on Wolfram Alpha) I'm not sure where your expected value of -1748884291521921400 comes from.

I have checked with Windows calculator and Google BigQuery.  Both return the result -1748884291521921400.

OK, I see what you mean. Yes, 0xe7bab700ba933e88 in a fixed 64-bit two's-complement representation is indeed -1748884291521921400. BigInteger represents arbitrarily large integers, potentially larger than 64-bits, so it doesn't make sense to use two's complement. Instead, it uses a minus sign to represent negative integers.

With bigInt, if I know the input is fixed 64-bit two's-complement representation, is there a way to get from e7bab700ba933e88 to -1748884291521921400?

Sure, you can write a function to do the conversion:
function toTwosComplement(n) {
    n = bigInt(n, 16);
    var minInt = bigInt("8000000000000000", 16);
    var isNegative = minInt.and(n).isPositive();
    return isNegative ? minInt.negate().add(n.xor(minInt)) : n;
}

Then you can do this:
> toTwosComplement("e7bab700ba933e88").toString()
"-1748884291521921400"


Deferred files causing stochastic build failures

We have a project with 317 layout files (maybe the large number is relevant).
In CI and occasionally locally, the build fails because the generated stubs source jar for layout bindings has an empty file at the root instead of the valid generate file.
For example:
 unzip -l bazel-bin/path/to/app/lib_dev-stubs_binding.srcjar | grep FragmentFoo
        0  1980-02-01 00:00   FragmentFooBinding.java
     1715  1980-02-01 00:00   com/ourcompany/databinding/FragmentFoo2Binding.java

In the above example, you'll see that FragmentFoo2Binding.java is in the correct spot and has a valid size. But FragmentFooBinding.java is empty and isn't at the proper path.
If I set verbose=true for the SourceJarCreator, I'll see that we're hitting this line: https://github.com/grab/grab-bazel-common/blob/987bb4ef56aa331ca0b3c10233baef99def7b7b3/tools/db-compiler-lite/src/main/java/com/grab/databinding/stub/util/jars/SourceJarCreator.kt#L163
for FragmentFooBinding. And the body will be empty.
One workaround I see is to re-read the file when visiting deferred files.
For example:
        filenameHelper.visitDeferredEntries { path, jarFilename, bytes ->
            if (jarFilename == null) {
                val newBytes = Files.readAllBytes(path) // ADDED THIS
                if (verbose) {
                    val body = newBytes.toString(Charset.defaultCharset())
                    System.err.println("""could not determine jar entry name for $path. Body:\n$body}""")
                    addEntry(path.fileName.toString(), path, newBytes)
                } else {
                    // if not verbose silently add files at the root.
                    addEntry(path.fileName.toString(), path, newBytes)
                }
            } else {
                System.err.println("adding deferred source file $path -> $jarFilename")
                addEntry(jarFilename, path, bytes)
            }
        }

Perhaps something about bazel causes this file not to be available yet in the first go around? If it's not the sheer number of layout files, maybe it is something in my .bazelrc?

One thing to note is that the files that fail to generate properly are stochastic. It is a different file everytime. So sometimes it will be FragmentFooBinding.java, other times it will be FragmentBarBinding.java - it all depends on which file gets arbitrary deferred.

I think I just saw an example of my workaround still failing. I don't fully understand why some files get deferred, and how best to wait for them to become available before attempting to read their contents.

I am on Ubuntu 18.04. Perhaps it's an operating system issue where the files aren't sync'd properly before the next operation?
It's as if the files are not guaranteed to be written after generate, almost like generate is async even though I know it's not.
        val dataBindingClasses = command.bindingClassGenerator().generate(
            packageName,
            layoutBindings
        )
       // All files are not actually guaranteed to be written here. Need some sort of filesystem sync?
        command.srcJarPackager.packageSrcJar(
            inputDir = dataBindingClasses,
            outputFile = stubClassJar,
            verbose=true
        )

Not being a java/kotlin expert, I also tried something like this:
    private fun addJavaLikeSourceFile(sourceFile: Path) {
        val fis = FileInputStream(sourceFile.toString())
        val channel = fis.getChannel()
        channel.force(true);
        fis.close();
        channel.close();

Maybe something like this ensures that the filesystem is sync'd before trying to read the files?

Now trying something like this:
    private fun addJavaLikeSourceFile(sourceFile: Path) {
        var count = 0;
        var bytes = Files.readAllBytes(sourceFile)
        while ((bytes == null || bytes.size == 0) && count < 30) {
            println("$sourceFile does not yet exist $count")
            Thread.sleep(100)
            count++
            bytes = Files.readAllBytes(sourceFile)
        }

Hey thanks for the report, will investigate this and get back.

possibly related to this, but we have a project that has a very large number of Android resources, and when building all of our targets one of the R.java files ends up becoming corrupt:
    public static int MenuItem_android_orderInCategory = 0;

    public static int MenuItem_android_title = 0;

    public static int MenuItem_android_titleCondensed = 0;

  droid_titleCondensed = 0;

    public static int MenuItem_android_visible = 0;

    public static int MenuItem_contentDescription = 0;

    public static int MenuItem_iconTint = 0;

    public static int MenuItem_iconTintMode = 0;

The issue is mitigated by reducing the number of build targets we run in one pass.


feat: add aggregation layer to cache

Overview

add a layer to the cache so that we can support multiple aggregations in the future

[dataStreamId: string]: {
        rawData: DataStream | undefined,
        resolutions: {
                [resolution: number]: {
                        [aggregationType in AggregateType]?: DataStreamStore | undefined;
                } | undefined;
        } | undefined;
} | undefined;

Verifying Changes
still receiving and displaying data properly :)

Legal
This project is available under the Apache 2.0 License.

are there any changes required for iot-twinmaker datasource?