Fix rfc3339 datetime migration

Content
This PR fix the migration that migrate dates in the aggregator database to the rfc 3339 format.
The created_at & artifact columns of the signed_entity table were swapped, leading to an error when querying any artifacts.
Pre-submit checklist

Branch

[ ] Tests are provided (if possible)
[ ] Crates versions are updated (if relevant)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages

PR

[ ] No clippy warnings in the CI
[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Issue(s)
Relates to #946, Fix a bug introduced in #994

The following script allow to visualize all dates in the database, usefull to check that they are all on the migrated to rfc3339:
select * from (select 'certificate' as 'table', 'initiated_at' as 'column', initiated_at as 'value' from certificate limit 2)
union select * from (select 'certificate', 'sealed_at', sealed_at from certificate limit 2)
union select * from (select 'open_message', 'created_at', created_at from open_message limit 1)
union select * from (select 'signer_registration', 'created_at', created_at from signer_registration limit 1)
union select * from (select 'signed_entity', 'created_at', created_at from signed_entity limit 1)
union select * from (select 'signer', 'created_at', created_at  from signer limit 1)
union select * from (select 'signer', 'updated_at', updated_at from signer limit 1)
union select * from (select 'single_signature', 'created_at', created_at from single_signature limit 1)
union select * from (select 'stake_pool', 'created_at', created_at from stake_pool limit 1)
union select * from (select 'db_version', 'updated_at', updated_at from db_version limit 1)


Valid JSON feeds

Pat, I used your JSON feeds as the basis for my own. Here are the gists I have for a feed.json (which has all the long form blog posts) and a micro.json (which has short posts only):
https://gist.github.com/bmann/38b54d893d506d2eb8bb8b325eafaccf
A note: right now, the micropub server I'm using defaults to setting category of short posts to "social", which I couldn't fix, so I just changed it in my Jekyll install.
Also, because of some of the rest of the Jekyll theme that I inherited, I purposefully don't include title in the micro feed.
Lastly, my theme / setup supports a date modified field, so I included that.
The validator for checking feeds is here: http://validator.jsonfeed.org/
(and apologies for not having a Pull Request for you, a lot of this stuff ends up being pretty blog specific)

@bmann I've pushed a change that adds the missing curly bracket and commas in the JSON feed. You can see that the feed is now passing here: http://validator.jsonfeed.org/?url=https%3A%2F%2Fpatdryburgh.github.io%2Fhitchens%2Ffeed.json


Snake draft

Build the snake draft functionality. A nomination == picking a player. Captains may opt to close out drafting once they've picked 8 folks, which removes them from the future rotation.

Do you know if someone is working on this at the moment?


build: bump dependency versions

PR summary
This PR bumps the version of several dependencies in an attempt to stay current.
Signed-off-by: Phil Adams<EMAIL_ADDRESS>PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.26.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cypress. Update case 108. Find better way for check a shape rotation.

Motivation and context
Reworking the test for target branch.
Reworking check for a shape rotation. Calculating and checking the angle of rotation of a shape based on data from getCTM().
How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

If you want I can implement recording rotation as an HTML attribute. Would it be simpler for you?


Swift 2.0 Update?

Hello,
This looks great on paper. Unfortunately I couldn't try it because its not Swift 2.0 compatible.
Any chance we can see an update soon?
Thanks in advance and great work
Ace

Check the xcode-7 branch here: https://github.com/MrAlek/PagedArray/tree/xcode-7 :)


Ensure success toast theme matches button/dialog/widget theme

This is a bit of a can of worms so we're not going to 100% commit to doing this just yet.


E2E: Modify tests with timeouts, additional clicks and checks to run against faster app version build

Description:
E2E: Modify tests with timeouts, additional clicks and checks to run against faster app version build

PR and branch with lots of experiments in commits:
https://github.com/bcgov/platform-services-registry/pull/3683/commits
PR and branch with adapted create test and saving the screenshots from Cypress to GitHub Actions artifacts:
https://github.com/bcgov/platform-services-registry/pull/3774

The final PR that got merged:
https://github.com/bcgov/platform-services-registry/pull/3809


ERROR: unsatisfiable constraints Alpine linux postgres 11

Hello, i have tried to build the alpine dockerfile and this error happen
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  so:libcrypto.so.1.1 (missing):
    required by:
                 gdal-2.3.2-r1[so:libcrypto.so.1.1]

Please check this pull request: https://github.com/appropriate/docker-postgis/pull/114


Hide Delete option on Soft Deleted filter

Package
filament/tables
Package Version
v2.0
Laravel Version
v9.26
Livewire Version
No response
PHP Version
PHP 8.0
Problem description
Currently, the Delete selected option on Only eleted records filter is display.

Expected behavior
We only need show 2 options is Restore and Force delete.
Steps to reproduce

use SoftDeletes to model
create filament resource with --soft-deletes option
Delete some records
Filter with Only deleted records
See on actions dropdown

Reproduction repository
N/A
Relevant log output
No response

Fixed by #3933.


ios: Keychain access denied when launched from notification

I'm using the plugin to store a login token for my app. For iOS i use the keychain mode "WhenUnlockedThisDeviceOnly". When the app is terminated and launched through a notification, I immediately use the plugin to get the token from the Keychain, but it always fails with the error "errSecInteractionNotAllowed".
This is the Code that i use for launching the app on notification (different plugin):
- (void)didReceiveLocalNotification:(NSNotification *)notification
{
    if ([UIApplication sharedApplication].applicationState == UIApplicationStateInactive) {
        UILocalNotification *localNotification = notification.object;
        if (localNotification) {
            [self forwardLocalNotification:localNotification];
        }
    }
}

- (void)forwardLocalNotification:(UILocalNotification *)localNotification
{
    NSDictionary *dict = [NSDictionary dictionaryWithObject:[NSArray arrayWithObject:localNotification.userInfo] forKey:@"notifications"];

    [self sendSuccessfulMessageBackToJSWithData:dict andCallbackId:notificationListenerCallbackId alive:YES];
    if (isBadgingEnabled) {
        [UIApplication sharedApplication].applicationIconBadgeNumber -= 1;
    }
}

-(void)sendSuccessfulMessageBackToJSWithData:(NSDictionary *)jsonObj andCallbackId:(NSString *)callbackId alive:(BOOL)isAlive
{
    // Create an instance of CDVPluginResult, with an OK status code.
    // Set the return message as the Dictionary object (jsonObj) to be serialized as JSON in the browser
    CDVPluginResult *pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:jsonObj];
    [pluginResult setKeepCallbackAsBool:isAlive];

    // Execute sendPluginResult on this plugin's commandDelegate, passing in the instance of CDVPluginResult
    [self.commandDelegate sendPluginResult:pluginResult callbackId:callbackId];
}

Has the plugin been initialized? I am guessing not since you respond natively to the notification...

Does the plugin even need any initialization on ios? The constructor doesn't seem to do much except set the service. But yes, the success callback is executed before the get call is done.

All cordova plugins need initialization for the bridge to work.
But since you do things natively, you might have more luck with accessing the keychain natively as well. For iOS we barely use https://github.com/soffes/SSKeychain to do so.

@Alex-Sessler wrote that he initializes the plugin after the onDeviceReady event was fired, so Cordova did initialize the plugins. According to your securestorage.js code, there is not further initialization necessary after calling the SecureStorage constructor as you immediately call the success function:
var SecureStorageiOS = function (success, error, service) {     this.service = service;     setTimeout(success, 0);     return this; };
We don't try to do anything natively. The Objective-C code above is just to show you how the app is launched when a user clicks the notification.
As stated by @Alex-Sessler the issue is that if there is a notification present and the cordova app is in a terminated state, the app will be launched by clicking on the notification (native code from 1st post) but in this state, we can't access the KeyChain in our cordova app.
Launching the app by clicking on the icon or selecting the notification when the app is paused or running does not have this issue. We are trying to figure out if this is an issue with the Plugin, Cordova or the method how the app is launched by the native code.

I see. It wasn't clear to me that the onDeviceReady was fired.
I am not sure why this would happen. In our own product Crypho we do the same thing and can access the keychain just fine.
Would it be possible to create a simple test-case with pinned versions and see if it is reproducable?

The latest changes (moving the work to threads) fixed this issue for me.

awesome :)


[BUG] Sanity check for ios flow reference wallet version 1.0.0(1)

Describe the Bug

There is a typo error in wrong network alert. need to correct from "Swicth" to" Switch".

If an account backup in testnet in old version. When I try to switch to this account from an account in mainnet, It will show error attached below.

https://github.com/Outblock/FRW-iOS/assets/87978227/2562784a-31d9-417d-97d4-2e5f1c068e8f

After change app name, cannot mint NFT from monstermaker, show error " Transaction process failed"

https://github.com/Outblock/FRW-iOS/assets/87978227/2fc2f656-aa84-4c8e-a3be-56b8d085044f
Expected experience
...
Steps To Reproduce
...
Environment
- IOS:1.0.0(1)

These issues already solved in ios prod version 2.1.2(9).
(1) Typo error in wrong network alert already correct from "Swicth" to" Switch".
(2) Force user switch to mainnet when they switch account.
(3)  Can connect with new flow wallet, but can not mint.


Add keys to columns in task map info-modal

The mapped divs were missing keys. I added a custom key to each object in TaskMapInfoModalColumns.tsx. Decided to go for this solution as you couldn't use the FC nor Translation elements directly as the key.

Now I got what you meant 😄 Changed the modal content to strings and added them as keys 👍


Stack layout allows for only one stack

Would it be possible to include a setting to set the number of panes for the stack layout? It's kind of useless with every window covering the screen and you can't stack manually in layout float.
Two or three stacked panes with managed window placement would be ideal for me. Thanks.

you can just use stacks in the bsp layout.

I am, but it involves manually stacking each new windows once you have 2-3 panes.

You can use the yabai -m window --insert stack command to make the next window add to the stack instead of having to stack it after opening. If you like to use the mouse you can also do yabai -m config mouse_drop_action stack so that you can simply drop a window on top of another to create/add to a stack. I understand this is not quite what you are asking for,
but it's not trivial to make code changes to allow the automatic creation of a set amount of panes with the way the current window layouts are represented, sorry.

I suppose you could try to use signals combined with queries to write scripts that automatically creates or append to the correct stacks.

