Some modification for tflite GPU delegate

I find some bug during programming. But I am not sure if these are right way to fix them, so I list them here first.
System information

Mobile device  MTK mobile device.

Details

When a model has the structure that a Div followed by a Conv2D, and feature map has 3 channels. In this situation, I would get a all-nan output.
file tensorflow/lite/delegates/gpu/common/tasks/conv_powervr.cc:
in line 857,

-        for (int ch = 0; ch < 4; ++ch){
+        for (int ch = 0; ch < (input_ch < 4 ? input_ch : 4); ++ch) {

in line 1043:
-        conv_core(0);
+        conv_core(0, input_ch);

in line 1046:
-         conv_core(i * block_size.w * 4);
+         input_ch -= 4;
+         conv_core(i * block_size.w * 4, input_ch);

Where input_ch represents the input channel number, which is 3 in this situation.
This modification will prevent zeros in channel 4, which is padded by GPU device for alignment, getting into calculation process.

When a conv2D op receive a dynamic weight as its second input, it will resullt in wrong padding.
file tensorflow/lite/delegates/gpu/common/model_builder.cc
line 531, add this two lines after RETURN_IF_ERROR(reader->AddInput(node, 1)):

+          attr.weights.shape.h = graph->FindInputs(node->id)[1]->tensor.shape.h;
+          attr.weights.shape.w = graph->FindInputs(node->id)[1]->tensor.shape.w;

This modification will provide shape information for padding, which is in line 542:
UpdatePadding(tf_options->padding, graph->FindInputs(node->id)[0]->tensor.shape, &attr);

When a model has the structure that a Div followed by a Sub, and feature map has batch greater than 1, for example, feature map is in shape 64x1. This will cause a calculation error.
file tensorflow/lite/delegates/gpu/common/tasks/elementwise.cc, function CreateElementwiseTwoInput:

-        const std::string x_coord = shape.w == 1 ? "0" : "X_COORD";
+        const std::string x_coord = (definition.IsBatchSupported() ? shape.w * shape.b : shape.w) == 1 ? "0" : "X_COORD";

Hi @njuhang ! Could you also update the template with sample stand alone codes to help investigate the above bugs? Thanks!

Sorry, I don't know what  template with sample stand alone codes mean. I have modified format of my question for reading easily.
Thanks

Ok @njuhang ! Thanks for reporting those bugs. Reopening as requested. Thanks!

Thanks, will there be anybody verify these problem, and modify source code?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Wait for pods to be deleted when cleaning up operators

Signed-off-by: dddddai<EMAIL_ADDRESS>Please provide a description of this PR:
Wait for pods to be deleted when cleaning up operators to avoid impacting TestPostInstallControlPlaneVerification
Fix #35821

Hi @dddddai. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@dddddai: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test lint_istio

gencheck_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test lint_istio

gencheck_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test gencheck_istio

integ-operator-controller-tests_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test integ-operator-controller-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test lint_istio

gencheck_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test gencheck_istio

integ-operator-controller-tests_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test integ-operator-controller-tests_istio

analyze-tests_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test analyze-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test gencheck_istio

integ-operator-controller-tests_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test integ-operator-controller-tests_istio

analyze-tests_istio
34a2c01b594e31746058c52393a602557ba0719b
link
true
/test analyze-tests_istio

lint_istio
4803894cb1c6ebdd6f98bbc65f5a8e8791ffc527
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Problem with IOS

Hi , When i followed the instructions and i just get a black screen when i acess the camera or the photo library on IOS , i mean the camera open with the buttons and i see the auto focus working but there is no picture , any ideas ?

Is it possible that there's a problem with IOS 9 ?

Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
This is the error i'm getting , help needed.

Also it doesn't seem like the app is asking for permissions to use the camera roll or the camera.

@korkinet that's just a warning right? I don't think it impacts the functioning of the app.
The app will automatically ask for permissions when the image picker launches. @AdamGorkoz is it possible that you denied permissions? Check out Settings on the phone.

I checked the settings , there is not mention of camera permissions there.

@korkinet Settings > Privacy > Camera or Settings > Privacy > Photos (depending what function you selected)...whatever app you made (or the Example app) should be listed there

@marcshilling  Like i said , It is not there , obviously i missed a step , any ideas ?

@korkinet the permissions wouldn't appear there until you actually try to access the camera/photo library from an app. Can you run the example project? I just pulled down the latest code and it runs fine.

Couldn't run the exmaple also , it gave me an error with something to do with RCDatePicker.
Any way , i am opening the camera but its not asking me for permissions and it just stays black and i've tried this on several devices.

@korkinet well I think step 1 to figuring out your issue is getting the Example running. As I said, it runs fine for me when I clone the repo, why wouldn't it for you?
RCTDatePicker is completely unrelated to this project, so something else must be going on. Did you run npm install in the Example directory first?

@korkinet just realized I had my IP in AppDelegate.m rather than localhost. This is fixed now on 0.13 on npm. Try to run the example again, I'm guessing that's why you couldn't.

@marcshilling Ok i got the example working , Maybe there is something working with my xcode project ?

If the Example is running then yes I would compare that project to your own to find the difference. It's gotta be something small.

Issue resolved - There was a string missing in the info.plist file Bundle display name , The application name string was added and the issue was resolved.
Thanks.


convert to follower when current term is behind peer

Changes:
convert to follower when current term is behind peer

Test (2C): basic persistence ...
labgob warning: Decoding into a non-default variable/field int may not work
  ... Passed --   3.7  3  103   25467    5
Test (2C): more persistence ...
  ... Passed --  16.8  5 1229  313572   15
Test (2C): partitioned leader and one follower crash, leader restarts ...
  ... Passed --   2.0  3   50   11938    3
Test (2C): Figure 8 ...
  ... Passed --  36.0  5 9423 14518045   29
Test (2C): unreliable agreement ...
  ... Passed --   5.8  5  308  107688  245
Test (2C): Figure 8 (unreliable) ...
  ... Passed --  65.9  5 3404 1622613  193
Test (2C): churn ...
  ... Passed --  16.5  5 1425 1584178  341
Test (2C): unreliable churn ...
  ... Passed --  16.4  5 1120  867447  112
PASS
ok      6.5840/raft     163.662s


DML query drop and create table takes time

I tried to drop and create query using runDMLQuery()  but for drop and create tables it takes more than 2 minutes please check following log:
19/02/11 12:33:03 INFO com.samelamin.spark.bigquery.BigQueryClient: Executing DML Statement DROP TABLE IF EXISTS `projectId.dataset.input`
19/02/11 12:33:03 INFO com.samelamin.spark.bigquery.BigQueryClient: Using legacy Sql: false
19/02/11 12:35:15 INFO com.samelamin.spark.bigquery.BigQueryClient: Executing DML Statement CREATE TABLE IF NOT EXISTS `projectId.dataset.input` (id STRING,evnt STRING)
19/02/11 12:35:15 INFO com.samelamin.spark.bigquery.BigQueryClient: Using legacy Sql: false

Is possible to create and drop table execute in less time?

On spark-shell running DML query run fast, but on spark-submit running in yarn and cluster mode it took almost 2-3 minutes for single query

This isn't a bug but more of a performance issue, behaviour is very different between a spark shell and spark submit depending on how you are using spark submit
Best to add some form of telemetry to this ticket to validate that it's the connector not yarn or spark adding this overhead

@samelamin Thanks for your reply, I found that where was issues, it's from spark side


docs: use RAUC image in the Yocto build instructions

Proposed changes

Use the tedge-rauc yocto project to demonstrate firmware (OS) updates instead of mender.
Additional changes

Remove unused pylint3 dependency (not required in >= Kirkstone)
Add git-lfs installation instructions as it is still required when installing thin-edge.io from source in Yocto

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[x] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

https://github.com/thin-edge/meta-tedge-project/pull/19

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

@Ruadhri17 I just pushed one more minor change regarding the "package manager" option. Can you please review this commit 446a3fe1c544f7d3f17066b33ab3ec81f5d6c20d?


Implement Key for Pubkey

https://github.com/project-serum/anchor/pull/1127/files#diff-c30312f654589dc8120c3ca5d75db6816b7825627c10c7c4b485215991bd54e7L237 removed the implementation.

When adding the trait implementation, we get the following error
error[E0119]: conflicting implementations of trait `Key` for type `solana_program::pubkey::Pubkey`
   --> lang/src/lib.rs:232:1
    |
226 |   impl Key for Pubkey {
    |   ------------------- first implementation here
...
232 | / impl<'info, T> Key for T
233 | | where
234 | |     T: AsRef<AccountInfo<'info>>,
235 | | {
...   |
238 | |     }
239 | | }
    | |_^ conflicting implementation for `solana_program::pubkey::Pubkey`

Am I understanding correctly that this is about https://rust-lang.github.io/rfcs/1210-impl-specialization.html ?

Any reason we couldn't remove the generic impl, restricted to AccountInfo, and move them both into a regular implementation?
impl<'info> Key for AccountInfo<'info> {
    fn key(&self) -> Pubkey {
        *self.key
    }
}

impl Key for Pubkey {
    fn key(&self) -> Pubkey {
        *self
    }
}

I'm somewhat new to rust, so please excuse my ignorance if I'm missing something.

I deleted my earlier errant comment about this. Looking at it more thoroughly, I'm not sure how to best sort this out.
The generic implementation added removes ~12 separate implementations of the Key trait and condenses it down to one generic implementation over AsRef<AccountInfo>. The downside is that Rust will not allow Pubkey to implement Key now as it's possible (in practice, extremely unlikely) for another upstream crate to implement AsRef<AccountInfo> on Pubkey and thereby create a conflict.
With regards to the specialization feature, there still seems to be some debate around it (https://github.com/rust-lang/rust/issues/31844)
There might be some other potential fixes, like using a private trait as the bounds (removing the option for upstream crates to implement it), but that seems less than ideal.
Open to suggestions, and I may be missing something really obvious.

One possible workaround would be to define a custom type, and implement the trait on it
pub struct PubkeyWrapper(Pubkey);

impl Key for PubkeyWrapper {
    fn key(&self) -> Pubkey {
        self.0
    }
}

impl From<Pubkey> for PubkeyWrapper {
    fn from(p: Pubkey) -> Self {
        PubkeyWrapper(p)
    }
}

so it can be accessed as PubkeyWrapper::from(pubkey) when necessary.

@skrrb this will not work too :disappointed:
note: the following trait bounds were not satisfied because of the requirements of the implementation of `anchor_lang::Key` for `_`:
      `anchor_lang::prelude::Pubkey: std::convert::AsRef<anchor_lang::prelude::AccountInfo<'_>>`
   --> programs/my-stupid-program/src/lib.rs:130:6
    |
130 | impl Key for PubkeyWrapper {

@fanatid Could you elaborate a little more what are you trying to do? rust orphan rule forbids implementing an external trait on an external type, so for a custom type there should be not problem (last paragraph of https://doc.rust-lang.org/book/ch10-02-traits.html#implementing-a-trait-on-a-type). Indeed, the following MWE doesn't produce any error
use anchor_lang::prelude::*;
use std::str::FromStr;

declare_id!("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");

pub struct PubkeyWrapper(Pubkey);

impl Key for PubkeyWrapper {
    fn key(&self) -> Pubkey {
        self.0
    }
}

impl From<Pubkey> for PubkeyWrapper {
    fn from(p: Pubkey) -> Self {
        PubkeyWrapper(p)
    }
}

#[program]
pub mod test {
    use super::*;
    pub fn initialize(_ctx: Context<Initialize>) -> ProgramResult {
        let pubkey = Pubkey::from_str("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA").unwrap();

        // Does not compile due to unsatisfied trait bounds
        //let foo = pubkey.key();

        // Compiles!
        let bar = PubkeyWrapper::from(pubkey).key();
        Ok(())
    }
}

#[derive(Accounts)]
pub struct Initialize {}

@skrrb sorry, I needed to mention that error happens in macros:
    #[account(mut, associated_token::mint = MINT_PUBKEY, associated_token::authority = account.signer)]

error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Pubkey`, but its trait bounds were not satisfied
   --> programs/my-stupid-program/src/lib.rs:132:10
    |
132 | #[derive(Accounts)]
    |          ^^^^^^^^ method cannot be called on `anchor_lang::prelude::Pubkey` due to unsatisfied trait bounds
    |
   ::: /home/kirill/.cargo/registry/src/github.com-1ecc6299db9ec823/solana-program-1.8.5/src/pubkey.rs:70:1
    |
70  | pub struct Pubkey([u8; 32]);
    | ----------------------------
    | |
    | doesn't satisfy `_: std::convert::AsRef<anchor_lang::prelude::AccountInfo<'_>>`
    | doesn't satisfy `anchor_lang::prelude::Pubkey: anchor_lang::Key`
    |
    = note: the following trait bounds were not satisfied:
            `anchor_lang::prelude::Pubkey: std::convert::AsRef<anchor_lang::prelude::AccountInfo<'_>>`
            which is required by `anchor_lang::prelude::Pubkey: anchor_lang::Key`
    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)

A custom type should work but I dont feel great about making the user use a new type just so we can call key inside the constraints codegen. We could make this transparent by converting all target inputs to the new type on which we then call .key() but we couldnt make this conversion a blanket impl for the same reason so at that point we should just revert to the pre-blanket impl.
I feel like the better solution than a custom type, given a target X would be to check inside the constraints codegen whether X is an ident on the struct. If it is, add a .key() inside the constraints codegen. Otherwise, just leave it as it is. The one thing that this approach will break is composite targets. These don't exist on the struct but are accounts, not pubkeys. So users would have to add .key() for composite targets themselves. But maybe this is acceptable.
I lean towards reverting to the pre-blanket impl. Sure it's not as elegant but it does provide the best user experience and it's not as complex as introducing workarounds in the constraints file.

Is this affecting anyone? The one case that was reported worked around this. And if there isn't any demand, I'd rather keep the blanket impl. Otherwise, reverting sounds good.

to give some more context on what doesnt work right now:
Ive seen one case reported where someone wanted to use a pubkey for their associated_token::mint,authority and this is now no longer possible (only way to do it is manually in the handler function or a big constraint).
It would also be true for the owner constraint. I saw "would" because the owner constraint doesnt use the Key trait so users currently have to add .key() to the target themselves in the case of an account target (this non-usage of the Key trait is also true for the address constraint but I dont see a reason why youd ever want the address to be an account) .
It would also be true for the new token token::mint,authorityconstraints. this means that if you have a settings struct in which you save token accounts or just a different token account, you cannot do token::mint = settings.mint_a or token::mint = other_token.mint respectively.
Instead of reverting to pre-blanket, another solution would be to require the user to use .key() themselves (like it is currently done with the owner constraint) whereever a pubkey or an account may currently be provided. This makes the user ensure that the input is a pubkey (e.g. payer = payer but associated_token::mint = mint.key() although the associated_token::mint really only takes a pubkey if it's not with an init which makes the API more confusing).

Hi, what's the status of this?

@binyebarwe can u describe your use case? We're not sure it makes sense to add this feature given that it would make our code uglier

@paul-schaaf We tend to save some Pubkeys in our VaultAccount. Then we want to verify in this way. But if uncomment it fails


Rename (not yet released) shutdown hook to agent-shutdown.

#1275 introduced an agent-wide shutdown hook, with iterations in #1322 and #1326. Those pull requests are merged, but not yet released.
This pull request renamed the hook from shutdown to agent-shutdown, making it clear that it's different to existing job/bootstrap hooks, and setting a precedent for any future agent-level hooks (e.g. #1057).
/cc @goodspark

I've manually tested this on linux and confirmed a hook named agent-shutdown was executed as expected :+1:


perf: Material design - the ripple effect is too slow

Type: perf
Ionic Version: 2.x
Platform: android 5.1 webview
Material design - the ripple effect is too slow on real devices

observed on Tabs in [ionic-conference-app] running in ionicview app
tested on:

Nexus 10 (android 5.1)
Sony xperia m4 aqua (android 5.0)

I've tested a bit on various Android devices (with Crosswalk, various v2 alphas during the last month) and get the feeling that the ripple animation speed varies, rather than being too slow all the time: i.e. decent UX IMHO most of the time, a bit slow sometimes.

There have been some recent improvements to the ripple, would you be able to give it another shot?

Hi Adam,
thank you for your hint.
I have tested the ripple effect now in the newest version of the ionic-conference-app on my android phones. The ripple-effect is now fast and smooth.  It is very good news for me – because I love ionic and I am forced to use it on android phones.
Thank you.
Robert Paltik
From: Adam Bradley<EMAIL_ADDRESS>Sent: Wednesday, February 10, 2016 10:05 PM
To: driftyco/ionic
Cc: qmagpie
Subject: Re: [ionic] perf: Material design - the ripple effect is too slow (#5154)
There have been some recent improvements to the ripple, would you be able to give it another shot?
—
Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/5154#issuecomment-182581526 .  https://github.com/notifications/beacon/AGloOhEOQg0nUG7i7PjTHJFODyqN8ysuks5pi52ZgaJpZM4HK4zQ.gif


⚠ Adacta-fintech.com has degraded performance

In 3e21221, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 2858 ms

Resolved: Adacta-fintech.com performance has improved in 9dfad10.


File not written, output is printed to stdout

Hi,
I'm using this plugin to minify a vulcanized HTML file. Here's my minify task :
gulp.task('minify', [ 'build' ], function() {
  return gulp
    .src('build/*.html')
    .pipe(minify({
      collapseInlineTagWhitespace: true,
      collapseWhitespace: true,
      keepClosingSlash: true,
      minifyCSS: true,
      minifyJS: true,
      removeComments: true,
      removeCommentsFromCDATA: true,
      removeRedundantAttributes: true,
      removeScriptTypeAttributes: true,
      removeStyleLinkTypeAttributes: true
    }))
    .pipe(gulp.dest('build2/'))
    ;
});

However when I run the task, no build2/ directory is created, the result is printed to stdout. Another problem I have is that what is printed out is just the source HTML file, not minified. Why?

Closing since this doesn't seem related to this plugin. please ask stream- or gulp-related implementation questions on stackoverflow


deps: upgrade to the latest CUE

When the new evaluator work stabilises, upgrade preguide and all reverse dependencies (gitea and play-with-go) to use the latest CUE version (currently using v0.2.2). We are currently relying on a number of workarounds, and in any case there will no longer be any active development on the old evaluator.

This was done.


Improve Mbed platform logging

Problem
Improve Mbed platform logging to use Mbed trace. Better platform integration and add an option to change the logging level from the Mbed application configuration level.
Change overview
Mbed trace integration with CHIP logging
Add function to mbed logging initialization
Set mbed-trace enabled as default for all apps
Add mbed logging init function to all apps
Add mbed BSD socket trace option
Set CHIP_LOG_FILTERING enable for mbed platform
Testing
Build and run Mbed examples

@ATmobica please restyle :)

@woody-apple Restyle is ready ;)


Question about the q_posterior function

Thank you for releasing the code of this excellent work!
Regarding the below function, I couldn't figure out the usage of the q_pred function in L215 and L237.
https://github.com/cientgu/VQ-Diffusion/blob/37bbcccdd4aef1794dac645128d864a9f69ed985/image_synthesis/modeling/transformers/diffusion_transformer.py#L206
I understand q_pred as a function that takes an initial state and a time, and returns a distribution with noise at that time. However, the q_pred function in L215 receives log_x_t instead of log_x_start, while the comment says it returns q(xt|x0).
In addition, I would be grateful if you would tell me which equation q_pred in L237 corresponds to.

Sorry for the late reply, really busy these days....
Line215 aims to get the transition matrix.
Line 233 to Line 237 is a computation trick to achieve q_posterior, briefly speaking, it first do the normalization, then leverages the q_pred function, and finally re-normalizes to get the result.

Thank you for the clarification!

Sorry for re-opening this, but what did you mean by "Line215 aims to get the transition matrix."? I still don't get it 😥

so, what's the specific computation tricks?  Further, it should be  log_qt = self.q_pred(log_x_start, t)   in Line 125?


Correction for raw affiliation Concordia University, 1455 de Maisonneuve Blvd. West, Montreal, Quebec, Canada, H3G 1M8#TAB#

Correction needed for raw affiliation Concordia University, 1455 de Maisonneuve Blvd. West, Montreal, Quebec, Canada, H3G 1M8#TAB#
raw_affiliation_name: Concordia University, 1455 de Maisonneuve Blvd. West, Montreal, Quebec, Canada, H3G 1M8#TAB#
new_rors: 0420zvk78
previous_rors: 04k83g518
works_examples: W2006436736;W2020372238
contact: daf754ba6cacfd813cc22b3099f4cd2b:e49ab432 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


how to find the norm of a matrix

I'm trying to call the norm function, as documented in the cheat sheet.
https://github.com/scalanlp/breeze/wiki/Linear-Algebra-Cheat-Sheet
Here is the code I'm trying to compile, and the compilation error is shown below.
What is the correct way to find out if two matrices of the same dimensions are equal within a given epsilon?  Am I doing it wrong?
test("breeze"){
  import breeze.linalg._
  import scala.util.Random
  for{dim <- 1 to 4} {
    val dm1 = DenseMatrix.tabulate(dim, dim)((_,_)=>Random.between(-10.0,10.0))
    val svd.SVD(u, s, vt) = svd(dm1)
    val dm2 = u * diag(s) * vt.t
    val dist:Double = norm(dm2 - dm1) /// <--- this fails to compile
    assert(dist < 0.001, s"dist=$dist dm1=[$dm1] dm2=[$dm2]")
  }
}

But I get a compilation error about a missing implicit.  I don't see information in the cheat sheet about how to get the implicits.
/Users/jnewton/Repos/scalain_e/scalain-e-course-code/src/test/scala/TranscendentalsTestSuite.scala:493:29
could not find implicit value for parameter impl: breeze.linalg.norm.Impl[breeze.linalg.DenseMatrix[Double],VR]
      val dist:Double = norm(dm2 - dm1)

we don't define norm on Matrices, which is an oversight but in part because
it wasn't clear what the default norm should be for matrices (elementwise,
frobenius etc). If you flatten to a vector, norm will work.
On Wed, Apr 7, 2021 at 1:05 AM Jim Newton @.***> wrote:

I'm trying to call the norm function, as documented in the cheat sheet.
https://github.com/scalanlp/breeze/wiki/Linear-Algebra-Cheat-Sheet
Here is the code I'm trying to compile, and the compilation error is shown
below.
What is the correct way to find out if two matrices of the same dimensions
are equal within a given epsilon? Am I doing it wrong?
test("breeze"){
import breeze.linalg._
import scala.util.Random
for{dim <- 1 to 4} {
val dm1 = DenseMatrix.tabulate(dim, dim)((,)=>Random.between(-10.0,10.0))
val svd.SVD(u, s, vt) = svd(dm1)
val dm2 = u * diag(s) * vt.t
val dist:Double = norm(dm2 - dm1) /// <--- this fails to compile
assert(dist < 0.001, s"dist=$dist dm1=[$dm1] dm2=[$dm2]")
}
}
But I get a compilation error about a missing implicit. I don't see
information in the cheat sheet about how to get the implicits.
/Users/jnewton/Repos/scalain_e/scalain-e-course-code/src/test/scala/TranscendentalsTestSuite.scala:493:29
could not find implicit value for parameter impl: breeze.linalg.norm.Impl[breeze.linalg.DenseMatrix[Double],VR]
val dist:Double = norm(dm2 - dm1)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scalanlp/breeze/issues/803, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACLIIBIFUB3MZR3QXATRDTHQG3NANCNFSM42QIWLBA
.

For testing whether two matrices are equal within epsilon, I think any norm works.
How do people normally check whether two matrices are almost equal?
Is flatting to a vector, and using the vector norm, the usual way?

For testing purposes (eg. in unit and property based tests), I tend to just use sum(abs(A)). But I think it would make sense to have the Frobenious norm in Breeze. Flattening and applying the vector norm should be quite efficient, I think.

I'm using max(abs(...))


ReferenceError: sid is not defined

At line 81 sid there is an error:
let s = this.collection.find({ sid });
should probably became like this:
let s = this.collection.find({ sid: key });

Fixed.


C/monitoring blogpost

I think we should use screenshots with the new admin ui design.

@celaus i think @chaudum is right.

I know, that's why I updated the pictures ;)


Double scoping of subclasses

sorry, forgot to come back to this. thanks for the merge @hakimaryan !


Mast: Watch baeldung.com

Mast requests the watch of the watch_keyword baeldung\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

baeldung\.com has been seen in 3 true positives, 18 false positives, and 19 NAAs.

Rejected by Eliah Kagan in Charcoal HQ. Reason: 'Almost seven thousand hits for url:baeldung.com on Stack Exchange, and even most hits in metasmoke are not spam.'


we need FAKE1001 directory for the fake dataset

Hi, can we please add a FAKE1001 directory for the fake dataset.

Done.


Update zenodo client

Description
Update zenodo client to jakarta and Java 17 like with the other libraries (see the various PRs associated with https://github.com/dockstore/dockstore/pull/5483 )
Review Instructions
Unlike all the other libraries, this one didn't have to be updated to allow dockstore with dropwizard 4.0 to function. Thinking the tests for zenodo are particularly poor. QA doesn't seem hooked up, will update ticket with my findings when this is deployed to QA
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-5513
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[ ] Check that you pass the basic style checks and unit tests by running mvn clean install
[ ] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[ ] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[ ] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[ ] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[ ] Do not serve user-uploaded binary images through the Dockstore API
[ ] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[ ] Do not create cookies, although this may change in the future
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Paired with https://github.com/dockstore/swagger-java-zenodo-client/pull/14


Create helper function for initializing Woodwork on series where dtype change is required

Because it is not possible to modify a series in place with pandas, we need a method for creating a Woodwork initialized series with a logical type that requires the dtype of the underlying series to be changed. To do this we should implement a helper function that accepts all standard initialization parameters, creates a new series with the proper dtype from the supplied series and returns a Woodwork initialized series.
from woodwork import init_series

series = pd.Series([1, 2, 3])  # Will be inferred as Integer
new_series = init_series(series, logical_type=Double, semantic_tags=['custom_tag'])
assert new_series.dtype == 'float64'
assert new_series.ww.logical_type == Double
assert new_series.ww.semantic_tags == {'custom_tag'}

Duplicate of #554


ISPN-11345 Introduce integration tests for serverNG

https://issues.redhat.com/browse/ISPN-11345

[x] Support Arquillian
[x] Arquillian is optional
[x] Support multiple Infinispan Servers
[X] Support Infinispan CONTAINER driver

Support Arquillian
Allow running the test in Wildfly or Tomcat
Arquillian is optional
We can run the test without deploying it in Wildfly or Tomcat. It runs faster.
Support multiple Infinispan Servers
As a QE, I would like to create a test scenario using multiple Infinispan Servers.
Support Infinispan CONTAINER driver
Infinispan Servers will be running in a container.

Please wait while I work on extracting the Infinispan Server Test Driver to its own module

@tristantarrant it is ready for review.

I have added documentation about why not using a TestRule to start the Infinispan Server on the client-side.
The most controversial are:
-- Class.forName("org.infinispan.server.integration.InstrumentArquillianContainer") that is the way that I found to run the code only on the client-side.
-- ClientSideOnlyDriver to prevent adding a lot of dependencies in the container side

It is ready for review

I am waiting for https://github.com/infinispan/infinispan/pull/8173 get merged and then will work in the master branch

I am waiting for https://github.com/infinispan/infinispan/pull/8297 get merged and then will work in the master branch

Please rebase on master. You can also edit the PR and change the base to master, no need to open a new one.

I am going to follow https://github.com/infinispan/infinispan/tree/master/integrationtests/wildfly-modules that will simplify a lot the code


[2.6.4] Add SLE BCI base image for security-scan

Linked Issue:
https://github.com/rancher/rancher/issues/35719

I tested the updated security-scan image by running scans on clusters provisioned using rke1, rke2 and k3s.

RKE1 rke-profile-permissive-1.6           : Passed
RKE2 rke2-cis-1.6-profile-permissive   : Passed
k3s     k3s-cis-1.6-profile-permissive    : Failed

The scan on k3s cluster also failed using rancher/security-scan:v0.2.4  with same number of passed/failed test results.


Unified different styles in the "loop" backend

This Pull request reorganizes a bit the code in the "loop" backend of Ordinary Kriging, so the same code is used for different styles ["grid", "points", "masked"].
Essentially, if style="grid"  or  style="masked" we flatten the input array, compute the non masked elements in one loop as if style="points", and then if necessary reshape the results back to the orginal 2D shape.   This allows a unified implementation for different input styles, removes code duplication and is in particular useful for further work on  Kriging using a moving window (so we don't re-implement the same thing several times).
This is just a minor reorganization, it should not break anything and all the test pass.  It should not affect execution speed.
Same thing could be done for the universal kriging with a loop, the 3D implementation, and to a lesser extent to vectorized version.

I updated the "vectorized" backend of ok.py in the same way. Also the code that does all the checks regarding the arrays shape / whether it is masked or not , is factorized outside of the backend function. This allows for the backend function remain very simple, which is particularly usefull if another backend (e.g. Cython) were to be added.
I will not add more commits to this pull request, from this point on, and use this code as the basis to add moving window Ordinary Kriging.


[Submission]: test the come back

Github repo
https://github.com/mickahell/quantum_pokemon-fight
Description
...
Email
<EMAIL_ADDRESS>Alternatives
No response
License
MIT
Affiliations
No response
Tags
tool

!redo

!redo

https://github.com/qiskit-community/ecosystem/runs/3969020856?check_suite_focus=true

I just copy paste body from https://github.com/qiskit-community/ecosystem/issues/21

the log chnage now it say here : description = parse[3]

let's discuss it tomorrow, it can wait :)


Remove case sensitivity of contract addresses

Store contract addresses in lower case and use toLowerCase when comparing to prevent an error when an address doesn't match.

The fix was released in version 0.1.2, thank you for your contribution!


multi root

Issue created from code comment with imdone.io

TODO @Ben multi root id:152
src/vs/code/electron-main/windows.ts:769
@imdone - Efficiently manage your project's technical debt. imdone.io

Issue closed by removing a comment.

TODO @Ben multi root id:152 gh:43
src/vs/code/electron-main/windows.ts:769
@imdone - Efficiently manage your project's technical debt. imdone.io


Reorganize framework folder (Breaking)

Some discussion of this started in #765 so I thought it might be best to break it out to a separate issue.
The default framework module (framework) is for the Framework 13 11th-gen Intel laptop. Since there are some hardware quirks unique to this laptop that aren't shared by the other gen Framework laptops, this is less than ideal.
Framework is also releasing a Framework 16 laptop which will share some of the same platforms with the 13 but different specs and features, so in anticipation of that it would be best to break them into separate categories. For the above PR we created a 13-inch folder under framework to add the new 7040-amd module, since the upcoming FW16 release would also be 7040-amd. That leaves the other Framework 13 generations under the framework folder and not organized in the 13-inch folder, presumably until that's fixed as a resolution to this issue. I would say there's nearly no chance there is a FW16 that shares an Intel gen platform with the FW13's we've had so far, but they're still in the wrong folder at the moment.
Maybe there's not much more discussion to be had of this, but based on the PR discussion I would hope we are able to reorganize the framework folder and serve warnings for users who are using the old modules. Alternatively, we create a new framework folder so module links can be kept intact and we use links as necessary to group the modules.

I think technically we could move the 12th gen and 13th gen modules into a 13-inch folder without introducing breaking changes since the modules from the flake would just need to be updated to point to the new location, but doing anything with the 11th gen module will probably require breaking something, since the flake module for 11th gen is just called framework.
There are some common configurations between all the gens (so far) that would be worth having as a shared module so it doesn't keep getting duplicated for each gen we add, and it would make sense to make that the default framework module, or some other common module off the base folder.

I'm preparing a PR for changes including an assertion module replacement for the current 11th gen Intel module inspired some by other breaking module changes I have found in this repo. Hope to put that up for review after the other PR is finished. In the meantime my changes are here

It's fine breaking configuration as long as we have clear error messages.


Timezone information is displayed wrong in Raystation

When viewing segmentation results in RayStation, the displayed time is about 1h off. This could mean either that the time encoded by IE-DicomRT is not correctly localized, or that RayStation is not displaying timezone info correctly.
We should go through the code here and ensure that IE-DicomRT is correctly storing its processing time in UTC.

https://github.com/microsoft/InnerEye-DICOM-RT/blob/11bdeaeaa740b4954764f3f1f6dc443930981917/RTConvert/Microsoft.RTConvert.MedIO/RT/DicomRTSeries.cs#L60 writes a plain string from UtcNow. However no information is attached about the timezone offset for that.
Possible solution: Use the TimezoneOffset tag as described here


Fix Agent Plugin "asynchttpclient" not record the status code of the …

…response

Fix

[ ] Add a unit test to verify that the fix works.

[x] Explain briefly why the bug exists and how to fix it.
add a tag to async span when status received method be invoked

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.

[x] Update the CHANGES log.

You need to update the changelog.
Hi sheng, I have added change log

You should also changed the expected data of async http client scenario. Link: https://github.com/apache/skywalking/blob/master/test/plugin/scenarios/asynchttpclient-scenario/config/expectedData.yaml

ok I will do it tomorrow，and run 'asynchttpclient-scenario' in local env


Add an upper limit to jupyter-client

Latest version of jupyter-client [6.1.8 - 6.1.10] has a dependency issue: https://github.com/jupyter/jupyter_client/issues/597

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

FYI, jupyter-client v6.1.11 is released, which removes the jedi pinning. Sorry for the inconvenience.

FYI, jupyter-client v6.1.11 is released, which removes the jedi pinning. Sorry for the inconvenience.

FYI, jupyter-client v6.1.11 is released, which removes the jedi pinning. Sorry for the inconvenience.

Thank you! We noticed and switched to 6.1.11 already. Thank you for the quick fix.

FYI, jupyter-client v6.1.11 is released, which removes the jedi pinning. Sorry for the inconvenience.

Thank you! We noticed and switched to 6.1.11 already. Thank you for the quick fix.


Add d3fc playground to website

See similar ones for less or typescript.

@jdunkerley and myself are looking to do something on this one together (mentioning in case someone already started).

Have put together a rough prototype based around the Ace Editor:
http://jdunkerley.github.io/d3fcPlayground/

Looking great so far! I think there will be some work on the neat examples now and work integrating it.... Also I really like the light theme  :)

Thanks @jdunkerley, I think it's a good first stab. I agree with the comments above and would add that we should establish out the design and feature-set we want before we continue much further.
Also have you seen CodeMirror? I have a mild preference for it and it is the editor behind the less example.

Thanks @chrisprice, agree need to have a discussion on what we want the initial version to be and overall design of the both playground and site.
We looked briefly at CodeMirror as well as Ace. Had seen Ace used before so tried that one first. Will take a look at CodeMirror.

Looking at how we're using it, I think CodeMirror should result in less
code (it can be configured by a JSON object rather than lots of
set/get-ters).
On Mon, 19 Oct 2015 at 11:09 James Dunkerley<EMAIL_ADDRESS>wrote:

Thanks @chrisprice https://github.com/chrisprice, agree need to have a
discussion on what we want the initial version to be and overall design of
the both playground and site.
We looked briefly at CodeMirror as well as Ace. Had seen Ace used before
so tried that one first. Will take a look at CodeMirror.
—
Reply to this email directly or view it on GitHub
https://github.com/ScottLogic/d3fc/issues/469#issuecomment-149173653.

Will go try in a minute and put an update out

Now using codepen instead


LineChart: Background covering ticks when mirror=true

So I've been looking around but I haven't found a way to make this work. Here's a quick exemple:

The tickers are hidden by the background applied in the dataset:
datasets: [{         backgroundColor: gradient,         borderColor: "#416c98",         data: data }]

Duplicate of #2808


[iOS] Upgraded from 0.64.2 to 0.65.1 - RTC-Folly failed build

After I made the migration, I am getting this error in the ios build.
** BUILD FAILED **

The following build commands failed:
	CompileC /Users/username/Library/Developer/Xcode/DerivedData/AppName-ajqemcdetclskwggzeuetwuikmht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/VirtualEventBase.o /Users/username/projects/appname/ios/Pods/RCT-Folly/folly/io/async/VirtualEventBase.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

After trying to run the build for the second or third time, I get this
** BUILD FAILED **

The following build commands failed:
	CompileC /Users/username/Library/Developer/Xcode/DerivedData/AppName-ajqemcdetclskwggzeuetwuikmht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/TimeoutManager.o /Users/username/projects/appname/ios/Pods/RCT-Folly/folly/io/async/TimeoutManager.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Anything that can be done?
Edit: I did while upgrading other packages, but now, downgraded back to 0.64.2 and only had to downgrade react-native-reanimated back to 2.2.0 and that was enough to get it back working.
Btw, I am on a M1 Macbook, but build is happening on AppCenter. Got the error in both locally and there.

@dougg0k
Replace your post_install function in Podfile with:
 post_install do |installer|
    react_native_post_install(installer)

    # Apple Silicon builds require a library path tweak for Swift library discovery or "symbol not found" for swift things
    installer.aggregate_targets.each do |aggregate_target|
      aggregate_target.user_project.native_targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(inherited)']
        end
      end
      aggregate_target.user_project.save
    end

     # Flipper requires a crude patch to bump up iOS deployment target, or "error: thread-local storage is not supported for the current target"
    # I'm not aware of any other way to fix this one other than bumping iOS deployment target to match react-native (iOS 11 now)
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
       end
    end

    # ...but if you bump iOS deployment target, Flipper barfs again "Time.h:52:17: error: typedef redefinition with different types"
    # We need to make one crude patch to RCT-Folly - set `__IPHONE_10_0` to our iOS target + 1
    # https://github.com/facebook/flipper/issues/834 - 84 comments and still going...
    `sed -i -e  $'s/__IPHONE_10_0/__IPHONE_12_0/' #{installer.sandbox.root}/RCT-Folly/folly/portability/Time.h`
  end

And also check this guide for setup build environment on Mac m1

@Navipro70 Thanks, it worked.

Tried the fix mentioned in this thread and it didn't work for
CompileC /Users/username/Library/Developer/Xcode/DerivedData/projectName-awyiegslnefckyesnveuttxiurbm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o /Users/username/Desktop/Personal/Personal\ Projects/projectName/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(1 failure)

React Native version : 0.67
XCode version : 13

Tried the fix mentioned in this thread and it didn't work for
CompileC /Users/username/Library/Developer/Xcode/DerivedData/projectName-awyiegslnefckyesnveuttxiurbm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o /Users/username/Desktop/Personal/Personal\ Projects/projectName/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(1 failure)

React Native version : 0.67 XCode version : 13

I'm facing a same issue

Tried the fix mentioned in this thread and it didn't work for
CompileC /Users/username/Library/Developer/Xcode/DerivedData/projectName-awyiegslnefckyesnveuttxiurbm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o /Users/username/Desktop/Personal/Personal\ Projects/projectName/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(1 failure)

React Native version : 0.67 XCode version : 13
Also using RN: 0.67
Xcode: 13.4.1

This worked for me by setting RCT-Folly to IPHONEOS_DEPLOYMENT_TARGET = '9.0'


version(ticdc): bump the default RELEASE_VERSION

What problem does this PR solve?

Issue Number: ref https://github.com/pingcap/tiflow/issues/6039
What is changed and how it works?
Bump the version to 6.2.0-master
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
None

/check-issue-triage-complete

Codecov Report

Merging #6041 (6c0569a) into master (b1ce2c9) will increase coverage by 0.3259%.
The diff coverage is 66.1454%.

Flag
Coverage Δ

cdc
62.9448% <69.5353%> (+0.5679%)
:arrow_up:

dm
51.9531% <35.5555%> (-0.0198%)
:arrow_down:

engine
62.3210% <35.6756%> (-0.1195%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6041        +/-   ##
================================================
+ Coverage   57.2815%   57.6075%   +0.3259%
================================================
  Files           680        696        +16
  Lines         80230      82359      +2129
================================================
+ Hits          45957      47445      +1488
- Misses        30009      30588       +579
- Partials       4264       4326        +62

/merge

/run-integration-test
/run-leak-test

/run-verify


Basket. QR page for a few operations has wrong size

Description
Page with QR has wrong size:

Expected result:
https://www.figma.com/design/BcweKUgqxza0wyIKlxdBu8/Basket?node-id=129-14572&t=MIdT6gNqTQvtoRLO-4

Status verification: ✅


When will.NET8 be supported?

When will.NET8 be supported?

If you're running into a specific issue, please file for the specific issue. This has always worked with .NET 8.


documentation

The following files in doc/ need to be updated:

build-msw.md
build-unix.md
anoncoin.conf.sample
anoncoin.qss.sample
release-notes.md

The following have been rebranded, but they should be verified for accuracy:

assets-attribution.md
gitian-building.md
multiwallet-qt.md
osx_deterministic_dmg.md
release-process.md
translation_process.md

Think  this issue is going to have a long life.  Finally getting more of this stuff cleaned up and fixed, please note the issues I had, and some required changes in my last 2 commits.
Will look at those listed above as rebranded tomorrow.  I don't think we are even CLOSE to having a working gitian builder nor multiwallet-qt.
I'm constantly working on and updating the anoncoin.conf.sample as things come to me, or are needed to be documented there.
On the bootstrap.dat file generation, which you deleted, and I restored and edited, please talk with CS about bootstrap.dat, organizing its release has details and issues, when they are finalized more of the text in bootstrap.md can be updated.   The README_windows.txt file is part of the windows deployment package, so needs to stay there too.
Any material you can think of to add to the release-notes.md file, please do.  Just before the release I will make my best effort and call it good.  Then after the release, my plan is to move it into the doc/release-notes folder, and start a new one.  Latest commit deletes most all those old bitcoin files there, I saved only 3, and renamed them as bitcoins, a very few might care to read them.  But whatever is there will be bundled up and shipped as part of the deployment process.
Found the name on your osx_deterministic_dmg.md file most interesting, looking forward to reading it and plan on including all the files in doc/ as shipped during deployment, although we can and do customize these, depending on the platform.  Or should we?


About select_sampling_method

Hi,
I am trying to understand IntegratedPifu code and trying to adapt it to my dataset who is not Thuman one.
I reach the select_sampling_method() in TrainDataset.py; and I think it's an important function to match the obj file with the image file.
So I have different questions :

        # note, this is the solution for when dataset is "THuman"
        # adjust sigma according to the mesh's size (measured using the y-coordinates)
        y_length = np.abs(np.max(mesh.vertices, axis=0)[1])  + np.abs(np.min(mesh.vertices, axis=0)[1] )
        sigma_multiplier = y_length/188

You wrote 188 but what does it represents exactly ? Is it an average y-length of all the Thuman models ? Is it the maximum y-length of all the Thuman models ? Or is it a random number ?
On the 3 free models of Thuman, I calculate the y length to 169, 171 and 187

What is the compensation_factor = 4.0 ?

Is there a way to verify if my mesh are correctly oriented (in the same direction of the image) after applying the rotation (R) ?

Just a fix on mesh_util.py :
verts, faces, normals, values = measure.marching_cubes_lewiner(sdf, 0.5)
must be replaced by :
verts, faces, normals, values = measure.marching_cubes(sdf, 0.5, method="lewiner")

Thanks, and thank you also for your work it's so instructive !

Hi, thank you for you answer,
It's ok I totally understood your code !
But well there are still a lot of hardcoded values...
For example my dataset have obj files with a y max of "2" and not "188" (like Thuman), resulting the displacement of inner points is too strong and push the points outside ! :p.
In the same way depending on my dataset the depthmap value were too small too..
Well anyway I am currently regenerating my dataset to scale all of them to a max size of 188.  It should work !
Thanks for the library, chatgpt gave me also some advise.
I am sharing it :
I added it to the end of : select_sampling_method()
            mesh.visual = trimesh.visual.ColorVisuals(mesh, face_colors=[255, 0, 0, 25])
            scene = trimesh.Scene(mesh)

            def create_grid(size, spacing):
                lines = []
                for i in np.arange(-size/2, size/2 + spacing, spacing):
                    lines.append(trimesh.creation.cylinder(radius=0.01, segment=[(-size/2, 0, i), (size/2, 0, i)], cap_ends=False))
                    lines.append(trimesh.creation.cylinder(radius=0.01, segment=[(i, 0, -size/2), (i, 0, size/2)], cap_ends=False))
                return lines

            grid = create_grid(size=200, spacing=10)
            for line in grid:
                scene.add_geometry(line, geom_name="grid")

            start_points_geom = trimesh.PointCloud(surface_points[:num_of_way_inside_pts], colors=[0, 255, 0, 255])
            scene.add_geometry(start_points_geom, geom_name="test")
            idx = 0
            for point, direction in zip(surface_points, normal_vectors):
                ray_points = point + direction * 20
                ray_geom = trimesh.creation.cylinder(radius=0.1, segment=[point, ray_points], cap_ends=False, vertex_colors=[0, 0, 255, 255])
                scene.add_geometry(ray_geom, geom_name="vector{}".format(idx))
                idx += 1

                if idx > num_of_way_inside_pts:
                    break

            scene.show()

            for i in range(num_of_way_inside_pts+1):
                scene.delete_geometry("vector{}".format(i))

            idx = 0
            for point, direction in zip(surface_points, z_displacement):
                ray_points = point + direction * 20
                ray_geom = trimesh.creation.cylinder(radius=0.1, segment=[point, ray_points], cap_ends=False, vertex_colors=[0, 0, 255, 255])
                scene.add_geometry(ray_geom, geom_name="displacement{}".format(idx))
                idx += 1

                if idx > num_of_way_inside_pts:
                    break

            scene.show()
            scene.delete_geometry("test")

            for i in range(num_of_way_inside_pts+1):
                scene.delete_geometry("displacement{}".format(i))

            start_points_geom = trimesh.PointCloud( surface_points_with_normal_sigma, colors=[255, 255, 0, 255])
            scene.add_geometry(start_points_geom, geom_name="test")

            scene.show(point_size=1)

            scene.delete_geometry("test")

            inside_points_geom = trimesh.PointCloud(way_inside_pts, colors=[255, 0, 0, 255])
            scene.add_geometry(inside_points_geom)

            inside_points_geom = trimesh.PointCloud(surface_points[0:num_of_way_inside_pts], colors=[0, 255, 255, 255])
            scene.add_geometry(inside_points_geom)

            # Ajouter les points intérieurs (en green) à la scène
            inside_points_geom = trimesh.PointCloud(outside_surface_points[0:num_of_way_inside_pts], colors=[0, 255, 0, 255])
            scene.add_geometry(inside_points_geom)

            idx = 0
            for inside, outside in zip(way_inside_pts, outside_surface_points):
                if not np.all(inside == 0) and not np.all(outside == 0):
                    ray_geom = trimesh.creation.cylinder(radius=0.1, segment=[inside, outside], cap_ends=False, vertex_colors=[0, 0, 255, 255])
                    scene.add_geometry(ray_geom, geom_name="displacement{}".format(idx))
                idx += 1

                if idx > num_of_way_inside_pts:
                    break

            scene.show(point_size=1)

It gave me a render like this :


[5.12][5.11]Need to update Java Security Manager Doc

Is your suggestion related to a missing or misleading document? Please describe.
In the doc of enabling Java Security Manager, we provided two sh files to sign Jars using self-sign certificates. But there are some Jars in the product that have already been signed using the Eclipse certificate.
So the following doc will sign those Jars twice. We need to identify and neglect those Jars.
Error Message
Caused by: java.lang.SecurityException: invalid SHA1 signature file digest for org/eclipse/core/internal/content/XMLRootHandler$StopParsingException.class
Optional Fields
Link: https://is.docs.wso2.com/en/latest/setup/enabling-java-security-manager/

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Repo sync for protected CLA branch

The pull request is created from master637636934841084814 to master to fix git push error for protected CLA branch

@shsagir : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Cron-syntax in help text

If you run
docker run ghcr.io/num-codex/odm2fhir:latest --help

The result is
(...)
To enable timed execution add the argument `--cron="0 0 0 0 * *"` (see [here](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/scheduling/support/CronSequenceGenerator.html) for pattern explanation).
(...)

Cron syntax only allows 5 symbols. Maybe you mean --cron="0 0 * * *" which means "At 0:00 everyday"?

Aah - Spring-Cron is not UNIX-Cron. Sorry.  Sorry. Everything is fine!  👍
Spring Cron:
1 2 3 4 5 6 Index
- - - - - -
* * * * * * command to be executed
- - - - - -
| | | | | |
| | | | | ------- Day of week (MON - SUN)
| | | | --------- Month (1 - 12)
| | | ----------- Day of month (1 - 31)
| |-------------- Hour (0 - 23)
| --------------- Minute (0 - 59)
----------------- Seconds (0 - 59)

Linux-Cron:
1 2 3 4 5 Index
- - - - -
* * * * * command to be executed
- - - - -
| | | | |
| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)

Source

Exactly! ...and that tiny difference is the reason why I specifically added the link in the help. 😉

Exactly! ...and that tiny difference is the reason why I specifically added the link in the help. 😉


🐞 - InputMonth ReactiveForms with value got undefined

Which @taiga-ui/* package(s) are the source of the bug?
kit
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/taiga-starter-lah46q
Is this issue blocking you?
Non-Blocking
Description
readonly testForm = new FormGroup({
  // testValue: new FormControl(null), // working
  testValue: new FormControl('2022-08-01'), // not working
  // testValue: new FormControl('2022-08'), // not working
  // testValue: new FormControl(new Date()), // not working
});

Here is a image of a case

Angular version
12.2.4
Taiga UI version
2.26.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Hi, @rendiriz !
InputMonth / InputDate works with TuiMonth/TuiDay object by default, take a look https://stackblitz.com/edit/taiga-starter-nhvqu5?file=src%2Fapp%2Fapp.component.ts
If you want to configure it to work with other formats (like strings), see this example https://taiga-ui.dev/components/input-date#native-date-output

Oh okay, my bad. Because I didn't find TuiMonth/TuiDay in InputMonth doc or example.
Thanks @vladimirpotekhin


Document constructor exceptions

Thanks so much for Busboy!
This tiny PR adds a short summary of the kinds of exceptions new Busyboy({ headers: req.headers }) might throw to the end of the API section of the README.
If you think it's worthwhile, I'd be happy to push another commit to add some sanity checking the other README examples, to show that you might want to be sure you've received the kind of POST you expect before creating a Busboy object.
@jimmywarting's original post in #84 raises an interesting question about whether Busboy should throw these errors, or rather emit them as events. I'm not sure what the right answer is.
The documentation additions in this PR describe the way things are now.
Best,
K

Perhaps this information is better placed in the constructor description somehow? It looks out of place having it separate it like that.
Documenting this is a little tricky though since there are both exceptions common to all (2) supported Content-Types as well as Content-Type-specific exceptions (like missing boundary for multipart).

As far as error handling goes, I'm generally more a fan of failing as fast as possible (which means immediately throwing an exception before reaching the end of the function, either directly or indirectly). However if it's really that big of a deal to people, I may be open to switching to using error events. My argument against it is that it just delays the inevitable and gives a (short) false sense of success (since the error emitting would have to be done on next tick).

I generally felt like a try/catch is a boost kill, since v8 can't optimise them. That is why I raises my question a long time ago. But knowing how to deal with them in demos, docs or this readme file would be a great way to help others. Just by knowing that this module can throw errors means you have to wrap it in a try/catch (that is not something i take for granted)
Sometimes frameworks & modules deal with them for you so your app don't crash.
The node eco system it's often a error as first argument in a callback... or a promise rejection.

Pushed an additional commit consolidating the list of errors with the section describing the constructor.

Landed in cb4dbc9da88ef7f96514b7c88732a652904af05d. Thanks!


Proposal - Remove Timeout middleware

The Timeout middleware is defined on some cats-effect Effect.
https://github.com/http4s/http4s/blob/0d1ebe8cfbe439703dd189dd0af663d8d9bbed16/server/src/main/scala/org/http4s/server/middleware/Timeout.scala#L39
The Timeout implementation involves a second async job.  The timeout logic takes the first of whichever of the original job or the timeout job completes first.  As per the cats-effect docs:

If you want concurrency, you should use a streaming framework like fs2 or Monix.

The current implementation relies on the race method from fs2 which was recently made private. https://github.com/functional-streams-for-scala/fs2/pull/1013/files#diff-10e988c94c4e1d589701191bb50ce692R121.  I think this should be private given the unsafe calls it contains.
To upgrade to fs2 0.10.0-M9 means either coming up with a new strategy for Timeouts or dropping this functionality.  I don't think it makes sense to provide a Timeout for any Effect so propose removing.

think this should be private given the unsafe calls it contains.

As I said in the fs2 ticket, that's not the reason, those calls are wrapped in F so they are pure. The reason is the lack of a guarantee for resource safety. We can discuss reintroducing it as a public method depending on how strongly http4s wants it

@SystemFw Thanks for clarifying.
I still think it's not the most desirable usage of cats-effect so should be removed from http4s.  I think in http4s it would be more correct to provide Timeout implementations specific to Future / monix Task etc where it makes sense for the underlying framework (if provided at all by http4s).  There shouldn't be an Timeout implementation for IO in my opinion.

In #1584, the private implementation of fs2.async.race has been internalized in the Timeout middleware for now.

As of #1725, Timeout middleware is implemented in terms of the new Concurrent functionality.


Implement AssociativeSet from AssociativeCache

This is for review purposes, does not build.

@odanrc Updated with the review comments.
This PR is a subset of PR #745. This does not build as we need to make changes to the prefetch code but it is skipped for review purposes.

I don't understand. This PR was much simpler yesterday, and it looked like it would compile. Now it touches way more files to the point that it's looking like the "main" PR again. The idea of splitting the main PR was to create simpler PRs that would still be able to build. What's the error when we create a PR that only creates the new cache classes and updates only the prefetcher to use it?

The problem is that I couldn't find a way to make one PR dependent on a previous PR. I tried splitting as:
PR 1: Move policies to base/cache
PR 2: Add cache template library (dependent on PR 1)
PR 3: AssociativeSet from cache (dependent on PR 2)
...
But all I can do is base the PR after the develop branch. Do you know how I could achieve the above? This was automatic on gerrit.

I am still unfamiliar with GitHub´s interface, so I don´t know how to request stacked PRs. @powerjg do you know how to do that?
In any case this PR is the first in the chain, so the changes made for the later PRs shouldn´t be a problem here.

I am still unfamiliar with GitHub´s interface, so I don´t know how to request stacked PRs. @powerjg do you know how to do that?
In any case this PR is the first in the chain, so the changes made for the later PRs shouldn´t be a problem here.

I think github has an interface to review each individual patch in a PR.
https://github.com/gem5/gem5/pull/770/commits/2f6fbc2941038dc6faa2ec58ba54ddfa31aa53e1

Alright, let´s give it a try. You can delete this PR, since it is now mostly a duplicate of #745 . I still strongly think that the tag shift change should be in its own PR, so it should remain like that.


Permissions revamp

Add ness.gamemode.other, ness.gamemode.all, and maybe ness.gamemode.<gamemdoe>?

Doing this with /vanish too


Solved issue #1924- Physics simulation

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #(issue no.)
#1924

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
Uploading Recording 2024-06-26 144545 (1).mp4…

@Sulagna-Dutta-Roy
Kindly review and merge
and also which kind of pr in your repo is marked as level 3 kindly tell

@Sulagna-Dutta-Roy
Kindly review and approve


Attachment file is corrupted

Issue Summary
When I send a mail its send with attachment but attachment file is corrupted .I use 2 code . Please help me .
Steps to Reproduce

This is the first Code

//
// SendGrid PHP Library Example
//
// This example shows how to send email through SendGrid
// using the SendGrid PHP Library.  For more information
// on the SendGrid PHP Library, visit:
//
//     https://github.com/sendgrid/sendgrid-php
//
require 'vendor/autoload.php';
/* USER CREDENTIALS
/  Fill in the variables below with your SendGrid
/  username and password.
====================================================*/
$sg_username = "###";
$sg_password = "###";
/* CREATE THE SENDGRID MAIL OBJECT
====================================================*/
$sendgrid = new SendGrid( $sg_username, $sg_password );
$mail = new SendGrid\Email();
/* ADD THE ATTACHMENT
/  For the purposes of this demo, the file being
/  attached resides in the same folder as this
/  example.php file
====================================================*/
$mail->setAttachment('sendgrid_logo.jpg');
/* SMTP API
====================================================*/
// ADD THE RECIPIENTS
$emails = array (
<EMAIL_ADDRESS>);
foreach($emails as $recipient) {
$mail->addTo($recipient);
}
// ADD THE CATEGORIES
$categories = array (
"test_attachment"
);
foreach($categories as $category) {
$mail->addCategory($category);
}
// ADD THE UNIQUE ARGUMENTS
$unique_args = array (
"action" => "test_attachment"
);
foreach ( $unique_args as $key => $value ) {
$mail->addUniqueArgument( $key, $value );
}
// ADD THE APP FILTERS
$filters = array (
"clicktrack" => array (
"settings" => array (
"enabled" => 1
)
),
"opentrack" => array (
"settings" => array (
"enabled" => 1
)
),
"subscriptiontrack" => array (
"settings" => array (
"enabled" => 1,
"text/plain" => "If you would like to unsubscribe and stop receiving these emails click here: <% %>.",
"text/html" => "If you would like to unsubscribe and stop receiving these emails <% click here %>."
)
)
);
foreach($filters as $filter => $contents) {
$settings = $contents['settings'];
foreach($settings as $key => $value) {
$mail->addFilterSetting($filter, $key, $value);
}
}
/* SEND MAIL
/  Replace the the address(es) in the setTo/setTos
/  function with the address(es) you're sending to.
====================================================*/
try {
$mail->
setFrom<EMAIL_ADDRESS>)->
setSubject( "Test attachment through PHP" )->
setText( "Hello,\n\nThis is a test attachment email through PHP from SendGrid.    We have sent this to you because you requested a test message be sent from your account.\n\nThis is a link to google.com: http://www.google.com\nThis is a link to apple.com: http://www.apple.com\nThis is a link to sendgrid.com: http://www.sendgrid.com\n\nThank you for reading this test message.\n\nLove,\nYour friends at SendGrid" )->
setHtml( "
   Hello, This is a test attachment email through PHP from SendGrid.    We have sent this to you because you requested a test message be sent from your account. This is a link to google.com  This is a link to apple.com  This is a link to sendgrid.com  Thank you for reading this test message. Love, Your friends at SendGrid     " );
$sendgrid->send( $mail );
echo "Sent mail successfully.";

} catch ( Exception $e ) {
echo "Unable to send mail: ", $e->getMessage();
}
?>
2 . Second code
        $url = 'https://api.sendgrid.com/';
        $user = '####';
        $pass = '######';

        $fileName = $filename;
        $filePath = 'path';

                $params = array(
            'api_user'  => $user,
            'api_key'   => $pass,
            'to'        => $to_mail,
            'subject'   => $subject,
            'html'      => $body.'

If You Want to Unsubscripe Please Click Here
',
            'from'      =><EMAIL_ADDRESS>            'files['.$fileName.']' =><EMAIL_ADDRESS>          );

        print_r($params);

        $request =  $url.'api/mail.send.json';

        // Generate curl request
        $session = curl_init($request);

        // Tell curl to use HTTP POST
        curl_setopt ($session, CURLOPT_POST, true);

        // Tell curl that this is the body of the POST
        curl_setopt ($session, CURLOPT_POSTFIELDS, $params);

        // Tell curl not to return headers, but do return the response
        curl_setopt($session, CURLOPT_HEADER, false);
        // Tell PHP not to use SSLv3 (instead opting for TLS)
        curl_setopt($session, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
        curl_setopt($session, CURLOPT_RETURNTRANSFER, true);

        // obtain response
        $response = curl_exec($session);
        curl_close($session);

        // print everything out
        print_r($response);

Any other information you want to share that is relevant to the issue being reported. Especially, why do you consider this to be a bug? What do you expect to happen instead?
Technical details:

sendgrid-php Version: master (latest commit: [commit number])
PHP Version: 5.x

Hello @mohiolmis,
That library version is now unsupported, could you please try with the new version, found in this repo?
Here is an attachment example: https://github.com/sendgrid/sendgrid-php/blob/master/examples/helpers/mail/example.php#L82
Thanks!
With Best Regards,
Elmer

Hi @mohiolmis ,
I am facing the same problem.Any attachment send with sendgrid is getting corrupted in the received email.We are using v2 of sendgrid in our code.Will migrating to v3 of sendgrid help solve this issue??
We will have to make changes to our codebase for this.
Thanks

Please see this example for sending attachments with the latest version of this library.


Dipendra/testing code coverage

Total Coverage: 100.00%
Coverage ReportFileBranchesFuncsLinesUncovered Lineslib   flutter_responsive_flex_grid.dart100%100%100%


feat: added nextjs tsconfig

#256  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bob-obringer and the rest of your teammates on  Graphite


Run formatting scripts during PR builds

Motivation and Context

brings in the renaming/consolidation changes from #60 and adds the format scripts to run as part of PR builds.
hopefully one day we will have automated fixing of the formatting errors, but for now they must be fixed by the developer manually.
Description

adds copilot-format-frontend which runs yarn format to check if formatting is correct
renames node-pr to copilot-build-frontend and removes the find-yarn-projects job from the workflow.
removes copilot-chat-package in favor of copilot-build-backend since the two workflows seem identical.
also changes copilot-build-backend to run dotnet format, and also run when PRs are created.

Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

need to test dotnet format check


Introducing per-service filtering

Introduces per-destination filter-chain matching on outbound.
This change will allow setting specific network filtering on per service
destination, which enables finer configuration per-service level,
as well as the use of different network filters to allow not only L7 traffic
through.
Additional benefits:

Since we are filtering all permitted traffic, we can generalize and filter
any remaining traffic as Egress (when enabled), which simplifies Egress
to not need a CIRD anymore. (TODO: cleanup CIDR flags/code)
Since we can match all destination traffic, Permissive can now
use TCP proxy, to allow also L4 protocol between services, instead of L7-only.
Additional work that might benefit from it: per-service route table
on RDS, TCP routing, ....

Additionally:

Fixing the listener tests required adding the long-awaited catalog mock.
Will add more tests in subsequent commits.

New Functionality      [X]

Control Plane          [X]

Networking             [X]

SMI Policy             [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Will also address setting Permissive to TCP proxy, we do have some drawbacks to take care of.

Fixes for CI/demo expected values will need to be addressed

Codecov Report

Merging #1725 into main will decrease coverage by 3.65%.
The diff coverage is 10.92%.

@@            Coverage Diff             @@
##             main    #1725      +/-   ##
==========================================
- Coverage   57.28%   53.62%   -3.66%
==========================================
  Files         118      120       +2
  Lines        5436     4921     -515
==========================================
- Hits         3114     2639     -475
+ Misses       2319     2279      -40
  Partials        3        3

Impacted Files
Coverage Δ

pkg/catalog/mock_catalog.go
0.00% <0.00%> (ø)

pkg/envoy/lds/response.go
0.00% <0.00%> (ø)

pkg/envoy/lds/listener.go
40.14% <29.85%> (-50.38%)
:arrow_down:

pkg/health/health.go
20.51% <0.00%> (-11.41%)
:arrow_down:

pkg/debugger/index.go
20.00% <0.00%> (-8.58%)
:arrow_down:

pkg/debugger/policy.go
53.84% <0.00%> (-6.16%)
:arrow_down:

pkg/catalog/service.go
72.72% <0.00%> (-5.85%)
:arrow_down:

cmd/cli/util.go
53.33% <0.00%> (-5.50%)
:arrow_down:

pkg/catalog/repeater.go
80.00% <0.00%> (-5.19%)
:arrow_down:

... and 113 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 9104dbb...e317813. Read the comment docs.


Add samba step

At the moment github action don't have samba setup for previewing openapi link. We need to add that logic.
Samba is mounted at /var/lib/jenkins on cosmicray so we need to decide if we still want to keep that or change the location of the mount

Done https://github.com/SatelCreative/satel-python-docker-tests/blob/230530ffb0845d3a919c7144ae61ca0a46e83e96/scripts/ValidateCode.sh#L15


examples/rwkv is missing the 'scripts' folder

The docker file has:
WORKDIR /build
COPY ./scripts/ .

but tring to build the rwkv-converter, I get:
 ---> Using cache
 ---> 42df0f584a8b
Step 4/6 : COPY ./scripts/ .
COPY failed: file not found in build context or excluded by .dockerignore: stat scripts/: file does not exist```

Is there something obviously wrong?

oops right, thanks for opening up the issue. I didn't had committed here but I had it here locally - fixing it in #196 !

thanks a ton!

I can confirm that this works now!

I can confirm that this works now!

awesome, thanks for the feedback @jprobichaud !


[Question] Are dashboard thumbnails generated periodically?

I have a question.
Thumbnails are shown as blank after they are timed out. All I need to do is to go to dashboard, and trigger the caching and thumbnail generation again.
Is there any way to configure, so that dashboard thumbnails generated periodically in the backend at specific time (saying in the midnight)? How can I configure it?

What version of Superset are you using?  What is your configuration?

@sfirke Thanks for your reply. I am using Superset 2.0.0. Just wonder if there is any way to generate thumbnails periodically without triggering the caching manually (i.e. visit the dashboard).

My understanding from browsing the Superset Slack chat is that cache warmup functionality has existed in the past but is currently broken.  See https://github.com/apache/superset/pull/21076 and its discussion which points to https://github.com/apache/superset/pull/20387.
Alas I am not even able to get thumbnails working myself b/c I'm on Azure and can't figure out how to adapt the existing code in the docs (for AWS) to work with Azure Blobs: https://stackoverflow.com/questions/74194960/use-azure-blob-storage-instead-of-s3-buckets-in-apache-superset-cache 😭


BugFix - Added missing connectionName.

When calling $this->fail() inside a RabbitMQ job it fails because the connectionName is NULL.
I have looked at how core laravel jobs does it and this is how. :)
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'connection' cannot be null (SQL: insert into failed_jobs (connection, queue, payload, exception, failed_at) .....

@vladimir-yuldashev will you move the 5.4 tag to include this?

@sazo Yes, a bit later as soon I will get to my computer. Did you test that driver still works? 😂

@vladimir-yuldashev Np - yeah i tested it on your development environment ;)

love the driver btw! :)

@sazo Released.


Upgrade lightwalletd used by Zebra

Currently Zebra uses https://github.com/adityapk00/lightwalletd for all the CI ligthwalletd tasks as can be seen in https://github.com/ZcashFoundation/zebra/blob/v1.1.0/.github/workflows/zcash-lightwalletd.yml#L61
This version does not include new code added by the ECC to support new functionality: https://github.com/zcash/lightwalletd
For example ChainMetadata was added to https://github.com/zcash/lightwalletd/blob/master/walletrpc/compact_formats.proto#L31 which is needed by https://github.com/ZcashFoundation/zebra/pull/7278
I am not sure yet if we can just switch to the ECC version or if we need to request the new changes to be done to the adityapk00 version.

I am not sure yet if we can just switch to the ECC version or if we need to request the new changes to be done to the adityapk00 version.

I think we should switch to the ECC version now.


SW-4998 Voting page with mock redux/data

TODO: redirect to project management page later
TODO: show conditional text for conditional votes (follow up with BE changes)

Nice work, this looks great!

Thanks @joshbuchea


Use Number.isNaN instead of isNaN, enable "no-restricted-globals" eslint rule

Airbnb's eslint disallows window.isNaN because of its confusing behavior: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isNaN#Description

Can you resolve the conflicts?


feat: added modal for settings

Features:

/summarize - Summarize the updates posted by engineers in the thread (in a format).
/scrum - Manually post the message for engineers to provide updates.
/agile-settings - Opens up the main modal to control all the different aspects of scheduling the above process.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I left a small comment in one file. We are not running a linter here so, it is important that you use it locally. For example: normally, we use strings with single quotes.
Other points: let's prefer i18n keys than hardcoded strings. Also, always take a look on error handling (both items could be added later if we have time left).
Another point (maybe for later if we have time), it would be nice to have tests here if possible. Remember: this is open source and, in the future, we can have contributors.

 Running a linter is very important. I've configured the same linter used in the core server docs to be used in the app.
As for the i18n files, I looked at a lot of other apps and the docs. It seems hard coded strings are the only way to go in places where i18nLabel prop isn't explicitly defined (for example - placeholder texts). I'll keep looking into it for the mean time.


Only scroll to the last visible item when a set is uneven and infinite = false

Presently, when infinite = false, and the carousel has an uneven set, it will slide to the end of the number of slides to show, even if the carousel doesn't have enough items to fill the space. Example below:

The correct behavior (IMO) should be the same as if infinite were true  - scroll until the end of the visible item, like this:

This PR does the following:

adds an example of an uneven set that is not infinite, and;
sets the offset so that it will only scroll to the last visible item.

@akiran thank you for merging. Can you also do a quick version bump and publish to npm when you have a moment?

@akiran @ryanbagwell is there a way to turn it off?


[ENH]: clarify non-included fields in .get() and .query() responses

Description of changes
Closes https://github.com/chroma-core/chroma/issues/300.
print(collection.get(...)) now looks like this:

Could use some opinions on this--is it too verbose? I figured it would be better to be consistent across all fields affected by include, but we could scope this to just embeddings for now as well.
This can probably be rolled into 0.5 as a potentially breaking change (embeddings is None will no longer work).
Test plan

[x] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Existing docs don't really give much details on how the response shape changes depending on include, so not necessary to update but might be nice to give additional details.

could you put a note in docs.trychroma.com/migration about it
https://github.com/chroma-core/chroma/pull/2028

w00t!

@codetheweb should we standardize this and add it to JS as well? (separate PR works for me)

should we standardize this and add it to JS as well? (separate PR works for me)

to be honest, I'm not sure, I feel like JS SDKs tend to use plain objects and no magic behavior much more heavily than Python SDKs, but maybe it makes sense for consistency
we could also improve the typings of the JS SDK so the return type is dependent upon the include parameter

Closing in favor of https://github.com/chroma-core/chroma/pull/2044.


feat(rspack): NormalModuleReplacementPlugin

Summary

fixes:  #3522
thanks #6023
Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

What about implement it in rust side and expose it to js side by builtin plugin, which has better performance

I have an idea about this plugin, when the second argument is a string, builtin plugin will have better performance, when it is a function, js plugin (queried hook) will reduce the amount of rust <-> js call, so js plugin will have better performance. Since this is compatible with the PR's implementation, so let's merge this and we can implement the optimization in the future

What about implement it in rust side and expose it to js side by builtin plugin, which has better performance

sry i just seen this.

when it is a function, js plugin (queried hook) will reduce the amount of rust <-> js call,

yes I was wondering if it's worth creating a Rust implementation of this plugin, considering that it seems to be just a wrapper for nmf's xResolve hooks.
a replacement function is more common, and the webpack document of this plugin is also guiding one to modify resource.request and createData.resource instead of returning a new value.


add tree-sitter CLI

I think I did this correctly, happy to adjust as necessary.

@mason-org/triage notify(Reason::NewPullRequest)
This comment ensures a notification is delivered to maintainers.
 🤖 This is an automated comment.    📖 Source code

I'll defer to your judgement and change it 🙂
Will update shortly.

Actually, I noticed that tree-sitter CLI does not offer a macOS ARM pre-built binary, only macOS x64. I'll push the commit so you can take a look at it, but based on this information, it may actually be better to use cargo, since compiling locally will produce a native binary for macOS ARM.

@williambotman /apply
diff --git a/packages/treesitter-cli/package.yml b/packages/treesitter-cli/package.yml
index a8b76ee..5e7e688 100644
--- a/packages/treesitter-cli/package.yml
+++ b/packages/treesitter-cli/package.yml
@@ -1,25 +1,35 @@
 ---
 name: treesitter-cli
-description: The Tree-sitter CLI allows you to develop, test, and use Tree-sitter grammars from the command line. It works on MacOS, Linux, and Windows.
-homepage: https://github.com/tree-sitter/tree-sitter/blob/master/cli/README.md
+description: |
+  The Tree-sitter CLI allows you to develop, test, and use Tree-sitter grammars from the command line. It works on
+  MacOS, Linux, and Windows.
+homepage: https://tree-sitter.github.io/tree-sitter/
 licenses:
-    - MIT
+  - MIT
 categories:
-    - Compiler
+  - Compiler

 source:
-    id<EMAIL_ADDRESS>-    asset:
-    - target: darwin_x64
-      file: tree-sitter-macos-x64.gz
-    - target: darwin_arm64
+  id<EMAIL_ADDRESS>+  asset:
+    - target: [darwin_x64, darwin_arm64]
       file: tree-sitter-macos-x64.gz
+      bin: tree-sitter-macos-x64
     - target: linux_x64
       file: tree-sitter-linux-x64.gz
+      bin: tree-sitter-linux-x64
+    - target: linux_x86
+      file: tree-sitter-linux-x86.gz
+      bin: tree-sitter-linux-x86
     - target: linux_arm64
       file: tree-sitter-linux-aarch64.gz
+      bin: tree-sitter-linux-aarch64
     - target: win_x64
-      file: tree-sitter-windows-x64.gz
+      file: tree-sitter-windows-x64.gz:tree-sitter-windows-x64.exe.gz
+      bin: tree-sitter-windows-x64.exe
+    - target: win_x86
+      file: tree-sitter-windows-x86.gz:tree-sitter-windows-x86.exe.gz
+      bin: tree-sitter-windows-x86.exe

 bin:
-    tree-sitter: cargo:tree-sitter-cli
+  tree-sitter: "{{source.asset.bin}}"

@williambotman /apply
diff --git a/packages/treesitter-cli/package.yml b/packages/tree-sitter-cli/package.yml
similarity index 90%
rename from packages/treesitter-cli/package.yml
rename to packages/tree-sitter-cli/package.yml
index 5e7e688..e12f24e 100644
--- a/packages/treesitter-cli/package.yml
+++ b/packages/tree-sitter-cli/package.yml
@@ -1,9 +1,9 @@
 ---
-name: treesitter-cli
+name: tree-sitter-cli
 description: |
   The Tree-sitter CLI allows you to develop, test, and use Tree-sitter grammars from the command line. It works on
   MacOS, Linux, and Windows.
-homepage: https://tree-sitter.github.io/tree-sitter/
+homepage: https://github.com/tree-sitter/tree-sitter/blob/master/cli/README.md
 licenses:
   - MIT
 categories:

Needs to merge with upstream to fix CI failure. Waiting for @williambotman to redeploy to latest version and after that he'll take care of it!

@williambotman /merge-base

Ah no so the CI was correct, the file extension should be .yaml, fixing

@williambotman /apply
diff --git a/packages/tree-sitter-cli/package.yml b/packages/tree-sitter-cli/package.yaml
similarity index 100%
rename from packages/tree-sitter-cli/package.yml
rename to packages/tree-sitter-cli/package.yaml


DatePickerButton: run closure on save

I am using a DatePickerButton to show dates I get from a server. When I change a date, I want to upload the new date to the server. This would be easier if I could run some code when the save button is pressed.
So in addition to DatePickerButton::new, it would be great to have something looking like this:
DatePickerButton::on_save(initial_date, |new_date| println!("do something with the date"))

The way it is supposed to work is:
let response = ui.add(DatePickerButton::new(…));
if response.changed() {
    println!("The date changed!");
}

if that doesn't work, then DatePickerButton is forgetting to set the changed flag, but that should be an easy fix.

I didn't realize I could use the change method. Unfortunately it doesn't work with the datepicker widget.


Single element Term.Block parsing simplification (change between 4.8.15 and 4.9.0)

It seems that a Term.Block containing single element is simplified to the element when parsing in 4.9.0 while the block is preserved in 4.8.15. I think it would be best if simplification is not done during parsing to preserve term syntax/structure consistency.
Here's an example that illustrates the behavior change (the assertion fails using 4.8.15 but passes using 4.9.0):
import scala.meta._

val term = Term.Apply(Term.Name("Foo"), Term.ArgClause(List(Term.Apply(Term.Name("bar"), Term.ArgClause(Nil, None))), None))
val parsedTerm = "Foo{bar()}".parse[Term].get
println(term)       // Foo(bar())
println(parsedTerm) // Foo{bar()}
assert(term.structure == parsedTerm.structure)

I also hit this behavior change when assessing the impact of scalameta 4.9.0 on the largest repo of scalafix community rules.
Might be related to https://github.com/scalameta/scalameta/pull/3517.
I don't have a strong opinion on whether it's a good or bad change, but I am eager to hear whether that behavior is here to stay or not, to decide if I should hold a Scalafix release.

Thanks @kitbellew! I assume you'll be tagging a 4.9.1 shortly to address all the early scalafmt 3.8.0 bug reports?

Thanks @kitbellew! I assume you'll be tagging a 4.9.1 shortly to address all the early scalafmt 3.8.0 bug reports?

soon. there's still one bug, filed under sbt-scalafmt.


Opening preferences when menu bar icon disabled

Hi, I just installed SpotMenu and was experimenting with preferences. I remember unchecking everything, and then I quit SpotMenu to get the changes to apply. Now I can't open preferences again, as there's no Menu bar icon, I don't see the Menu Bar change to "SpotMenu".  I've tried brew cask zapping, but there's no zap stanza. I've even tried removing the preferences plist, yet I don't see any sign of SpotMenu opening
SpotMenu version: v1.9
MacOS version: 10.15.5 (19F101)

open up the terminal.app and run this command defaults delete com.kmikiy.SpotMenu this should reset everything to the default settings. If you're running a newer version you might have to run this as well: defaults delete hu.kmikiy.SpotMenu

Neither of them exist :/

Ah wait... I think I got the issue. The menubar icon did exist, only it was invisible - I didn't realize it was there.
Thanks for your help. You may want to create a shortcut or some other way to open preferences


tests: llext: Exclude nrf52dk_nrf52832 platform from certain variant

Disable test variant that does not fit in RAM from executing on nrf52dk_nrf52832.

The right way to do this is a min_ram testcase property no? If we go excluding individual boards/platforms we're going to have a fairly long list I'd think. min_ram 128k should be an easy start to cutoff stuff like the 832

Use min_ram please

Sure, either works for me. Switched to mimimum RAM requirement instead.


URL Cleanup

This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
Fixed URLs
Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

[ ] http://www.apache.org/licenses/ with 2 occurrences migrated to:
https://www.apache.org/licenses/ (https result 200).
[ ] http://www.apache.org/licenses/LICENSE-2.0 with 117 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 (https result 200).

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: spring-operator sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Update some typos in email send quickstart sample snippets

Update some typos in email send quickstart sample snippets

@bashan-git

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


API Documentation is not available for only staff users

I wanted to make my api documentation available for staff users only, but there are flags for only authentication required and is_superuser in settings.
Is there a way we can do this ?

Finer levels of access granularity is now possible in v2 / DRF 3.4 using permission classes, or other custom checks on the api schema generator view.