You can use the yabai -m window --insert stack command to make the next window add to the stack instead of having to stack it after opening. If you like to use the mouse you can also do yabai -m config mouse_drop_action stack so that you can simply drop a window on top of another to create/add to a stack. I understand this is not quite what you are asking for, but it's not trivial to make code changes to allow the automatic creation of a set amount of panes with the way the current window layouts are represented, sorry.

Totally understand, I was thinking of a hardcoded number of panes in the stack layout, just a higher number than 1. Just 2 would be a major improvement, would that be a huge lift? Thanks!

Something like yabai -m config stack_panes 2 would do.

One last suggestion - another way it could work would be a set a "max panes" value for the bsp layout, and then stack each new window onto the existing, least recently focused window.
Now that I have the "stack across displays command working", I'm creating two stacks per monitor, stacking placeholder windows into them, and then I'm able to shuffle the top window left/right across panes and displays.

I found a decent solution:
yabai -m signal --add event=window_created action='yabai -m window prev --stack "$YABAI_WINDOW_ID"'

Closing this as not planned.

@koekeishiya Solution like yabai -m signal --add event=window_created action='yabai -m window prev --stack "$YABAI_WINDOW_ID"' is acceptable. But windows flicker like crazy. For example, suppose we have two stacks on the left and right, with the mentioned signal appied, a new window (#1) is opened and placed in bsp style first. An old existing window (#2) would become smaller to make room. Suppose the window that window #1 is stacking onto is not #2, #2 would be restored to original size and #1 would move across #2 to the other end. This whole process involves a lot of window resizing, and is not very pleasing to the eye.
Automatically stacking a newly opened window onto existing window with window resizing would be much better.


Visible text input lag

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.113]
Windows Terminal version (if applicable): Latest from Microsoft Store
Steps to reproduce
Use the Terminal!
Expected behavior
Less visible input lag within the Terminal, in both Powershell and WSL.
Actual behavior
While typing, there is visible input lag in all Windows Terminal windows.

Any chance you're using the retro terminal effects? I've seem personally that feature seems to introduce a bit of lag.
Is this possibly #1311?

I'm not sure what retro terminal effects so I don't think I'm using them no!

We're doing performance and rendering work; I bet that this is going to be related to /dup #1064 and #778


Performing multiple optimize operations after creating a checkpoint can lead to data errors and exponential data bloat.

Environment
python3
Delta-rs version:
0.22.2
Binding:
Environment:

Cloud provider:
OS: centos8
Other:

Bug
What happened:
i insert 4000 rows data into a delta table
create checkpoint
optimize more than once
data now is 12000 rows
In [109]: dt.create_checkpoint()

In [110]: dt.optimize.compact(target_size=1024*256)
Out[110]:
{'numFilesAdded': 2,
 'numFilesRemoved': 2,
 'filesAdded': '{"avg":112461.0,"max":168540,"min":56382,"totalFiles":2,"totalSize":224922}',
 'filesRemoved': '{"avg":127678.5,"max":168540,"min":86817,"totalFiles":2,"totalSize":255357}',
 'partitionsOptimized': 1,
 'numBatches': 4,
 'totalConsideredFiles': 2,
 'totalFilesSkipped': 0,
 'preserveInsertionOrder': True}

In [111]: dt.version()
Out[111]: 5

In [112]: dt.to_pandas()
Out[112]:
        id                                              value
0     1000  value-1000-4ryilo616rsw4pz8on92tbyi2o04hgkrug0...
1     1001  value-1001-3eh8aav3x21jwkme3h9e56dyc4lrdhlzur1...
2     1002  value-1002-bpxn3ndnll87fq6f17tv1ij0pqhra7wj0jx...
3     1003  value-1003-g0bssmsjxrt21a3p95a7g8q2mic043ym511...
4     1004  value-1004-6yjmva7ezuwtwlw0vymf1ldzq60ih4yzvmc...
...    ...                                                ...
3995   995  value-995-x96gnl6173qdzuev650z9o2dfb0pg3wzthyq...
3996   996  value-996-0883a2ltvaic6wfsu1wk7quj6n04kawgnnfx...
3997   997  value-997-kjp4433vk5x37ly1yrf0ozboqzvn4mfh5u94...
3998   998  value-998-6bvhlcqlbkn1jsr8rh3xes3ggm4glwd3pk7i...
3999   999  value-999-r4qcrvung6u0kvq6slgcw9jp4plutst3109h...

[4000 rows x 2 columns]

In [113]:

In [113]: dt.optimize.compact(target_size=1024*256)
Out[113]:
{'numFilesAdded': 2,
 'numFilesRemoved': 2,
 'filesAdded': '{"avg":112461.0,"max":168540,"min":56382,"totalFiles":2,"totalSize":224922}',
 'filesRemoved': '{"avg":112461.0,"max":168540,"min":56382,"totalFiles":2,"totalSize":224922}',
 'partitionsOptimized': 1,
 'numBatches': 4,
 'totalConsideredFiles': 2,
 'totalFilesSkipped': 0,
 'preserveInsertionOrder': True}

In [114]:

In [114]: dt=DeltaTable(path)

In [115]: dt.optimize.compact(target_size=1024*256)
Out[115]:
{'numFilesAdded': 4,
 'numFilesRemoved': 4,
 'filesAdded': '{"avg":112461.0,"max":168540,"min":56382,"totalFiles":4,"totalSize":449844}',
 'filesRemoved': '{"avg":120069.75,"max":168540,"min":56382,"totalFiles":4,"totalSize":480279}',
 'partitionsOptimized': 1,
 'numBatches': 8,
 'totalConsideredFiles': 4,
 'totalFilesSkipped': 0,
 'preserveInsertionOrder': True}

In [116]:

In [116]: dt=DeltaTable(path)

In [117]: dt.to_pandas()
Out[117]:
         id                                              value
0      1000  value-1000-4ryilo616rsw4pz8on92tbyi2o04hgkrug0...
1      1001  value-1001-3eh8aav3x21jwkme3h9e56dyc4lrdhlzur1...
2      1002  value-1002-bpxn3ndnll87fq6f17tv1ij0pqhra7wj0jx...
3      1003  value-1003-g0bssmsjxrt21a3p95a7g8q2mic043ym511...
4      1004  value-1004-6yjmva7ezuwtwlw0vymf1ldzq60ih4yzvmc...
...     ...                                                ...
11995   995  value-995-x96gnl6173qdzuev650z9o2dfb0pg3wzthyq...
11996   996  value-996-0883a2ltvaic6wfsu1wk7quj6n04kawgnnfx...
11997   997  value-997-kjp4433vk5x37ly1yrf0ozboqzvn4mfh5u94...
11998   998  value-998-6bvhlcqlbkn1jsr8rh3xes3ggm4glwd3pk7i...
11999   999  value-999-r4qcrvung6u0kvq6slgcw9jp4plutst3109h...

[12000 rows x 2 columns]

What you expected to happen:
after multi optimize，the data will still be 4000 rows
How to reproduce it:
do not create checkpoint if i want optimze
More details:

I first encountered this issue using Rust 0.22.2. Then, I reproduced the issue using Python.
this my rust code
use clap::{Command, Parser, Subcommand};
use deltalake::arrow::array::RecordBatch;
use deltalake::arrow::datatypes::DataType;
use deltalake::arrow::{self, array};
use deltalake::checkpoints::create_checkpoint;
use deltalake::operations::optimize::OptimizeBuilder;
use deltalake::operations::vacuum::VacuumBuilder;
use deltalake::{open_table, DeltaOps};
use std::sync::Arc;
use std::time::Duration;

const TARGET_SIZE: i64 = 1024 * 128;
const MIN_COMMIT_INTERVAL: Duration = Duration::from_secs(10);

#[derive(Parser)]
#[command(author, version, about, long_about = None)]
struct Cli {
    #[command(subcommand)]
    command: Commands,
}

#[derive(Subcommand)]
enum Commands {
    AddData {
        #[arg(short, long, default_value_t = 0)]
        offset: i32,
        #[arg(short, long, default_value_t = 1000)]
        limit: usize,
    },
    Optimize,
    Vacuum,
    Checkpoint,
}

#[tokio::main]
async fn main() {
    let cli = Cli::parse();
    let path = "./data/delta";

    match &cli.command {
        Commands::AddData { offset, limit } => {
            add_data(path, *offset, *limit).await;
        }
        Commands::Optimize => {
            let delta_table = open_table(path).await.unwrap();
            optimize(delta_table.clone(), TARGET_SIZE, MIN_COMMIT_INTERVAL).await;
        }
        Commands::Vacuum => {
            let delta_table = open_table(path).await.unwrap();
            vacuum(delta_table.clone()).await;
        }
        Commands::Checkpoint => {
            let delta_table = open_table(path).await.unwrap();
            create_checkpoint(&delta_table).await.unwrap();
        }
    }
}

async fn vacuum(delta_table: deltalake::DeltaTable) {
    let snapshot = delta_table.snapshot().unwrap();
    match VacuumBuilder::new(delta_table.log_store(), snapshot.clone())
        .with_retention_period(chrono::Duration::zero())
        .with_enforce_retention_duration(false)
        .await
    {
        Ok((_, metrics)) => println!("vacuum metrics: {:?}", metrics),
        Err(e) => println!("vacuum error: {:?}", e),
    }
}

async fn optimize(
    delta_table: deltalake::DeltaTable,
    target_size: i64,
    min_commit_interval: Duration,
) {
    let snapshot = delta_table.snapshot().unwrap();
    match OptimizeBuilder::new(delta_table.log_store(), snapshot.clone())
        .with_target_size(target_size)
        //.with_min_commit_interval(min_commit_interval)
        .await
    {
        Ok((_delta_table, metrics)) => {
            println!(
                "{} optimize metrics: {:?}",
                delta_table.table_uri(),
                metrics
            );
        }
        Err(e) => {
            println!("Failed to optimize {}: {:?}", delta_table.table_uri(), e);
        }
    }
}

async fn add_data(table_uri: &str, offset: i32, limit: usize) {
    //let table_uri = delta_table.table_uri();
    let batch = gen_data(offset, limit);
    let ops = DeltaOps::try_from_uri(table_uri).await.unwrap();
    let table = ops.write(batch).await.unwrap();
}

fn gen_data(start_id: i32, num_records: usize) -> Vec<RecordBatch> {
    let id_field = arrow::datatypes::Field::new("id", DataType::Int32, false);
    let value_field = arrow::datatypes::Field::new("value", DataType::Utf8, false);
    let schema = Arc::new(arrow::datatypes::Schema::new(vec![id_field, value_field]));
    let mut batches = vec![];
    for i in 0..num_records {
        let ids = arrow::array::Int32Array::from(vec![i as i32 + start_id]);
        let values = array::StringArray::from(vec![format!("value-test-{:?}-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", i)]);
        let batch =
            RecordBatch::try_new(schema.clone(), vec![Arc::new(ids), Arc::new(values)]).unwrap();
        batches.push(batch);
    }
    batches
}

[package]
name = "delta_demo"
version = "0.1.0"
edition = "2021"

[dependencies]
chrono = "0.4.38"
clap = {version = "4.5.21", features = ["derive"]}
deltalake = { version = "0.22.0", features = ["datafusion"] }
tokio = {version = "1.41.1", features = ["full"]}

./target/debug/delta_demo add-data --limit 1000 --offset 0
./target/debug/delta_demo add-data --limit 1000 --offset 1000
./target/debug/delta_demo add-data --limit 1000 --offset 2000
./target/debug/delta_demo checkpoint
./target/debug/delta_demo add-data --limit 1000 --offset 3000
./target/debug/delta_demo add-data --limit 1000 --offset 4000
./target/debug/delta_demo vacuum
./target/debug/delta_demo optimize
./target/debug/delta_demo optimize

probably related to: https://github.com/delta-io/delta-rs/issues/3030

I agree with that assessment @echai58 , can you try again with 0.22.3 @Curricane ?

I agree with that assessment @echai58 , can you try again with 0.22.3 @Curricane ?

I tried updating deltalake to version v0.22.3, still using the previous code. When I insert data multiple times and optimize multiple times, leading to the creation of multiple .zstd files, I manually create a checkpoint, and then optimize multiple times again, there are still issues.  I am using the Python deltalake 0.22.0 SDK to read the data.

I agree with that assessment @echai58 , can you try again with 0.22.3 @Curricane ?

I tried updating deltalake to version v0.22.3, still using the previous code. When I insert data multiple times and optimize multiple times, leading to the creation of multiple .zstd files, I manually create a checkpoint, and then optimize multiple times again, there are still issues.  I am using the Python deltalake 0.22.0 SDK to read the data.

Python v0.22.0 is yanked. Don't use that.
Can you try with 0.22.3 python?

I agree with that assessment @echai58 , can you try again with 0.22.3 @Curricane ?

I tried updating deltalake to version v0.22.3, still using the previous code. When I insert data multiple times and optimize multiple times, leading to the creation of multiple .zstd files, I manually create a checkpoint, and then optimize multiple times again, there are still issues.  I am using the Python deltalake 0.22.0 SDK to read the data.

Python v0.22.0 is yanked. Don't use that.
Can you try with 0.22.3 python?

Ok，I tried with  0.22.3 python. there are still issues

@Curricane can you provide a simple python MRE then?

I have already provided my Rust code, and after compiling, I execute multiple commands. I'm just using Python to read data and verify if the data in the table has changed. Below is my Python code:
import pandas as pd
from deltalake import DeltaTable, write_deltalake

path="./data/delta"
dt=DeltaTable(path)
dt.to_pandas()

@Curricane you did. But I need a python MRE so that I can look into it for you, since I have very limited time

Ok.
I tried to make a ptyhon MRE with Python 0.22.3 sdk, but i failed. The data count after create checkpoint and multi optimize is right.
There is my code
# coding: utf-8

import pandas as pd
from deltalake import DeltaTable, write_deltalake
import random
import string

path_1="./data/delta_1"

def gen_df(start, end):
    ids = list(range(start, end))
    values = [
        f"value-{x}-" + ''.join(random.choices(string.ascii_lowercase + string.digits, k=72))
        for x in ids
    ]
    df = pd.DataFrame({"id": ids, "value": values})
    return df

path_1="./data/delta_1/"

for i in range(0, 10000, 1000):
    df = gen_df(i, i+1000)
    write_deltalake(path_1, df, mode="append")

dt=DeltaTable(path_1)
print(dt.to_pandas().count())
dt.optimize.compact(target_size=1024*256)

dt=DeltaTable(path_1)
dt.create_checkpoint()

dt=DeltaTable(path_1)
print(dt.to_pandas().count())

dt.optimize.compact(target_size=1024*256)
dt=DeltaTable(path_1)
print(dt.to_pandas().count())

dt.optimize.compact(target_size=1024*256)
dt=DeltaTable(path_1)
print(dt.to_pandas().count())

dt.vacuum()

for i in range(10000, 20000, 1000):
    df = gen_df(i, i+1000)
    write_deltalake(path_1, df, mode="append")

dt=DeltaTable(path_1)
print(dt.to_pandas().count())
dt.optimize.compact(target_size=1024*256)
dt=DeltaTable(path_1)
print(dt.to_pandas().count())
dt.optimize.compact(target_size=1024*256)
dt=DeltaTable(path_1)
print(dt.to_pandas().count())
dt=DeltaTable(path_1)
dt.vacuum()
dt.vacuum(retention_hours=0)
dt.vacuum(retention_hours=1)
dt.optimize.compact(target_size=1024*256)
dt.optimize.compact(target_size=1024*256)
dt.optimize.compact(target_size=1024*256)
dt.optimize.compact(target_size=1024*256)
dt.optimize.compact(target_size=1024*256)
dt.optimize.compact(target_size=1024*256)
dt=DeltaTable(path_1)
dt.optimize.compact(target_size=1024*256)
dt=DeltaTable(path_1)
dt.create_checkpoint()
dt.optimize.compact(target_size=1024*256)
dt.optimize.compact(target_size=1024*256)
print(dt.to_pandas().count())

When I tried using my Rust code again, I found that there were still issues. After multiple optimizations, the count increased significantly. This might be a problem with Rust 0.22.3.

@Curricane could you just double check, run it against main since you are using rust

@Curricane could you just double check, run it against main since you are using rust

I rm all old data by rm -rf /data/delta_1 (Compared to my previous code, I only changed the storage directory)
cargo clean
cargo build
rerun commands to add data, create checkpoint, and optimiz. the problem still here.

Sure, here's the translation:

Oh, I found out why upgrading deltalake = { version = "=0.22.0", features = ["datafusion"] } to deltalake = { version = "=0.22.3", features = ["datafusion"] } in my Cargo.toml still caused the issue of multiple optimizations leading to abnormal data increase.
The reason is that I not only needed to run cargo clean, but I also had to run cargo update to update the deltalake-core dependency to version 0.22.3.
In summary: Upgrading to 0.22.3 and running cargo update resolved the issue.
Perhaps you need to upgrade the packages in your project that depend on deltalake-core to version 0.22.3.


Example of setting variables isn't quite right

The README indicates that we can use the module to set a variable using the following syntax:
MF.SimVars.Set(5 (>L:MyVar))
It claims that the calculator code "5 (>L:MyVar)" will be executed.
However, reading the code and testing this out, it appears that the correct syntax is actually:
MF.SimVars.Set.5 (>L:MyVar)
This will execute everything after "Set." using execute_calculator_code.
Thanks for open-sourcing this module. When I get a chance I'll open a PR!

Thanks for reporting.


feat(providers): add sqldb-postgres provider

Feature or Problem

This commit adds a SQL database provider that supports the widely used, featureful Postgres database system.
One of Postgres's main benefits is a robust type system, and part of the work to make Postges possible to use from the wasmCloud ecosystem involves representing that robust type system in WIT -- see bindings.rs for more details.
This provider introduces multiple interfaces for making queries to Postgres cluster -- managed, named profile driven, and completely component-driven connections.
To try it out
Read examples/rust/components/sqldb-postgres-managed/README.md, and follow the instructions (please raise issues if something doesn't work for you)
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

NOTE: I merged the example commit into this one -- while it's one massive PR, reviews should be manageable if we go by commit.

This is very exciting!

Chatted w/ @ricochet and the move here is that we want the managed-query interface to be the only interface.
Together with @thomastaylor312 's feedback, the contract & provider is going to undergo the following changes:

[ ] Remove managed and manual connection modes (and the connection creation machinery in general)
[ ] Remove the pseudo-resource (connection-token, etc)

Connections will be configured via the combination of named config (PROFILE_<name>_*) and link configuration (selecting which profile a component should use).


Test KubeOne Release 1.9

This is a collector issue (Epic) for testing issues for the upcoming KubeOne 1.9.0 release.

The testing phase has been completed successfully! 🎉 Follow the release progress in #3465
/close


Updated Socks

Updated to Socks 0.5.0, see release notes here: https://github.com/czechboy0/Socks/releases/tag/0.5.0
SIGPIPE has been fixed, select() has been added and more bugfixes
(I also finally caught up on the enum lowercase convention :) )

nice work 🎉


bash: nanopolish: command not found

Hi I have run the command nanopolish index -d fast5_files/ reads.fasta but it shows that
bash: nanopolish: command not found
I am using Manjaro

Did you compile nanopolish from source or installed through conda or something?
If you compiled from source, you will have to set the PATH variable to point the nanopolish binary. Or else invoke with the path, e.g., /path/tp/nanopolish


Add ability to query assemblies in a package.

The API should expose the ability to query Paket to provide the list of assemblies in a package (or all packages).

@isaacabraham have you check InstallModel? I think it fits this use case.

Not sure - @forki and myself spoke about this on the weekend - @forki have I just named this issue wrongly?

@isaacabraham we did use it to get assemblies there: https://github.com/matthid/Paket/blob/generate_scripts_v3/src/Paket.LoadingScripts/LoadingScriptsGenerator.fs#L52

Yeah that looks about right.... @forki ?

@isaacabraham do you still need this? maybe we can close the issue or discuss further what you need in API?

This was needed for the work I was looking to do in Functions for Paket interop. That's kind of taken a back seat at the moment so I've not checked now - let's close this and when I pick that up again if it's a problem I can reopen this.


Remove keyword 'LIKE' from PQL grammar.

Removing the keyword 'LIKE' from PQL grammar as it is not supported
currently.

@Jackie-Jiang Please refer to the changes in the PR. The 'LIKE' keyword is being removed. What is your concern?

Codecov Report

Merging #1235 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1235      +/-   ##
==========================================
- Coverage   67.35%   67.31%   -0.04%
==========================================
  Files         772      772
  Lines       37508    37508
  Branches     4913     4913
==========================================
- Hits        25263    25250      -13
- Misses      10581    10598      +17
+ Partials     1664     1660       -4

Impacted Files
Coverage Δ

.../selection/comparator/DocIdFloatValComparator.java
0% <0%> (-81.82%)
:arrow_down:

...ection/comparator/CompositeDocIdValComparator.java
73.33% <0%> (-6.67%)
:arrow_down:

...re/operator/docvalsets/UnSortedSingleValueSet.java
64.61% <0%> (-4.62%)
:arrow_down:

...mon/utils/retry/ExponentialBackoffRetryPolicy.java
81.81% <0%> (-4.55%)
:arrow_down:

...ealtime/impl/dictionary/LongMutableDictionary.java
61.97% <0%> (-4.23%)
:arrow_down:

...lix/core/realtime/PinotRealtimeSegmentManager.java
78.03% <0%> (-1.74%)
:arrow_down:

...not/broker/requesthandler/RangeMergeOptimizer.java
88.7% <0%> (-1.62%)
:arrow_down:

...filter/SortedInvertedIndexBasedFilterOperator.java
77.02% <0%> (-1.36%)
:arrow_down:

.../com/linkedin/pinot/common/data/TimeFieldSpec.java
95% <0%> (-1.25%)
:arrow_down:

...manager/realtime/LLRealtimeSegmentDataManager.java
69.4% <0%> (-0.67%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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


Automated cherry pick of #10194: fix(keystone): hide system scope policies in domain scope view

Cherry pick of #10194 on release/3.7.
#10194: fix(keystone): hide system scope policies in domain scope view

Codecov Report

Merging #10195 (4740516) into release/3.7 (0ff3997) will increase coverage by 1.86%.
The diff coverage is 4.38%.

@@               Coverage Diff                @@
##           release/3.7   #10195       +/-   ##
================================================
+ Coverage         5.98%    7.85%    +1.86%
================================================
  Files              848      110      -738
  Lines           131795    13361   -118434
================================================
- Hits              7887     1049     -6838
+ Misses          123206    12192   -111014
+ Partials           702      120      -582

Flag
Coverage Δ

aFlag
7.85% <4.38%> (+1.86%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/notifier.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/result_handler.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/rule.go
1.78% <0.00%> (-0.09%)
:arrow_down:

... and 643 more

Continue to review full report at Codecov.

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


Undefined is not a function in logger.js 448:41 while deploying meteor app.

Weird bug that occurs only after deploying meteor application to digitalocean server. When I run app locally it does not appear but after deploying meteor application with winston logger added throught npm packages I get this error:
TypeError: undefined is not a function
at [object Object].Logger.add (xxx/app/programs/server/npm/
npm-container/node_modules/winston/lib/winston/logger.js:448:41)
Is there a way to resolve it?

Not sure. Could you provide a small reproducible use-case so we can narrow the issue?

Going to close due to inactivity but if a repro is provided (if this issue still happens on master) we can investigate.  Thanks!


Help Needed in Lua-resty-http

Please find the two examples here when i tried with the localhost(<IP_ADDRESS>) when i try to proxy a request to an appserver the response is not sent back
Works with "<IP_ADDRESS>":
location = /testsomeheaders_test {
rewrite ^(.*)_test$ $1 break;
content_by_lua '
local http = require "resty.http"
local httpc = http.new()
httpc:connect("<IP_ADDRESS>", ngx.var.server_port)
httpc:proxy_response(httpc:proxy_request())
httpc:set_keepalive()
';
}
location = /testsomeheaders {
content_by_lua '
ngx.status = 200
ngx.header["X-Test"] = "foo"
ngx.say("OK")
';
}
Change the  host to some proxy location , The response is never returned back  ,
location = /testsomeheaders_test {
rewrite ^(.*)_test$ $1 break;
content_by_lua '
local http = require "resty.http"
local httpc = http.new()
httpc:connect("ajaytestsomething1.appspot.com", 443)
httpc:proxy_response(httpc:proxy_request())
httpc:set_keepalive()
';
}
I added resolvers (<IP_ADDRESS>)  and tested and it didn’t work , and tried the proxy_pass it works as expected so ruling out the connectivity issue , i am not sure where the problem is

Hi ,
After spending some time i figured out there is a problem setting the "Host" Header i will submit a pull request soon for this


Remove Hardcoded B2 Disk Reference

https://github.com/chrismcintosh/laravel-log-s3-driver/blob/main/src/Handler.php#L43C28-L43C31 has a hardcoded reference to b2 but it should be the disk defined in the constructor

@Olimbot I'll try to get to it this week! Please feel free to open a PR and we can get it released faster!


ClientDisconnected error when trying to look up request.data after an exception inside the Werkzeug debugger

This is a minimised version of an issue I ran into on a larger project. This is possibly working-as-designed, but it seemed odd, so I figured I'd report it here just in case.
Consider the following app:
from flask import Flask, request

app = Flask(__name__)

@app.route("/")
def index():
    return """
    <html>
      <form action="/explode" method="post">
        <input name="text">
        <button type="submit">BOOM!</button>
      </form>
    </html>
    """

@app.route("/explode", methods=["POST"])
def explode():
    assert 0

app.run(debug=True)

You run this app, the user is presented with a single text field. They enter some text, click "submit", and the AssertionError causes a server error to be thrown. You're dropped into the Werkzeug console.
I open the interactive debugging console, type request.data, and a stack trace immediately pours all over the screen:
[console ready]
>>> request.data
Traceback (most recent call last):
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 939, in read
    read = self._read(to_read)

During handling of the above exception, another exception occurred:
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/formparser.py", line 131, in wrapper
    return f(self, stream, *args, **kwargs)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/formparser.py", line 264, in _parse_urlencoded
    form = url_decode_stream(stream, self.charset, errors=self.errors, cls=self.cls)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/urls.py", line 893, in url_decode_stream
    return cls(decoder)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/datastructures.py", line 420, in __init__
    for key, value in mapping or ():
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/urls.py", line 897, in _url_decode_impl
    for pair in pair_iter:
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 801, in make_chunk_iter
    first_item = next(_iter, "")
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 681, in _make_chunk_iter
    item = _read(buffer_size)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 941, in read
    return self.on_disconnect()
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 911, in on_disconnect
    raise ClientDisconnected()

During handling of the above exception, another exception occurred:
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 939, in read
    read = self._read(to_read)

During handling of the above exception, another exception occurred:
  File "<debugger>", line 1, in <module>
    request.data
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/local.py", line 348, in __getattr__
    return getattr(self._get_current_object(), name)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/utils.py", line 90, in __get__
    value = self.func(obj)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wrappers/base_request.py", line 425, in data
    return self.get_data(parse_form_data=True)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wrappers/base_request.py", line 455, in get_data
    self._load_form_data()
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/flask/wrappers.py", line 88, in _load_form_data
    RequestBase._load_form_data(self)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wrappers/base_request.py", line 318, in _load_form_data
    self._get_stream_for_parsing(), mimetype, content_length, options
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/formparser.py", line 232, in parse
    return parse_func(self, stream, mimetype, content_length, options)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/formparser.py", line 135, in wrapper
    exhaust()
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 925, in exhaust
    self.read(chunk)
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 941, in read
    return self.on_disconnect()
  File "/Users/alexwlchan/.virtualenvs/tempenv-388f210986880/lib/python3.7/site-packages/werkzeug/wsgi.py", line 911, in on_disconnect
    raise ClientDisconnected()
werkzeug.exceptions.ClientDisconnected: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

>>>

If we modify the explode() method to print the value of request.data before throwing, like so:
@app.route("/explode", methods=["POST"])
def explode():
    print(request.data)
    assert 0

then looking up request.data in the console works correctly. (In this case, it prints b''.)
Same request, different server code – which makes me think “the browser (or proxy) sent a request that this server could not understand” wasn’t actually the underlying issue, because it could parse the (empty) request body just fine before it had thrown.
Environment

Python version: 3.7.5
Flask version: 1.1.1
Werkzeug version: 0.16.0

This is an issue with how data for requests is buffered. I think it's mostly in Python's HTTPServer code, not Werkzeug. Regardless, we've closed these as wontfix in the past because it only affects the dev server in very specific cases, and the dev server should not be used to handle real requests in production.

Some more discussion in #2188 and pallets/werkzeug#1313

Makes sense, thanks for the fast response!


xmlClass function

Resurrecting #507, and possibly a part of #1437 in the current architecture (which, by the way, is very pleasant to work with--thanks for your work on that).
These changes might be somewhat naive--I've just added xmlClass as new function (as I did in 507), this time by putting a new file in src/functions/. As I understand it there might be some mechanism for doing this from contrib instead (since it is not standard LaTeX), and additionally something enabling it only in certain non-strict/unsafe modes (since there might be XSS concerns), but that suspicion is just from reading various discussions and I could not find any documentation to elaborate. In particular, I don't claim that this is the final form the change should take, but would like to restart this discussion here.

Referencing the discussion on #1792, it is unclear to me how to access the KaTeX internal objects currently used by this code from contrib.  Currently, these are:

defineFunction and ordargument from defineFunction.js
buildCommon from buildCommon.js
mathMLTree from mathMLTree.js
buildHTML.js
buildMathML.js

Some of these like defineFunction I can expose as katex.__defineFunction, which seems consistent with the mhchem example. And indeed, an approach is just to likewise expose all the other functions I need through katex. I'm happy to do this, but am skeptical that exposing more fragile internal interfaces is a good idea and so am curious what the recommended approach would be?
(For instance, some, like ordargument, I could in principle just reimplement, and some may be accessible by object spelunking, although I didn't identify any obvious paths.)

\class in #1437 seems to have the same function as \xmlClass. We're planning to include it in non-strict mode, but as there is security issues involved and I'm working on refactoring the parser, I'd like to work on those first.

One benefit of implementing this as an extension is as that it side-steps some of the requires of having to check whether the user is using the strict setting or not.

And indeed, an approach is just to likewise expose all the other functions I need through katex. I'm happy to do this, but am skeptical that exposing more fragile internal interfaces is a good idea and so am curious what the recommended approach would be?

I think in the short term this is probably the way to go.  In the future though, we'd like to:

have an intermediate representation between the TeX AST and the HTML tree
standardize our DOM tree possibly using HAST or something very similar

The latter would all you to generate DOM node data structures without having to import our helper functions.

(For instance, some, like ordargument, I could in principle just reimplement, and some may be accessible by object spelunking, although I didn't identify any obvious paths.)

This seems just as fragile with the added disadvantage of being less explicit about depending on internal data structures.

Closing in preference of #2082.


8924 Write a migration to add two new system codes(aarch64 and x86_64)

https://github.com/Shippable/pm/issues/8924
System code group:

code
name
group

8000
x86_64
archType

8001
aarch64
archType

Verified in RC


Exporting a configuration

Should we add a feature to export a configuration given a configuration of micm?

no, by consensus


Files from multiple sources.

Hi @jlesage
Awesome work! Question on the Docker build.
Is there a reason for having three different sources of the needed files:

Some from your own base image.
Some from apt-get in the Dockerfile.
Some copied in from the root dir in this repo.

I'd like to make a  more 'trusted' build, where each file required (apart from the crashplan binary) comes from the official ubuntu apt repositories. Were there issues you encountered that stopped you doing this in the first place? Any pointers?
Thanks.

In fact, this container is not based on Ubuntu, but on Alpine Linux.
This means that most packages used in this container image come from the official Alpine Linux repository.  Some other packages are compiled from source, because they are not available on Alpine repository or the version available have missing fixes, features, etc.
As you mentioned, some libraries are manually installed from the rootfs directory.  This is needed because Alpine Linux implements libc via musl instead of glibc.  CrashPlan binaries being compiled against glibc, incompatibilities occur when it uses shared library that have been built with musl.  For these incompatibilities, I provide a glibc version of them (they come from Ubuntu).

Closing this issue.  Please re-open if needed.


url shortener integration

is there any way to integrate URL shortener using their API
eg: short link before posting to telegram group using bit.ly API or shorte.st API

Probably, but that's not something I am likely to implement. Mostly because it uses markdown anyway, and the full Drive links aren't visible in the Telegram messages.

i see but we can track stats and get more detailed info about mirrored links using shortener bit.ly or similar service like that. this bot is still very useful for me.
thanks in advance

pls don't add ways for people to monetise from this ;_____;


Code of coreference resolution task

Hi,
I was wondering if you could release the code as in section 4.5 coreference resolution?
Thank you!

We use code of WikiCREM to train and evaluate the coreference resolution.
Best,
Deming

Thank you!

Hi,
I wonder if there's a way to run corefBERT on coreference resolution task with my own data. I noticed that the pretrained model is based on huggingface/transformers, while WikiCREM uses torch to load pretrained models.
Thank you!

WikiCREM uses a older version of huggface. Hence, there is a a little difference.


add bytype options for groups

Hi @philgs ,
I thought a grouping by the type of the task would be usefull, to differentiate between user defined tasks and others.
best regards,
Robin

@philgs,
Is there a problem with the PR?

Have not had a chance to review yet, planning to take a look at it over the
weekend.
On Thu, Mar 7, 2019 at 7:41 AM Robin Herbots<EMAIL_ADDRESS>wrote:

@philgs https://github.com/philgs,
Is there a problem with the PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/philgs/grunt-available-tasks/pull/32#issuecomment-470510657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE6zTQCrbziApP7S7rptyvrq3-sjG-uks5vUQj_gaJpZM4bAhCl
.


QUERY LENGTH LIMIT EXCEEDED. MAX ALLOWED QUERY : 500 CHARS

QUERY LENGTH LIMIT EXCEEDED. MAX ALLOWED QUERY : 500 CHARS
Every time the service sends me more than 500 characters I get this error in the response, and there are no errors in the console, how can I solve this problem?

the problem is on my side, sorry.


No commands defined in the "countries" namespace issue

I am using laravel 5.2 (just started learning this framework) and want to use the countries list. I followed the documentation for laravel 5 and when I trying to execute

php  artisan countries:migration

I get this error :

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "countries" namespace

Can you help me get over this issue?
Thanks a lot

From the documentation:

Edit app/config/app.php and add the provider and filter
'providers' => [
  'Webpatser\Countries\CountriesServiceProvider',
]

Add that and you're good to go.

same problem as describe on above the command is not registering for some reason

Run composer dump after adding it.

@webpatser i think this one can be closed.

@wepatser still can't get the "php artisan countries:migration"  to work same error.
"There are no commands defined in the "countries" namespace.
I have tried "composer dump" still nothing happens.

do you register the provider and rund php artisan vonder:publish
2016-08-23 5:56 GMT+02:00 velu76<EMAIL_ADDRESS>
@wepatser still can't get the "php artisan countries:migration" to work
same error.
"There are no commands defined in the "countries" namespace.
I have tried "composer dump" still nothing happens.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/webpatser/laravel-countries/issues/35#issuecomment-241620101,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE6y6YbVc3fjlqtI4NQPLYcUk2LwLAogks5qim9wgaJpZM4HRfmF
.

Yes I did  that, same error no matter how many times I tried.

mee too..

There is kernel.php file inside a console folder, there is commands variable inside kernel.php add your command class there
protected $commands = [
         Commands\Inspire::class,
        Commands\PullScada::class,
    ];

like I have added my command class Commands\PullScada::class,

I was able to do it this way for L 5.5:
app/config/app.php add the provider and alias
'providers' => [
    Webpatser\Countries\CountriesServiceProvider::class,
]

'aliases' => [
    'Countries' => Webpatser\Countries\CountriesFacade::class,
]

Run these artisan commands:
$ php artisan cache:clear
$ php artisan config:clear
$ php artisan config:cache
$ php artisan vendor:publish and select the provider to publish

$ php artisan countries:migration
If you get this error:
[ReflectionException]
Method Webpatser\Countries\MigrationCommand::handle() does not exist

Edit vendor/webpatser/laravel-countries/src/commands/MigrationCommand.php > change public function fire() to public function handle()
See: https://github.com/webpatser/laravel-countries/issues/70
$ php artisan countries:migration
$ composer dump-autoload
$ php artisan migrate --seed


Update DebugText with non-parenthesized range

Summary
This PR fixes the DebugText implementation to use the expression range instead of the parenthesized range.
Test Plan

Add a test case for the parser
Add a test case for the generator

Can you add a short explanation why it should use the expression range instead of the parenthesized range?


Possible bug with option specs

I've discovered something which violates the Principle of Least Surprise and think that it may be a bug.
I have a spec which looks like this:
cmd.Spec = `[--cluster=<value> [--only-env=<value>] | --all]`

When I run the command with an option, I get the following:
$ mkit module newrelic plan --all
Error: incorrect usage

Usage: mkit module newrelic plan [--cluster=<value> [--only-env=<value>] | --all]

Executes `terraform plan` for the specified Terraform module.

Options:
  -c, --cluster    The friendly name of the cluster that you want to execute against. (Not compatible with --all.)
  -e, --only-env   Used for limiting the execution to a single environment. (Not compatible with --all; requires --cluster.)
  -a, --all        Execute for all clusters at once. (Not compatible with --cluster.)

However, if I reverse the top level options in a way that is semantically identical:
cmd.Spec = `[--all | --cluster=<value> [--only-env=<value>]]`

…it works without issue.
I've read through the text about this in the README, and I didn't find this specifically called-out. As a result, I think it's a parser issue. It's taking position into account in a place where it shouldn't.

@skyzyx Here's how mow.cli parses the spec string [--cluster=<value> [--only-env=<value>] | --all]:

However,by adding parenthesis to get this spec string: [(--cluster=<value> [--only-env=<value>]) | --all], this nudges the parser into what you want:

You are right that the doc does not explain precedence/associativity rules, which needs to be fixed.

Ahhh. I had assumed that the left side of | was auto-grouped.
[ natural-group-1 | natural-group-2 ]


extract Just related duplicated code

I found there are many places using the same code like below.
function Just(x) { this.value = x; }
Just.prototype.equals = function(x) {
  return x instanceof Just && R.equals(x.value, this.value);
};

I think we can extract the common part and create a Just | Nothing in shared folder just like Maybe.
Tell me your opinion.
Thanks!

It's definitely worth cleaning up this repetition.
But I wonder if it can be done more simply, using the existing Maybe implementation. I haven't tested (and won't be able to for some hours) but couldn't we just (ahem) do
var {Just} = require('./shared/Maybe.js');

? Just is already a property of (and subtype of) Maybe. Ideally we should simply be able to use it directly. And if it doesn't work, can we fix Maybe so that it does?

@CrossEye Yes you are right!
I can simply use Maybe.Just and Maybe.Nothing.
Changed codes.

This looks great and is definitely worth doing.
My only question is whether we want
var Maybe = require('./shared/Maybe.js');
// ...
    eq(R.difference([new Maybe.Just([42])], [new Maybe.Just([42])]).length, 0);

or
var {Just, Nothing} = require('./shared/Maybe.js');
// ...
    eq(R.difference([new Just([42])], [new Just([42])]).length, 0);

This looks great and is definitely worth doing.
My only question is whether we want
var Maybe = require('./shared/Maybe.js');
// ...
    eq(R.difference([new Maybe.Just([42])], [new Maybe.Just([42])]).length, 0);

or
var {Just, Nothing} = require('./shared/Maybe.js');
// ...
    eq(R.difference([new Just([42])], [new Just([42])]).length, 0);

@CrossEye
I am okay with both.
But if we use
var {Just, Nothing} = require('./shared/Maybe.js');

we need to change all
var Maybe = require('./shared/Maybe.js');
// To
var {Maybe} = require('./shared/Maybe.js');

I don't think that would be necessary.  If I remember correctly, Maybe is a constructor function but also a namespace for Just, Nothing, of, etc.
But let's leave it as is for now.  There is some benefit to Maybe.Just as it makes the relationship a little clearer.

Any other comments, @ramda/core ?

Nope. Looks fine by me.
On Wed, 27 Apr 2022 at 13:30, Scott Sauyet @.***> wrote:

Any other comments, @ramda/core https://github.com/orgs/ramda/teams/core
?
—
Reply to this email directly, view it on GitHub
https://github.com/ramda/ramda/pull/3276#issuecomment-1110942646, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFGP5Z27SD73CKZMQP7XCLVHEXMZANCNFSM5UINOBEQ
.
You are receiving this because you are on a team that was mentioned.Message
ID: @.***>

--
Julien Gonzalez

Sorry I are right, I will do the commit

I made the changes, happy to see it looks clean now.


Impossible to create new profile

I had try 426 ways all the time I had try to do it's said Invalid session

The version is  of fivem artifact:3854

I have this same issue. fresh server running on my local PC for testing stuff before pushing to live and cant get tx to let me set it up

Please remember to use the Discord for support, there is fix which can be found pinned in the support channel

I am ban from the discord server so I can't acess🙄
-------- Message d'origine --------De : Danish Khan @.> Date : 2021-04-24  18 h 19  (GMT-05:00) À : tabarra/txAdmin @.> Cc : Kathou99 @.>, Author @.> Objet : Re: [tabarra/txAdmin] Impossible to create new profile  (#329)
Please remember to use the Discord for support, there is fix which can be found pinned in the support channel
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.


fix NPE that can occur for null dates

I know #310 was recently merged and closed, but I just made an additional change to fix a problem I noted when null dates are in the data. A check for null needs to be done. Let me know if I need to create a separate issue or if you can just merge this.

I created #361 for this issue since #310 was closed.

this PR includes all the commits that are already merged in master.

Yes, I synched with the master and merged them in. Wasn't I supposed to? Not sure what I am supposed to do now. In any case, this is the change I would like on master:
https://github.com/databricks/spark-csv/pull/360/commits/c4e09b145a8b1dc07d986e2c1d415cbadd4035a8

@barrybecker4 tests are failing.

[Current coverage][cc-pull] is 86.72%

Merging [#360][cc-pull] into [master][cc-base-branch] will increase coverage by 0.02%

@@             master       #360   diff @@
==========================================
  Files            12         12
  Lines           549        550     +1
  Methods         453        449     -4
  Messages          0          0
  Branches         96        101     +5
==========================================
+ Hits            476        477     +1
  Misses           73         73
  Partials          0          0

Powered by Codecov. Last updated by [6290b6c...aff5a2e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/databricks/spark-csv/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/databricks/spark-csv/compare/6290b6c9c282c738592eaf865e867aa2d9c861fb...aff5a2e0156104f1ada8c70903ab91b04a02316d?src=pr
[cc-pull]: https://codecov.io/gh/databricks/spark-csv/pull/360?src=pr

OK. Fixed the tests. When I modified the data file, I needed to fix the read tests and not just the write tests. BTW, when I run the tests locally I see some failures when I run the CsvSuite tests. The errors are all of the form
{code}
Failed to delete: C:\work\spark-csv\target\test\empty
java.io.IOException: Failed to delete: C:\work\spark-csv\target\test\empty
{code}
It probably has something to do with running on windows.

OK. Added the braces.

I added the braces for the if/else. There was no style warning, so I didn't think it was required.


Travis CI and license shield added

Travis CI build status and license shield added to the Readme.

Yes, that's what I meant. Is there also a shield to monitor if the tests are passing?

The travis provides only the final build result. Maybe there's a 3rd party integration for this, but unfortunately I don't know one.

Oh, do you mean that a build passing includes the fact that the tests are passing (I see that the last line of the travis yaml file launches the tests)?

Build in this case refers to all steps of the travis yml, at the moment this includes compilation and the unit tests.
The build shield shows the overall build status, if there's eg. a failing unit test or a compilation failure of one compiler it's going to show a red failure.

Awesome. Thanks a lot for the PR!


Write tests for every message type

Writing tests isn't my hobby and it shows. We should write more tests to see if every message type generates the desired messages.

Done, and it should be up-to-date now.


feat(tracing): Add 'RequestHook'

What this PR does / why we need it:

feat(tracing): Add 'RequestHook'

Which issue(s) this PR fixes (optional, close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
/assign @kdada
/assign @ddysher
Release note:

NONE

@yejiayu
What's the next?


Add option to choose home directory

Is your feature request related to a problem? Please describe.
I frequently open the user home directory, e.g. C:\Users\{Name} or ~.
Describe the solution you'd like
Change Home to go to user home directory instead of the dashboard...  or provide an option in settings to disable the dashboard.
Describe alternatives you've considered
Bookmarks as described in https://github.com/files-community/Files/issues/3150 would also allow for this access pattern.
Additional context
The contents of the current dashboard isn't very useful as I can access the Folders and Drives from the sidebar. Recent items could also move into the sidebar as suggested in https://github.com/files-community/Files/issues/2718

What about having a Json file of "shortcuts" that the user can set for use in the path bar? Something like this:
[
  {
    "Name": "Home",
    "Path": "%userprofile%"
  },
  {
    "Name": "importantfolder",
    "Path": "D:/folder/folder/important/"
  },
]

Also, I know this isn't the solution your looking for, but for the time being you can type %userprofile% in the path bar to get to your user folder.

What about having a Json file of "shortcuts" that the user can set for use in the path bar? Something like this:
[
  {
    "Name": "Home",
    "Path": "%userprofile%"
  },
  {
    "Name": "importantfolder",
    "Path": "D:/folder/folder/important/"
  },
]

Also, I know this isn't the solution your looking for, but for the time being you can type %userprofile% in the path bar to get to your user folder.

Is it not enough to pin the user folder to the sidebar?

Is it not enough to pin the user folder to the sidebar?

I was disappointed to see this wasn't an option.
As a primarily Linux and macOS user, the clumsy way Windows handles the home directory, and its inconsistent navigation (go up taking you to 'This PC' or 'Desktop' rather than real FS location) were some of the reasons I want to use a different file manager.
Pinning to the sidebar would be acceptable if:
a) we could reorder the items, and
b) we could set aliases
But honestly I'd love a setting that let us have the "Home" link just go to %userprofile% instead; and maybe introduce something like "This PC" instead for the existing view.

We don't have plans to let users choose the home directory as we treat the home page as a directory of it's own, however, #6478 will allow you to remove the home page from the sidebar.


[FEATURE] Harvester Terraform improvements to allow Harvester configuration in conjunction with bare metal provisioning

Is your feature request related to a problem? Please describe.
Currently building Terraform to spin up bare metal hardware on Equinix to run Harvester. Terraform will install Harvester using ipxe and integrate it into Rancher. The next step is to configure Harvester - adding images, vlan networks, ssh keys, etc. This is does not seem possible for several reasons. In the terraform plan phase, the Harvester provider tries to connect to Harvester, but at this point, the hardware has not been provisioned and Harvester is not installed. The provider also attempts to read the kubeconfig for Harvester from a file, again which is not created yet.
Describe the solution you'd like

Option to skip calls to the Harvester kubeapi server during terraform plan
Option to use a variable's content for kubeconfig instead of a file, for example:

provider "harvester" {
 kubeconfig_from_var = rancher2_cluster.rancher_cluster[0].kube_config
}

Describe alternatives you've considered
While not attractive, could have two separate terraform layers instead of a single layer.
Additional context
See https://github.com/rancherlabs/harvester-equinix-terraform

Maybe #2198 can help here. cc @ibrokethecloud

@yasker Any news about this ? I am still having the terraform plan issue in June 2024.


Communication: Same thread displayed when switching to another

Describe the bug
I was seeing some messages in the orga-questions channel, when I clicked on a reply to a thread, the thread page is pop out on the right to show me the further replies. However, when I click on the Show 1 reply of another thread, the thread page displayed the previous message and does not update to the latest thread that I've clicked, the only things that were updated are the number of replies and also the person that post the thread. Note: Clicking the refresh button doesn't solve the bug as well. To solve this, I've have to close the thread window and click on the Show 1 reply again to display the corresponding thread.
To Reproduce

Go to orga-questions channel on ITP WS24/25 course
Click on one Show x reply
Scroll to any other thread
Click on another Show x reply
Notice that the person and number of replies is updated in the Thread window but not the Thread's message

Expected behavior
It should display the corresponding thread message by the updated person alongside with the updated amount of replies.
Screenshots
Here's the original thread

Here are the "updated ones" upon clicking show x reply of another thread

Which version of Artemis are you seeing the problem on?
7.7.3
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
No response

Hi, thanks for the feedback! This is a duplicate of #9754. It's already being worked on 😄


MySQL CDC datetime and RW timestamp type incompatibility

Describe the bug
I tried to use RW timestamp to sync MySQL datetime from MySQL CDC. But I got the following result. Other normal values like 2001-01-01 23:59:59 can be synced properly.
In MySQL:
mysql> select c_datetime from mysql_all_types;
+---------------------+
| c_datetime          |
+---------------------+
| 1000-01-01 00:00:00 |
| 1000-01-01 00:00:00 |
| 9999-12-31 23:59:59 |
+---------------------+
3 rows in set (0.00 sec)

In RW:
dev=> select c_datetime from mysql_all_types;
       c_datetime
-------------------------

 1978-01-11 21:31:40.799

(3 rows)

Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
nightly-20231121
Additional context
No response

cc: @xiangjinwu,
Is it related to the PG CDC's ce/epoch issue https://github.com/risingwavelabs/risingwave/issues/13486?

No. It is related to https://github.com/risingwavelabs/risingwave/issues/8359#issuecomment-1455769049 (#6318)

Other normal values like 2001-01-01 23:59:59 can be synced properly.

https://github.com/risingwavelabs/risingwave/issues/8359#issuecomment-1455769049

Note that if you are ingesting data of type timestamp or timestampz in RisingWave, the upstream value must be in the range of [1973-03-03 09:46:40, 5138-11-16 09:46:40] (UTC). The value may be parsed and ingested incorrectly without warning.


May 2nd, 2022 Community Meeting

Please add a topic in this thread and add a link to the GitHub issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on GitHub before coming into the meeting
(optional) Paste the image of an animal 😸

Discuss on moving out of alpha -> beta -> v1. We need to conclude on when to do this.
Feature Request https://github.com/shipwright-io/build/issues/1051
🪲

Announce: Shipwright now available as an OpenShift Community operator.
Slightly related - https://github.com/shipwright-io/operator/issues/71, which probably warrants a "0.9.1" release for the operator.

Minutes:

When are we going to have a beta API? What are we missing?

Implementation for spec.sources[]
Triggers - also needs to be in there
Output tag policies
Enrique will open a milestone for beta so that we can track what is missing. I think we can associate issues to more than one milestone

Feature request - multiple outputs

Can we support multiple destinations?
Do all tools support this?
Managed push may allow this to happen.
Challenge: authentication for multiple registries.
Mirroring with the Image operator may be a more appropriate solution for the use case

Operator - on Shipwright community operators!

Bug - Adam was iterating on a fix

Security fixes

Red Hat has a grading for severity, SLAs for providing fixes.
Depandabot - working for build, we should turn this on for cli, operator


Skip sorting inventory after trade

https://github.com/Nicklason/tf2-automatic/issues/280

@ZeusJunior you can just merge it when it has been approved


:memo: Fix contribution guide URL; add update congo info

Hi! Like other contributors here, I'm using your template for my own site (to be deployed). I'm new to contributing, so please let me know if I need to change anything with how I'm doing this.
Thanks,
M

Hey @myriahnottage, thanks for these suggestions. The URL change is fine (thanks for finding it!) but the update instructions probably need to cater to a broader audience. The issue is that people can install the theme many different ways and these instructions assume they have installed it using Hugo Modules.
I usually use the command hugo mod get -u which will automatically find the latest version of any installed modules. Is there a particular reason you use the go command instead? I wonder if this is why you were seeing the error message about the invalid version.
And on the contributing... it looks like you created a pull request on your fork which is not something you generally need to do (that's why there's two commits appearing above). For this particular project too, you should also use Gitmoji at the start of each commit message.

Hey @myriahnottage, thanks for these suggestions. The URL change is fine (thanks for finding it!) but the update instructions probably need to cater to a broader audience. The issue is that people can install the theme many different ways and these instructions assume they have installed it using Hugo Modules.
I usually use the command hugo mod get -u which will automatically find the latest version of any installed modules. Is there a particular reason you use the go command instead? I wonder if this is why you were seeing the error message about the invalid version.
And on the contributing... it looks like you created a pull request on your fork which is not something you generally need to do (that's why there's two commits appearing above). For this particular project too, you should also use Gitmoji at the start of each commit message.

Ooh that makes sense, I was definitely struggling to get hugo to run today, but it looks like I forgot to NOT commit the .DS_Store files that can appear from macs >.<
At any rate that particular issue seems to be resolved for now. I'll investigate a bit more tomorrow and possibly add a call out, though mac users in general may generally already be in the know about that.
Just to clarify on gitmoji -- I see now that others added them to actual commit messages, not just the PR description. Thanks for the reminder! I'll go ahead and close this out to get those gitmojis in there!


Update this page

Can we please update this page as it is referring to old classic AIP portal and some old UI from MDE settings as well?

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

ID: dfe25bce-8af4-4326-f256-aa287b4c40df
Version Independent ID: 3b6435b3-eba4-bb45-99b5-806b52bb4fe3
Content: Information protection in Windows overview
Content Source: microsoft-365/security/defender-endpoint/information-protection-in-windows-overview.md
Product: m365-security
Technology: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@msbemba

@mjcaparas Please help us in resolving this issue. Thanks

This feature has been deprecated. Will deprecate page as well.


Transactor: GetWalletStatus

Returns whether or not the private key is set on the Transactor.

Related to #411

Fixed via #450


Treat files containing invalid byte sequences as non-matches

If a file path contains a non-UTF8 character and we are matching
against a regular expression, an ArgumentError is thrown,
failing the entire operation. Since it is not even a valid byte
sequence for the encoding, we can assume it is not a match and
return false instead.
With this change, if there are paths on the file system that are not
valid UTF-8 we will just treat them as not matching the
regular expression and continue processing instead of failing
with an exception.

Before submitting the PR make sure the following are checked:

[x] Wrote [good commit messages][1].
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

Your change should be accompanied by a changelog entry.

@bbatsov thanks for the 👀 ! I've addressed your feedback, feel free to take another look when you get a chance.

👍


GO:0003916 DNA topoisomerase activity - remove EC xref

Current xref on GO:0003916 DNA topoisomerase activity is EC:5.6.2.-
EC:5.6.2.- is actually a grouping term in EC for "Enzymes altering nucleic acid conformation":
https://enzyme.expasy.org/EC/5.6.2.-
The group only contains DNA topoisomerase activities according to SIB Expasy, but Kristian has told us that site is out-of-date, and I see at ExplorEnz that DNA helicases (at least) are being moved into the 5.6.2.- class:
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
So EC:5.6.2.- should be removed from GO:0003916 DNA topoisomerase

Thanks for this @sjm41
Can you clarify:
Are these going to be obsoleted?
<IP_ADDRESS>      DNA topoisomerase
<IP_ADDRESS>      DNA topoisomerase (ATP-hydrolyzing)
GO:0003678 DNA helicase activity is already mapped to EC:<IP_ADDRESS>
and many 3.6.4 are being transferred, it looks like:
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>      Vesicle-fusing ATPase
<IP_ADDRESS>      Peroxisome-assembly ATPase
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>      Transferred entry: <IP_ADDRESS>
<IP_ADDRESS>     Non-chaperonin molecular chaperone ATPase
<IP_ADDRESS>     Deleted entry
<IP_ADDRESS>     DNA helicase
<IP_ADDRESS>     RNA helicase

Can you clarify:
Are these going to be obsoleted?
<IP_ADDRESS> DNA topoisomerase
<IP_ADDRESS> DNA topoisomerase (ATP-hydrolyzing)
No, I believe these are stable.
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
But the DNA helicase EC has already been transferred (just not shown on EXPASY site):
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
(that needs a separate ticket - I'll make that now.  I was waiting for a similar change for the RNA helicase term, but I don't see it yet....)
This ticket is just for removing EC:5.6.2.- from GO:0003916 DNA topoisomerase

But since GO:0003916 DNA topoisomerase
is the parent for type 1 and type 2
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>
It would be consistent with our practices in other branches of the ontology to keep it, wouldn't it?

OK yes, thanks!!


Spring Data JPA doesn't work on gcp flexible environment.

I added a controller in "spring-cloud-gcp-data-jpa-sample" project.
When I use Controller instead of CommandLineRunner, it doesn't work on gcp flex environment.
It increases instances continuously or keep dropping instances and run start script again.
Is this a known issue?
`
@RequestMapping("/demo")
public class HouseController {
private static final Log LOGGER = LogManager.getLogger();

@Autowired
private HouseRepository houseRepository;

@GetMapping("")
String house()  {
	this.houseRepository.deleteAll();

	Stream.of(new House("111 8th Av., NYC"),
			new House("636 Avenue of the Americas, NYC"),
			new House("White House"),
			new House("Pentagon"))
			.forEach(this.houseRepository::save);
	String res = "Number of houses is " + this.houseRepository.count();
	LOGGER.info(res);
	this.houseRepository.findAll().forEach(house -> LOGGER.info(house.getAddress()));
	return res;
}

}
`

It looks like your Flex instance is just running out of memory.
Try adding more memory.
In app.yaml:
resources:
  memory_gb: 4

@meltsufin
That's the one I should know. It works now.
Thanks a lot.


Warn against using this module

Since the module is no longer needed, the README should make clear that this module is not needed for new projects with recent AWS SDK versions.

I agree that it would be good to communicate that the types are currently out of date - this is something I intend to fix, though can't commit to a timeline - so I'll gladly add a notice to the README.
However, I wouldn't say that this module is "not needed". The AWS SDK doesn't ship with Flow types, only TypeScript definitions. As long as this is the case, there is room for a 3rd party library of Flow definitions to fill the gap.


Odd behavior for disabled in arrays (setting model)

Since 5.10.20 there is a regression in how disabled behaves for arrays.
There are different scenarios, a description you find in the file.
https://stackblitz.com/edit/angular-mjbvnf-azpgeu?file=src%2Fapp%2Fapp.component.ts
Also question:
At fields load, f1->disabled=true, s3->disabled=false gets disabled, is this wrong or as intended ?
https://stackblitz.com/edit/angular-mjbvnf-ge9ysl?file=src%2Fapp%2Fapp.component.ts
I had a similar problem for records, which was fixed:
https://github.com/ngx-formly/ngx-formly/issues/1743
https://github.com/ngx-formly/ngx-formly/issues/2907

Angular version: 12.2.16
Formly version: 5.10.31

@aitboudad
Thanks for the fix.
Is the following as expected, a child disabled setting is ignored when field disabled= true ?
And, at a model change, the field disabled=true is again propagated to the children ?
  it('should keep disabled state of field group consistent after detect changes - 3', () => {
    app = {
      fields: [
        {
          key: 'f1',
          templateOptions: { disabled: true },
          fieldGroup: [
            { key: 's1', templateOptions: { disabled: true } },
            { key: 's2', templateOptions: { disabled: false } },  // this setting is ignored
          ],
        },
      ],
      form: new FormGroup({}),
      options: {},
      model: {},
    };

    const fixture = createTestComponent('<formly-form [form]="form" [fields]="fields" [model]="model" [options]="options"></formly-form>');

    let field = fixture.componentInstance.fields[0];
    expect(field.templateOptions.disabled).toEqual(true);
    expect(field.fieldGroup[0].templateOptions.disabled).toEqual(true);
    expect(field.fieldGroup[1].templateOptions.disabled).toEqual(true); // ignored setting

    field.fieldGroup[1].templateOptions.disabled = false;
    expect(field.fieldGroup[1].templateOptions.disabled).toEqual(false); // correct

    fixture.componentInstance.model = {};
    fixture.detectChanges();

    field = fixture.componentInstance.fields[0];
    expect(field.templateOptions.disabled).toEqual(true);
    expect(field.fieldGroup[0].templateOptions.disabled).toEqual(true);
    expect(field.fieldGroup[1].templateOptions.disabled).toEqual(true); // ignored previous set disabled=false
  });

Is the following as expected, a child disabled setting is ignored when field disabled= true ?

That's expected, when parent field (with key) is disabled, child must be disabled as well.

@aitboudad
Thanks for your reply.
Looking forward for an updated release.

This issue has been fixed and released as part of v5.10.32 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


Crash fix for mp_important color

Fix mp_important color to be more safe, and leverage CoreGraphics instead of hard coded magic numbers.
Resolves #450

Looks good!


Add Rails 8 authentication generator

Fixes https://github.com/rspec/rspec-rails/issues/2810.
Problem
When running Rails 8's bin/rails generate authentication, generation ends with with the following error: error  rspec [not found].
This is because the Rails AuthenticationGenerator contains hook_for :test_framework, which calls rspec-rails, but it errors out since rspec-rails does not have an authentication generator.
Solution
Add authentication generator that creates a user test and possibly a fixture, similarly to Rails' TestUnit::Generators::AuthenticationGenerator. The fixture is basically the same as the Rails one except that it has a comment similar to rspec-rails' model fixture.
An alternative solution could be to somehow disable the authentication generator for rspec-rails so nothing is generated while not having any errors. This might be a viable option if Rails adds more generators in the future and playing catch-up is undesired.

I am not able to run specs on my local because I get the following error on bundle install (unrelated to this PR):
Fetching https://github.com/rspec/rspec-support.git
Fetching https://github.com/rspec/rspec-mocks.git
Fetching https://github.com/rspec/rspec-expectations.git
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Could not find compatible versions

Because every version of rspec-expectations depends on rspec-support = 3.14.0.pre
  and every version of rspec-core depends on rspec-support = 3.8.pre,
  every version of rspec-expectations is incompatible with rspec-core >= 0.
So, because Gemfile depends on rspec-core >= 0
  and Gemfile depends on rspec-expectations >= 0,
  version solving has failed.

I just pushed a tentative fix that probably won't work, but at this rate it will take a lot of time to fix tests if someone needs to approve every time I push. I am open to suggestions.

Fixed my unit test; I believe it should work this time.

There is an unrelated Rails 7.2.0 spec failure about scaffold_generator_spec.rb:69, and the same test is currently failing on the main branch.
So it seems that this PR is good to go, tests-wise.

I think this is a good start, I'm sort of wondering if it makes sense to add some scaffold specs showing that login works but I think I'm right in thinking the generator as is doesn't generate any tests at all?

I think I'm right in thinking the generator as is doesn't generate any tests at all?

Correct, I was a bit surprised by this, but the Rails 8 generator doesn't generate any controller tests or integration tests or anything. The only test it generates is an empty test/models/user_test.rb ActiveSupport::TestCase, and a fixture.
I think that if Rails generates more tests in a future version, such as login tests, then we should do the same in rspec-rails.

Thanks!


DependencyContextJsonReader performance on startup

Starting the "MvcSandbox" MVC sample with Kestrel and the Visual Studio Profiler attached (in Release of course).
Here is the top most used functions on my computer.

The "deps.json" file loading takes a large part of the startup time.
After analyzing Microsoft.Extensions.DependencyModel.DependencyContextJsonReader, I have seen that it uses the Json.Net JObject.Load() method.
To compare, I have rewritten the class from scratch by using only the low level JsonTextReader class.
For a 330KB file loaded 100 times from a string (to avoid hard disc loading overhead):

Current implementation: 1557ms
JsonTextReader implementation: 576ms

@Yves57 thanks for providing data! @pakrym was about to start looking at the dependency context, hopefully you two can share some notes.
Would it be possible to upload the .vspx somewhere? I'd like to take a look

Maybe I can attach the file to the Github issue (5 MB)? Otherwise I will try with my OneDrive account.
I can give you my implementation source code too (the DependencyContextJsonReader tests from the CLI module are ok).

@Yves57 Please open a PR for DependencyContextJsonReader on CLI repo

I have tried to get a working CLI solution, but I have several problems specific to this solution (no problem for MVC or FileSystem for example). In particular, the solution does not compile with several mysterious messages "An item with the same key has been already added", an few other problems.
To pass the DependencyContextJsonReader "offical" tests, I had to copy/paste the source code in an other solution. So I cannot be sure that there is no regression otherwise (the code was sometimes tricky to analyze!).

If you want to just open a PR on dotnet/CLI, in whatever state the code is in currently, Pavel can take care of the details. We want to be really careful not to introduce regressions in this code.

MvcSandbox.zip
And here is the VSPX.

Thanks so much for all of this.
If you're using the VS profiler make sure to turn off "Just My Code" - yes, the profiler has it's own just my code setting

Show All Code on the right
This is what I see in the functions window after turning that off:

Sorry!
I was surprised too see a so important percentage while my performance tests show about 15ms to load the "deps.json" file.
I propose to improve the performances of 2% of the startup time. Awesome :-).

We still definitely care about this :+1: The impact of improving parsing deps.json is much larger on sites with more dependencies.
I just wanted to point out a gotcha with the VS profiler.

Closing this one because there's a CLI issue for it.


deepin.qcef: remove

Motivation for this change
No package in nixpkgs depends on qcef yet. It was a dependence for the forthcomming deepin-manual package. But that has changed upstream and its repository has been archived.
Things done

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

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

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

Closing, because there is a package that depends on qcef.


Props to show hide labels

Hi @davidchin! Another PR, this time to make the showing or hiding of labels configurable. It is in the same vein as #24 but with more granular controls and on the refactored code base.
Hope this helps!
Thank you!

Thanks for your work! However, I think hiding/showing labels should be done using CSS instead. Can you achieve the same result using CSS?

@davidchin Good question, theoretically you can but with two drawbacks.

Its harder if you want more fine-grained programmatic control based on certain conditions. CSS mostly allows for a blanket show or hide option.

You can mitigate the above if you are using CSS-in-JS solution or passing explicit style attribute but both those solutions aren't necessarily the cleanest or the most declarative.

Thoughts?

Hey @oyeanuj, thanks for your reply! Few good points there. However, I still think controlling the visual appearance of a component should be done using CSS. I'm saying this because, if the visibility of every child element can be controlled using props, then I have to introduce a lot of boolean flags, not only the ones you've added in this PR. I want to avoid that if possible.
If you want to hide certain labels based on the model value, perhaps you can set a formatLabel function and return an empty string conditionally. I think formatLabel has two parameters - value and type. So you can definitely try using that to hide a certain label from the user.
One thing I haven't done is that if formatLabel returns undefined or a blank string, Label still gets rendered. So what you might want to add/change is to only render Label in DOM if there's something to display.

@davidchin Thanks for the reply. So would you accept a PR that makes the following change?

One thing I haven't done is that if formatLabel returns undefined or a blank string, Label still gets rendered. So what you might want to add/change is to only render Label in DOM if there's something to display.

Can we please have an example CSS to hide the labels? Thank you!

Here is my solution to the problem, using formatLabel prop:
formatLabel={(value, type) => {
  if (["min", "max"].indexOf(type) > -1) {
    return "";
  } else return value;
}}


Vim9: no error for shadowing script-local variable with block-local iteration variable

Describe the bug
In Vim9 script, no error is given when we shadow a script-local variable with a block-local iteration variable.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    var n: number
    for n in range(3)
    endfor
EOF
)

No error is given.
Expected behavior
An error is given:
E1017: Variable already declared: n in range(3)

Environment

Vim version: 8.2 Included patches: 1-3107
OS: Ubuntu 20.04.2 LTS
Terminal: XTerm(353)

Additional context
No issue in compiled code:
vim9script
def Func()
    var n: number
    for n in range(3)
    endfor
enddef
defcompile

E1017: Variable already declared: n in range(3)

No issue in compiled code:

I mean an error is given, but it's expected, because shadowing is disallowed.  However, it seems inconsistent for the same code not to give any error once we run it directly at the script level.


registration availability check added

GET /_matrix/client/r0/register/available endpoint from Matrix API implemented in the sdk

Replaced by https://github.com/vector-im/element-android/pull/3084. Thanks @pepperoni666 !


Error in Bicep code for Microsoft.Web/sites/config Template

https://docs.microsoft.com/en-us/azure/templates/microsoft.web/2020-09-01/sites/config-appsettings?tabs=bicep
Little code bug in bicep code
'Microsoft.Web/sites/config@appsettings'
should be
'Microsoft.Web/sites/config@{version}'
'Microsoft.Web/sites/config@2020-09-01'

@sammydeprez Thanks a lot for bringing this to our notice, assigned this issue to our document author @tfitzmac to further review the feedback and update the document as needed.

@sammydeprez - thanks for making me aware of this error. It looks like our conversion tool did not properly handle these variations of config. I'll fix the Bicep code.

Update was published.
#please-close


openvpn data connector

Required items, please complete
Change(s):

Added data connector
Added product parser
Added parser schema file
Added raw event samples

After deploying the data connector looks fine

Parser also looks good


v1.6.9rc1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

2022-11-30T17:05:42.4257669Z + pip check
2022-11-30T17:05:43.6601829Z lmfit 1.1.0 has requirement asteval>=0.9.28, but you have asteval 0.9.27.
2022-11-30T17:05:45.4033473Z Tests failed for apstools-1.6.9rc1-pyhd8ed1ab_0.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
2022-11-30T17:05:45.4035455Z WARNING:conda_build.build:Tests failed for apstools-1.6.9rc1-pyhd8ed1ab_0.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
2022-11-30T17:05:45.4341392Z TESTS FAILED: apstools-1.6.9rc1-pyhd8ed1ab_0.conda
2022-11-30T17:05:51.6377948Z ##[error]Bash exited with code '1'.
2022-11-30T17:05:51.6420408Z ##[section]Finishing: Run docker build


Work around file size issues at 32 Bit systems

Replace stream_copy_to_stream with a chunked process, to handle file sizes hat do not fit into an integer.
Implementation according to http://php.net/manual/en/function.stream-copy-to-stream.php#98119, proposed and implemented by https://github.com/rikmeijer in https://github.com/nextcloud/server/issues/1707#issuecomment-291835214.

Filed a php bug https://bugs.php.net/bug.php?id=74395

@evert what do you think of that 'workaround'  ?
The topic was now discussed here: https://bugs.php.net/bug.php?id=74395, but it seems like this won´t be changed.

I guess we could also detect 32 bit builds an use the workaround only there. That way 64bit builds would not suffer from this workaround (perf wise)

Good idea, relating to PHP_INT_SIZE. I would not mind it being (if even noticeable) slower on 32 Bit.

Is there any plan to merge this update ?
Otherwise please close.

solves:
https://github.com/owncloud/core/issues/23788
and
https://github.com/nextcloud/server/issues/1707

Please make the workarround 32bit only and I will merge this PR

Thanks a lot !
I updated the request accordingly:
https://github.com/fruux/sabre-http/pull/74/commits/059b6800b51065aa5df1cb99fa87094868eb7c90

merged and release 4.2.3

Thank you!


startupcmds requires tmux to be open

cmd = j.tools.startupcmd.get("hamada")
cmd.start_cmd = "nginx -c ~/sandbox/cfg/nginx/main.conf"
cmd.start()

it works without problems when i manually start tmux

PR : fix this issue at this PR https://github.com/js-next/js-ng/pull/278

verified


Added name to README.md

We can discuss how I made my changes in the Master first ..ooops.... I got there in the end tho! lol

It did not say to merge - so I didnt...


Update README.md

I would also highly appreciate it, if the authors could also cite the related work that also addressed this problem previously in their paper.
In our paper, we propose and evaluate a framework that enables building complex workflows, one of which is writing a paper: https://arxiv.org/abs/2402.00854
Here is the benchmark with the paper generation workflow: https://github.com/ExtensityAI/benchmark/blob/main/src/evals/eval_computation_graphs.py#L551
Here are some samples: https://drive.google.com/drive/folders/1KZmWsos07xg9p6JEVgXi5YZJzG36GvrG?usp=sharing

Hi, thanks for linking us your paper we will cite and discuss this in the updated version of our paper :)

Thank you for following through with the citation. If you wish to collaborate in the future on research automation at ExtensityAI we have a dedicated team on that matter.