Sometimes Android will crash.

Hello, I have encountered this problem now, how can I solve it?
AsyncTask #6(32962)
java.lang.RuntimeException
Methods marked with @UiThread must be executed on the main thread. Current thread: AsyncTask #6
1 io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(Unknown Source:36)
2 io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(Unknown Source:0)
3 io.flutter.embedding.engine.dart.DartMessenger.send(Unknown Source:60)
4 io.flutter.embedding.engine.dart.DartExecutor$DefaultBinaryMessenger.send(Unknown Source:3)
5 io.flutter.embedding.engine.dart.DartExecutor.send(Unknown Source:2)
6 io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler$EventSinkImplementation.success(Unknown Source:49)
7 k.b.a.a.a(Unknown Source:6)
8 k.b.a.a.b(Unknown Source:0)
9 k.b.a.a$a.a(Unknown Source:22)
10 com.facebook.applinks.a.c(Unknown Source:212)
11 com.facebook.applinks.a.a(Unknown Source:0)
12 com.facebook.applinks.a$a.run(Unknown Source:6)
13 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
14 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
15 java.lang.Thread.run(Thread.java:919)

Thank you very much, it really works.

Potential solution for that in FacebookDeeplinksPlugin.java:
  private void initFacebookAppLink() {
    Intent intent = getIntent();
    final Activity act = this.activityPluginBinding.getActivity();
    if (intent != null && intent.getAction() == Intent.ACTION_VIEW) {
      initialUrl = intent.getDataString();
      handleLink(initialUrl);
    }

    FacebookSdk.setAutoInitEnabled(true);
    FacebookSdk.fullyInitialize();
    AppLinkData.fetchDeferredAppLinkData(context,
      new AppLinkData.CompletionHandler() {
        @Override
        public void onDeferredAppLinkDataFetched(AppLinkData appLinkData) {
          if (appLinkData == null) {
            return;
          }
          initialUrl = appLinkData.getTargetUri().toString();
          act.runOnUiThread(() -> { // need to run on main thread
            handleLink(initialUrl);
          });
        }
      }
    );
  }

Thank you very much, it really works.


feat(med-activity): update json and template for medication activity

Jira: XDS-130
#22

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore: Update Windows cache

Remove omsagent win-ciprod06112021
Remove v1.19.11-hotfix.20210526-1int.zip
Remove windows-gmsa-ccgakvplugin-v1.1.1.zip since no customers use this
Add windows-gmsa-ccgakvplugin-v1.1.3.zip
Add azure-vnet-cni-singletenancy-windows-amd64-v1.4.13.zip

Hi, @AbelHu , whats the reason for removing this image "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:win-ciprod10112021" which I merged the PR with this change few hours back?


Write more generated files to model specific output directory

Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

This allows running more than one training at the same time.

Explicitly exposing the output directory to the user would be an additional new feature. I had not planned that in my commit to keep the user interface restricted to things which are really needed, but of course it can be easily added if desired.

Fixed merge conflict and added documentation manually (no shinclude) now.


Fix/webpacker assets not being served

Ever since the application.js file was altered in #523, we had problems in our test environments with assets not being served correctly (but not in localhost). Our docker setup did not include the public volume for mampf workers but only for the master container. So, within the last years, we basically accidentally always created two public folders in different containers and only one of them was served.
As the application.js file was altered, it was only available in the worker container where the assets:precompile task is executed. However, the static assets are only served from the specified public volume. The fix mounts the volume for the public folder into the worker docker container where the assets:precompile task is executed, so that the file can be served from any container that has also mounted the volume.
I originally tried this which did not work:
this medium post and this comment.

@tynsh I've requested a review from you: just if you've got time and want to take a look as you have originally introduced the docker setup.

We solved this problem in the server script that triggers the docker files, so this is not needed anymore and was actually not a good solution in the first place since the public volume does not have to be available to the workers and so it shouldn't. Instead nginx is in play here and does the magic serving the public files.


Search: calculation of the range

This technical story shuld get the answer how the calculation of the distanse range should work for the selection of search results in the circle.

Location (PLZ)
"+km" like 5 km
All Ads in the cirkle of 5km will be displayes as search results

See story #51 and #49
No estimate is added because we don't know if there is built in functionality for having radius for the map provider chosen for #51

Definition of Done

[ ] Story is tested against acceptance criteria
[ ] Unit test should be passed
[ ] Integration test is done ( if applicable)
[ ] Non-functional requirements are met
[ ] Story ok-ed by Product Owner
[ ] Peer Code Review performed
[ ] Any configuration or build changes documented
[ ]  Any database changes are documented Database

The tickets about "range and ratio" has stat "Parkplatz" becouse the story has to refined again and the stakeholders want the team to do more technical tickets instead of spending time in parts of the software that is not essential.


PSR-3: yii\log\Logger refactoring proposal

Hi guys.
This is related to #1660 and #1676.
I'm developing an extension to integrate Monolog with Yii2 logger - I believe it would be really cool to have all Monolog handlers supported by Yii2. And I came to an idea already how to make it 100% Yii-compatible and add all Monolog features. But I have another big problem now: PSR-3.
I know, it's decided that Yii2 logger will not support PSR-3, but current implementation does not allow even to extend it, and add such support in the extensions - interfaces mismatch:
PSR-3 requires:
log($level, $message, array $context = [])
while Yii2 has:
log($message, $level, $category = 'application')
I think we could try to make a small refactoring in order to make it possible for people who needs PSR-3 to have it working:

Rename class yii\log\Logger to yii\log\BaseLogger;
Rename method yii\log\BaseLogger::log() to yii\log\BaseLogger::logInternal();
Create class yii\log\Logger extends yii\log\BaseLogger that will implement method log():

public function log($message, $level, $category = 'application')
{
    $this->logInternal($message, $level, $category);
}

Such approach will allow to keep an existing API - no one will even notice changes. In the same time it will allow extension-makers to extend yii\log\BaseLogger and implement any of their dirty fantasies :)

@kop, :+1:
I can use this for better and cleaner way of logging to GrayLog.

@kop, will you try to implement this with adapter, as @creocoder mentioned in PR?

Hi, @RomeroMsk. Yes, I will definitely implement this idea soon. Just had no time to work on this yet.

@kop, ok, thank you, will wait.

current implementation does not allow even to extend it

You can extend yii\log\Logger or write your own. You can setup another logger usage via Yii::setLogger():
Yii::setLogger(Yii::createObject('MyLogger'));

Since discussion at #7556 proves proposed refactoring inconsistent. I can't see any issue here.

@klimov-paul, can you please explain where exactly we can use Yii::setLogger? I've found only one place: before $application->run(); in entry script. Maybe there is another way, not in git-ignored script?

It is up to you you can invoke it whenever after
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');

You may also use Application::boostrap for this purpose.

But I can't use it in common/config/bootstrap.php, as I wish. I'm getting blank page with ho errors in this case.

@klimov-paul, can you show a detailed working example of extended yii\log\Logger?
What I did:

Created common\components\Logger which extends yii\log\Logger (nothing inside, just dummy class).
Added this line to entry script, right before $application->run();:

Yii::setLogger(Yii::createObject('common\components\Logger'));

What I've got:
All logs which was writen after this line are missed. For example, if I look into debug toolbar, I see only first three framework traces:

Also I tried to add this line to my controller action before sending log message, just to see the difference. And I've got almost the same result (15 log messages instead of 3 and no logs after that).

Added this line to entry script, right before $application->run();:

This is too late. Yii::setLogger() should be invoked before Application::__construct().
Another way will be set logger explicitely to the yii\log\Dispatcher in the application config:
return [
    'components' => [
        'log' => [
            'logger' => new MyLogger()
        ],
    ],
];

@klimov-paul, and this variant I tried too. Blank page.

Well, I can not debug your program for you.
Enable error reporting at the earaly beginning of the program, set display_errors = on and see what is causing the problem.

Sorry, got this. I need to use another name for my class, not Logger.
Now I have no errors, but also no logs.
return [
    'components' => [
        'log' => [
            'logger' => new common\components\ExtLogger(),
            // Config of dispatcher: targets, traceLevel, etc.
        ],
    ],
];

<?php
namespace common\components;

class ExtLogger extends \yii\log\Logger
{
}

That's all I have. Did you try this way for yourself?

Look, this is not a forum - and I have other things to do, so I give you the last advice:
you should set Yii::setLogger() one way or another in order Yii::log() to use you logger instead of standard one. Disptatcher::logger is used to specify which logger should be used as a source.

I understand, how it must work, but it is not working. That's why I asked if you tried this for yourself.
You closed this issue telling that Yii2 have another way for logger extending, but there are no docs for this functionality and no working example for now.

I understand, how it must work, but it is not working.

Why so helpless? It is a shame to have a problem invoking single method at the correct place.

You closed this issue telling that Yii2 have another way for logger extending, but there are no docs for this functionality and no working example for now.

Fine, here you go:
<?php

error_reporting(E_ALL);
ini_set('show_errors', true);

// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

require(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');

class MyLogger extends \yii\log\Logger
{
    public function log($message, $level, $category = 'application')
    {
        parent::log($message, $level, 'OVERRIDDE!!!');
    }
}

$logger = new MyLogger();
Yii::setLogger($logger); // ATTENTION HERE!!!

$config = [
    'id' => 'basic',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log', 'debug'],
    'modules' =>[
        'debug' => [
            'class' => 'yii\debug\Module',
            'allowedIPs' => ['*'],
        ]
    ],
    'components' => [
        'request' => [
            'enableCookieValidation' => false,
        ],
        'user' => [
            'identityClass' => 'app\models\User',
        ],
        'errorHandler' => [
            'errorAction' => 'site/error',
        ],
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
    ],
];

(new yii\web\Application($config))->run();

there are no docs

Try to use your head instead! Documentation will NEVER cover EVERYTHING. There will be always some use cases, which are not described expliciltely.

Why so nervous? Not everyone has so broad experience. Don't know where my mistake was in variant with Dispatcher config, but Yii::setLogger() is working fine right now, after revision of my code with help of your example. Thanks, that's what I need.
And about documentation. I meant that there is nothing about Yii::setLogger(): how to use it and where to place it.

@RomeroMsk github is for issue and feature tracking. please use the forum, stackoverflow or IRC for such questions.


[Question] Transform autopy.bitmap.Bitmap into numpy.array?

Is there any way to transform autopy.bitmap.Bitmap into numpy.array?, I've been looking it up and trying a few things and failed.

I've listed an entry on the FAQ showing how to access the RGBA buffer as a bytes array. Is that a good enough starting point for numpy?

Sure thing, thanks!

👍 I've updated the homepage to link back to this and make it easier to find. Let me know if you run into anything else.


Clean VgtPagination code

Since I worked on a custom pagination component based on VgtPagination, I think it's possible to simplify/clean the code a little bit:

Delete useless variables/methods
Simplify some methods
Add pagesCount computed property (used in isNextPossible and VgtPaginationPageInfo)
Always go to 1rst page after changing per page (to avoid issue when current page is greater than last page) Fixed in https://github.com/xaksis/vue-good-table/issues/370

So I didn't add any feature (and any bug I think 🤞 ), but IMHO it will be easier to add new ones like first/last page buttons, display pages number...

@xaksis when you have time, could you have a look at this PR please?
If you think these modifications are not necessary, you can close it, no worries 😉

@VictorCazanave Thank you so much for this cleanup!

@xaksis You're welcome!
Your component is very useful for my project, so I'm glad to contribute 😃


fix issue when after mask change text in input won't change

Original issue was:

mask is set
user types in some symbols
mask changed
expected: new mask should be applied

actual: new mask isn't applied


"import" doesn't generate the specified collection if the source is a json file

Describe the bug
The import command doesn't generate the specified collection, if the source is a json file. Instead, an error message is shown.
To Reproduce
Steps to reproduce the behavior:
Run the following command, with example.json containing the json content from below.
$ synth import bank_db --from ~/example.json --collection users

Schema (if applicable)

The json content is a stripped-down version of the bank_db example.
{
  "users": [
    {
      "id": 1,
      "created_at_date": "2009-03-19",
      "created_at_time": "01:00:02",
      "credit_card": "346215176014733",
      "currency": "GIP",
      "email"<EMAIL_ADDRESS>      "is_active": false,
      "last_login_at": "2020-06-22T05:46:41+0000",
      "num_logins": 19,
      "password_hash": "eebed079e19dcf5b936e8ca5a648bee38e30bec02129790eabdd7084919d7972",
      "username"<EMAIL_ADDRESS>    }
  ],
  "transactions": [
    {
      "id": 1,
      "amount": 5001.7,
      "currency": "GIP",
      "timestamp": "2020-05-13T20:48:01+0000",
      "user_id": 1
    }
  ]
}

See error

Error: Was expecting a collection, instead got `[here comes the entire content of the json file mentioned above]`

Expected behavior
The file bank_db/users.json should be generated.
Environment (please complete the following information):
Linux

Closed in #60.


Navbar with fixed header/drawer breaks at certain screen widths

To reproduce:

Set browser window width to 1000px
Visit http://www.getmdl.io/components/index.html#layout-section/layout
Find the "Fixed header and drawer" example

Root cause may be related to the mdl-layout__header

https://github.com/google/material-design-lite/blob/master/src/layout/_layout.scss#L241-L244
    .mdl-layout--fixed-drawer:not(.is-small-screen) > & {
      margin-left: $layout-drawer-width;
      width: calc(100% - #{$layout-drawer-width});
    }

The drawer slides out at a screen width of 1025px, and the .is-small-screen class is added at  < 850px. Between 851px and 1024px, things look strange

Duplicate of #1185 and #1197 and fixed (but not merged yet) in #1186.

Closing as it should now be fixed. Thanks for the comment, @mspl13!


Update-examples

Closes #52, closes #54, closes #55.
We might need to revert what we did for the coverage because we get often this WARNING: a <= 0 from infer_kinetics and the result of fit in notebook 2 seems wrong

@ulysseherbach Simulating from a network parameter inferred by Hartree crash.
It happens inside the file bursty/base.py at line 66 with ValueError: scale < 0 or
at line 75 with ValueError: probabilities are not non-negative.

It seems kon and/or kon_bound returns negative value because I think the network parameter is not set correctly in hartree/base.py.

Was hartree returning normalized values before for a[0], a[1] ?
Do we need to divide them per degradation_rna ?

We might need to revert what we did for the coverage because we get often this WARNING: a <= 0 from infer_kinetics and the result of fit in notebook 2 seems wrong

OK I see, this is an important problem. In fact I think there are 3 distinct problems:

infer_kinetics seems broken indeed, so maybe we need to revert to previous version, at least temporarily?
Hartree used to return normalized values (a[0] and a[1] by definition) which is not the case now (I've just "fixed" it)
In fact there is a more important problem with Hartree (and all inference methods) : they should not define a new parameter (which will have default values and break everything...) but rather use (and modify in place) the NetworkParameter object from the related NetworkModel instance during fit call. What would be the best implementation for that? Maybe passing an existing NetworkParameter object to the Inference.runmethod?


feat(corelib): storage vectors iterators

Add IntoIterator implementations for storage vectors to enable iterator syntax, in for loops for example.

VecIntoIterator and MutableVecIntoIterator for direct iteration over StoragePath<Vec<T>> and StoragePath<Mutable<Vec<T>>>
PathableVecIntoIterator and PathableMutableVecIntoIterator for iteration over types implementing StorageAsPath into storage vectors (such as Vecs in Starknet contract storage structs)

Before:
for i in 0..vec.len() {
    let entry = vec.at(i);
}

After:
for entry in vec {
    // entry: StoragePath<T> or StoragePath<Mutable<T>>
}

Examples
use starknet::storage::{
    MutableVecTrait, PathableMutableVecIntoIterator, PathableVecIntoIterator, StoragePathEntry,
    StoragePointerReadAccess, StoragePointerWriteAccess,
};

#[starknet::contract]
mod contract_with_vec {
    use starknet::storage::Vec;
    #[storage]
    pub struct Storage {
        pub simple: Vec<u32>,
    }
}

fn vec_iter() {
    let mut mut_state = contract_with_vec::contract_state_for_testing();
    for i in 0..3_usize {
        mut_state.simple.append().write(i);
    };

    let state = @contract_with_vec::contract_state_for_testing();
    let mut i = 0;
    for entry in state.simple {
        assert_eq!(entry.read(), i);
        i += 1;
    };

    for entry in mut_state.simple {
        entry.write(0);
    };
}

This change is

Previously, orizi wrote…
i'm not sure this is actually a good idea for the time being - as this sort of hides the fact that the result vector may be very very large.
the original code at least very specifically needs to specifiy the fact that iteration over a whole section of a vector is required.
Maybe iterating over a specific range of the storage is a bit more sensible? - so both (mostly) easy but still very explicit?

True. But I would argue that the cognitive difference between 0..vec.len() and vec.into_iter() is not that big.
Also iterators provide benefits not only loop syntax sugar, they enable interesting functional patterns and composition.
Maybe we could make size-bounded operations more clear and explicit in the code, for example by forcing iterator instanciation with explicit bound with new patterns like vec.into_iter().take(vec.len())/vec.into_bounded_iter(vec.len())?
Thoughts?

Previously, orizi wrote…
do note that for x in vec would work as well - whish isn't as clear as .into_vec to most people probably.
the vec.into_bounded_iter(vec.len()) sound pretty close to the idea i suggested - vec.iter_range(4..89) and vec.into_full_iter_range() style thing.
So - not providing IntoIterator just specific functions providing iterators sound much better to my mind.

Will do, this makes sense.

corelib/src/iter/traits/iterator.cairo line 22 at r2 (raw file):
Previously, orizi wrote…
not sure this trait is required - why not add directly to the VecTrait.

I thought it could be potentially implemented by other types. If you think it's useless I can move it in VecTrait, or a separate VecIterTrait

corelib/src/iter/traits/iterator.cairo line 22 at r2 (raw file):
Previously, orizi wrote…
i think this is more relvant specifically for storage stuff - since in the usual case probably some combination of into_iter().skip(10).take(20) makes more sense.

Should I move the IntoIterRange trait to the vec module and rename it to VecIntoIterRange, or should I extend VecTrait and MutableVecTrait directly with the new iterators methods?

corelib/src/iter/traits/iterator.cairo line 22 at r2 (raw file):
Previously, gilbens-starkware (Gil Ben-Shachar) wrote…
Notice that this means that the impls will not be automatically found (is not near the trait nor the generic type) and thus it needs to be whereever it is used.

I also think it is nicer but yes the trait need to be used. Is there any pattern to "bring" automatically the trait in the scope of VecTrait?


[New rule] Azure.VMSS.DisablePasswordAuthentication

PR Summary
Closes #1635
This PR contains a new rule that checks Linux VMSS to ensure that password authentication is disabled.
Linux VMSS has the option to use SSH keys instead which is a better way to authenticate.

PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[ ] This PR is ready to merge and is not Work in Progress
Rule changes

[x] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

@BernieWhite
Do you mind taking a look and give some feedback before I add it in the changelog?
Do you think it's worth adding some ARM and Bicep examples and just try to slim down the template ref? Or is current rule documentation sufficient enough?
I will change the rule name as 35 was maximum, so building the module fails.

@BernieWhite
Do you mind taking a look and give some feedback before I add it in the changelog?
Do you think it's worth adding some ARM and Bicep examples and just try to slim down the template ref? Or is current rule documentation sufficient enough?
I will change the rule name as 35 was maximum, so building the module fails.

@bengeset96 Good idea. I like the rule.
Yes, if we can have a bicep / template example code that would be great. Although some rules doesn't currently have this, it's something that we need to clean up so all rules have good examples.
Generally, I just write a examples-*.bicep file in docs/ which can be easily copied and pasted to multiple docs in the future. Also it's easy to build the bicep code into the ARM example.
The VM version is called Azure.VM.PublicKey so maybe something similar.

@BernieWhite
Review can be done now. I have changed the name to Azure.VMSS.PublicKey so it has the "same" pattern as Azure.VM.PublicKey. I think the name makes sense.

@bengeset96 Just need to add this for CI to pass.

Was not aware, been added now!


The Space between the cards and the Heading text is not sufficient

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When an user navigates to the bottom of the website, the text space between the heading and the cards under the resource library.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @Suchitra-Sahoo,
I've noticed an issue with the website that I believe I can fix.
Could you please assign this issue to me for contribution under GSSoC'24?


does not work in a thread

minitest works fine in my app, but not in a thread.
let join_handle = thread::Builder::new().name("blah_thread".to_string()).spawn(move || {
let parent = SpanContext::random();
let root = Span::root("iio_thread", parent);
let _g = root.set_local_parent();
minitrace::Event::add_to_local_parent("blah()", || [("blah".into(), "blah".into())]);
The blah Event is never logged. Why is that?

Could you provide a complete minimal-reproducible example?


Lich Lord of Death localization

Describe the bug
The text for the lord of death is missing text. The player name is missing and the his/her is just a h. The Lord/Lady is just a L.
Screenshots

Couldn't get it to check gender in the level 1 options, so the description has been updated to be gender neutral.
I will go back and fix if I figure it out in the future but this will do for now.
Will be in the next update.


Switch the parsing mechanism to use jsonpath

We should switch the parsing mechanism of dry-parser to use jsonpath.
This will add countless layers of functionality with little implementation.

After some testing I've realized that switching to JsonPath will increase average parsing times by 20%.
This in conjunction with the fact that none of my tests involved querying leads me to believe that I'll be better off rolling my own functionality over relying upon something like jsonpath.


fix: the ordering of the contractMap key

Description
fix #2528
Your ENS/address:
0x5B0b82ECf7C4dA9906690023C1714Bf667EfaB32

@tmm I think this should fix the issue,

cc @tmm , I think the test failure might be a false positive?
Let me know if I can help. Would love to get deterministic build with wagmi cli.

@tmm can you let me know why the test is failing so that I can update the required file to fix test.

Looks like a false positive to me too, maybe can rebase to latest main to trigger a re-run

Just rebased on top of main, need to wait for authorization once again. @tmm

cc @jxom
this small changes fixes a significant issue for us. i think this affects many projects who are using wagmi cli seriously.
we need traceability in the sense that:

auditors review contracts
we rerun wagmi generate and verify no diff , so we know bindings match

currently that second step always generates a big diff due to random order
this small PR fixes that.

Thanks for working on this and appreciate the patience!


Running the code with GPU

Dear
First of all, I appreciate your work, that's awsome
I am running masa on the anaconda - windows. The code use almost all 32G RAM of my computer. it took around 45 minutes for analysing a 90 second video.
I would like to use 8g GPU of my computer for accelerating the computation time
Could you please help me how can I do this?
Sincerely

Dear Siyuanliii
Thanks for your respone. Actually, I tried my best to run the code under GPU, but it is not working unforetunatelly. All of needed steps to install GPU on my Anaconda (Windows version) have been done correctly.
Sincerely

I need more information to help you with this question. Have you installed the correct torch version for GPU? Have you done the check, for example, whether your GPU is available by torch.cuda.is_available()

Dear @siyuanliii
Thank you for your response, After running this code "torch.cuda.is_available()", I get True. Also by running this code "torch.cuda.get_device_name()", I get the name of my gpu "NVIDIA RTX A2000 8GB Laptop GPU"
When I run the following code from your code "python demo/video_demo_with_text.py demo/driving_10s.mp4 --out demo_outputs/driving_10s_outputs.mp4 --det_config projects/CO-DETR/configs/codino/co_dino_5scale_r50_lsj_8xb2_3x_coco.py --det_checkpoint saved_models/pretrain_weights/co_dino_5scale_lsj_r50_3x_coco-fe5a6829.pth --masa_config configs/masa-one/masa_r50_plug_and_play.py --masa_checkpoint saved_models/masa_models/masa_r50.pth --score-thr 0.3 --show_fps"
The code is run like the below image on my Anaconda (Windows version). some warnings are appears. maybe this wrning are the cause of this gpu issue.

Dear @RecardoLyu
Simply you can solve this problem.
Firstly open the code of "video_demo_with_text.py" at the folder of "demo".
Next, delete or comment the lines code of 8, 37,38,39,40,41,42 (actually this is a function).


Integration Test - Release - 2022/06/16 08:13:17

Auto create for integration test. IssueCommandFlow

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser


Seperator should be Separator

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
This PR introduced a new Seperator type: https://github.com/microsoft/devhome/pull/3154. Probably just my OCD, but correct spelling would be Separator.
Expected result
No response
Actual result
Seperator misspelled.
Included System Information
No response
Included Extensions Information
No response

Good reminder to turn of Visual Studio's spell checker!


Magento EE feature "Gift wrapping" not supported

This feature is not yet supported and should be added.
I do have more information, if needed, reach out pls.
Best wishes
Daniel

There is a pull request on the eu branch to add the support, please review: #227

@jonahellison to review and merge all outstanding pull requests

Added CE/EE Gift Message and EE Gift Wrapping support.


Upgrade ipywidgets

This fixes a bug where the last selected atom was not synced when unselected.  Note that we're upgrading to a beta version.

Also upgrading MDT: https://github.com/Autodesk/molecular-design-toolkit/pull/114

@avirshup Easy review needed please.  For upgrading ipywidgets to fix the bug we discussed here: https://github.com/Autodesk/notebook-molecular-visualization/issues/32

:+1:


[Android] Change the order of XWalkHitTestResultInternal

[Android] Change the order of XWalkHitTestResultInternal in reflection_generator.py
BUG=XWALK-6878

@lincsoon Please have a review

BUG=XWALK-6678? Please double check.

Changed it already, thanks

@lincsoon Please have a review, thanks

I can't see any change of the commit log

@lincsoon Added the blank line before bug number as you said, I can see the changes

You need modify the file locally and then git push -f  again instead of just change the contents in this PR.
I see this commit message is

[Android] Change the order of XWalkHitTestResultInternal
in reflection_generator.py

BUG=XWALK-6878

It's should not your real purpose, right?

@xzhan96 Got it, already change the commit log, thanks


#passing data

•	Create two different applications let’s say Application1(.exe) and Application2(.exe)
•	Application1 should have two textbox textBox1 and textBox2.
•	Application2 also have textBox1 and textBox2.
•	User need to give the input (data) in textboxes.
•	When the data enter by user in textBox1 of application1 should simultaneously show in textBox2 of application2 without pressing any button.
•	Passing data between applications is done by the system.
•	The View of data from one application to another application should be the output.
•	Same as when data enter by user in textBox1 of application2 should simultaneously show in textBox2 of application1.
•	The conditions applied are the system should not use any database or files to store data.

Don't know exactly what you are trying to achieve here, but one way to do it is using SignalR and connecting the 2 apps. Look here -> https://dotnet.microsoft.com/apps/aspnet/real-time
Despite it says ASP.NET you can use in any platform where dotnet runs, actually.

I'm closing this as it's not related to repo


ffmpeg stream all formats video

Hi,
It's possible to use https://github.com/damianociarla/node-ffmpeg for stream all video formats ?

To browser ? I don't think it possible ALL format yet
x264: all major browser support x264
VP9: safari not support it yet
x265: no browser support it yet

@gabrielpf Thanks for the link to that module. This functionality doesn't belong in webtorrent. In the browser it wouldn't work, since that's a native module. In webtorrent-cli, your video player (like VLC) will support many or all possible formats. In WebTorrent Desktop, we already have issues discussing how to increase codec support.


Provide hints on the type of mappings provided to the Dart VM.

The Flutter Engine creates multiple mappings on Dart VM and Isolates initialization. However, not all regions in these mappings have the same usage and lifecycle requirements. Some are read-only while others are executable. Some are needed for the entire lifetime of the VM or Isolate while others can be freed immediately.
Ideally, the engine would have discrete mappings for each usage and precisely manage the lifecycle of each mapping on its own. However the number, size, and mechanism to generate these mappings is not fixed. This significantly complicates application packaging. These mappings are also internal implementation details in the VM.
The VM would like to provide advice to the operating system on how it intends to use various regions within the larger mappings. This is primarily done with platform specific calls like madvise. However, this is currently not possible today because VM doesn’t know how the mapping was created. All the engine gives the VM today is a pointer to the mapping and its size. With just this information, the VM cannot guarantee that the advice it gives the operating system is sound.
For instance, in the case of madvise and MADV_DONTNEED on Linux & Darwin, anonymous private mappings will be zero-filled. This will mess up subsequent uses of the mapping.
The engine already has knowledge about the types of mappings it gives the VM. This is done via subclasses of the pure virtual fml::Mapping in the engine. The engine and the VM should coordinate on a mechanism for tagging these mappings when they are provided to the the VM.
This approach should yield observable reductions in the memory usage of Flutter applications on platforms where the madvise call (or its platform specific implementation) is supported and implemented.

@rmacnak-google @a-siva: Let me know if I missed something from our conversation yesterday. cc @jason-simmons @zanderso who are looking into similar issues with engine managed snapshots.

Is there anything left to do on this? Should we close it?

I believe we can close it.


Patched the Expensify-common

fixes the code formatting issue
@kadiealexander @stephanieelliott Please review it. I have submitted the PR to Expensify-common  https://github.com/Expensify/expensify-common/pull/316 which is approved and merged by @marcaaron. This PR patches the lib version here.
Details
After testing I found out the using   chars instead of spaces are creating one big line which as a result will break into new lines on the browser or rendering engine's mercy. Usually, the result would be that words will break into multiple lines. So I have replaced the   to   on  ExpensiMark.js which Preserves the backward compatibility for other apps and resolve this issue.
Fixed Issues
Fixes Expensify/Expensify.cash#993
Tests
Go to the chat screen and add any report comment enclosed between (framed by ```\n) . The word should wrap to the next line properly.
for example -
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent viverra feugiat ipsum sit amet dapibus. Donec eu euismod metus, viverra tempor lacus. In semper, magna vel eleifend ultrices, nisi turpis facilisis metus, ac tristique nisi sem non est. Quisque tempus turpis vitae lectus maximus tincidunt. Fusce tempor nisl et condimentum lacinia. Sed tellus arcu, commodo vitae lorem et, tincidunt porttitor -- magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum sem tellus, tempus in vulputate a, tempor eleifend massa. Morbi a dolor ut est tincidunt consectetur non at justo. Nullam sem erat, gravida in ipsum ac, facilisis faucibus ex. Morbi venenatis turpis justo, vitae interdum sapien venenatis quis. Duis dictum ornare -- massa, ac mollis quam sagittis non. Vivamus metus tellus, ultricies eu metus vel, pharetra vulputate nunc. Nulla nec ex ac orci dignissim imperdiet.
Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Similiar results on other platforms.

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA

@marcaaron Could you please merge it? you have already reviewed it.
Thanks

@marcaaron Could you please merge it? you have already reviewed it.
Thanks


Simple build fixes for firebase build chain.

Some issues with the build have been noted while developing another branch. Can we please have the main build branch fixed for compilation to allow us to remove the noise from the build chain.
Cheers,
Jason

I fixed this in #218


[Enhancement] ImageResourceExtension with cache

private static readonly Dictionary<string, ImageSource> Cache = new Dictionary<string, ImageSource>();

        public string Id { get; set; }

        public object ProvideValue(IServiceProvider serviceProvider)
        {
            if (Id == null)
            {
                return null;
            }

            return GetImageSource(Id);
        }

        public static ImageSource GetImageSource(string value)
        {
            if (value == null)
            {
                return null;
            }

            if (Cache.TryGetValue(value, out var imageSource))
            {
                return imageSource;
            }

            var newImageSource = ImageSource.FromResource(value, typeof(ImageResourceExtension).GetTypeInfo().Assembly);
            Cache.Add(value, newImageSource);
            return newImageSource;
        }

[ ] I am willing to take this on myself
[x] Just putting this out there for someone to pick up

Hi @angelru and thanks for your interest in this project)
Unfortunately, I don't think this extension will be helpful.

ImageSource (FileImageSource in this case) doesn't contain content. It contains only info (Path) about the image resource.
This extension will cause memory leaks cuz it retains objects but doesn't release them.

CC @jfversluis @pictos

thanks!


Alignments and Sound Correspondence Patterns

[x] modify cognate sets
[x] align data (store intermediately)
[ ] do correspondence pattern analysis

Alignmens are now here. @antipodite, maybe you can check if you can also run the code? Description in the worfklow, script is in abvdoceanic_commands/align.py, running is just:
$ cldfbench abvdoceanic.align

In general, it is straightforward to add more commands to this dataset by contributing new scripts to abvdoceanic_commands.

Able to run code, had a read of the script, seems pretty straightforward.


[CU-8686tz0mx] Updates AssociateModels to use search index for suggestions

Task linked: CU-8686tz0mx Suggested Resources selection adjustments


Is MaxThreads limitation necessary?

class XZOutputStream has a constant value
private const int MaxThreads = 8;
I think the multi-thread config should be decided by user.
For example, I'm going to write some C# app using xz to archive some log files on a server which has 40 cores -- yes, a very powerful server, so I hope to use 32 threads to do the compression in parallel :)
In case when user has set an irrational number of threads, we can use Trace.TraceWarning to issue a warning message.

A good idea indeed. I will implement this ASAP (though it would take some time)

I have created a pull request :)

Accepted #5


Solve the annoying problem of always selecting the coordinates nearby

Change all the position selecting commands to floored select.
Plzzz approve this pull request or fix by your own!

It is so confusing

Sorry that I was my first time I uses GitHub pull requests. I will create another branch and a pull request with less confustions.


Maven error building with profile autoInstallPackage

I'm getting a maven dependency error for plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 when trying to build after creating a new project. I'm running 6.4 locally.
I try building with mvn clean install -PautoInstallPackage then get an error.
Full error:
[INFO] Scanning for projects...
[WARNING] The POM for com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 is missing, no dependency information available
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @
[ERROR] Unknown packaging: content-package @ com.andy.nbapageflow:nbaPageFlow.ui.apps:[unknown-version], /home/andy/Dev/nbaPageFlow/ui.apps/pom.xml, line 34, column 16
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @
[ERROR] Unknown packaging: content-package @ com.andy.nbapageflow:nbaPageFlow.ui.content:[unknown-version], /home/andy/Dev/nbaPageFlow/ui.content/pom.xml, line 34, column 16
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project com.andy.nbapageflow:nbaPageFlow.ui.apps:1.0-SNAPSHOT (/home/andy/Dev/nbaPageFlow/ui.apps/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: content-package @ com.andy.nbapageflow:nbaPageFlow.ui.apps:[unknown-version], /home/andy/Dev/nbaPageFlow/ui.apps/pom.xml, line 34, column 16
[ERROR]
[ERROR]   The project com.andy.nbapageflow:nbaPageFlow.ui.content:1.0-SNAPSHOT (/home/andy/Dev/nbaPageFlow/ui.content/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: content-package @ com.andy.nbapageflow:nbaPageFlow.ui.content:[unknown-version], /home/andy/Dev/nbaPageFlow/ui.content/pom.xml, line 34, column 16
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

Steps to reproduce:
I created a new project based on the archtype via the command line:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
 -DarchetypeGroupId=com.adobe.granite.archetypes \
 -DarchetypeArtifactId=aem-project-archetype \
 -DarchetypeVersion=15 \
 -DarchetypeCatalog=https://repo.adobe.com/nexus/content/groups/public/

then I try to build using:
mvn clean install -P autoInstallBundle,autoInstallPackage to AEM 6.4 and get the error
I don't get the error when I do a plain mvn clean install
The repo for the project is here: https://github.com/andyklimczak/AEM-NBA-create-page-flow. It's a prototype project and doesn't contain any changes from the mvn archetype.
Thank you!

You need to add the Adobe Nexus to your Maven settings.xml as described here: https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/ht-projects-maven.html

@godanny86 That just makes sure it's activated. It needs to be defined either in settings.xml or in the project's [parent] pom.xml

The archetype already adds the profile to the project's reactor pom.xml and it should activate automatically: https://github.com/Adobe-Marketing-Cloud/aem-project-archetype/blob/master/src/main/archetype/pom.xml#L315-L360
Adding -Padobe-public will force it to activate anyway.

@andyklimczak I too was facing the same issue. I created a dummy project using AEM archetype 20. I'm using AEM 6.5.
mvn clean install was runing fine but when I tried to deploy it on the running instance it threw the same error. The command I typed was mvn clean install -PautoInstallPackage. But using mvn -PautoInstallPackage -Padobe-public clean install worked.
I don't know why the former command failed and gave the error:
[ERROR] Unknown packaging: content-package @ line 34, column 16 [ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @  [ERROR] Unknown packaging: content-package @ line 34, column 16 [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin biz.aQute.bnd:bnd-maven-plugin @ line 240, column 25  @  [ERROR] The build could not read 2 projects -> [Help 1] [ERROR]    [ERROR]   The project com.ttn.bootcamp:com.ttn.bootcamp.training.ui.apps:1.0-SNAPSHOT (/home/rohit/aem/com.ttn.bootcamp.training/ui.apps/pom.xml) has 2 errors [ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2] [ERROR]     Unknown packaging: content-package @ line 34, column 16 [ERROR]    [ERROR]   The project com.ttn.bootcamp:com.ttn.bootcamp.training.ui.content:1.0-SNAPSHOT (/home/rohit/aem/com.ttn.bootcamp.training/ui.content/pom.xml) has 2 errors [ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:1.0.2 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:1.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2] [ERROR]     Unknown packaging: content-package @ line 34, column 16 [ERROR]  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException rohit@Rohit-Kapoor:com.ttn.bootcamp.training $


Allow overriding the secret at validation

When supporting multiple facebook apps you don't always know the secret at boot. This allows you to specify at validation time.

Coverage remained the same at 100.0% when pulling 84668be73ed97f552d78d3ad2958378b0dc2d35a on ilkovich:allow_overriding_secret into 65b9c6c77f91aa152f50f4b4fdaa7c25d615df09 on alexcurtis:master.


Preconditions for middleware module

This PR introduces preconditions for middleware module. Using Preconditions class from already present Guava. Also refactored factory to use overloading and added tests.

Lgtm nice refactor.


Fix PHP example: use ternary operators

Thanks. I just learned that || works slightly different in PHP than it does in JavaScript.


Update documentation website to reflect latest version

The website only has Scala Doc for version 0.6 (stable) and 0.7 (snapshot) releases. However, it is my understanding that version 0.8.1 has been released.
In addition the examples on the home page seem to use an API which does not exist anymore in version 0.8.1

Please disregard the last part of the above description about some parts of the API disappearing. I did not think that I needed to depend on a specific backend in order to make a description for a service, but it would appear I do.
Still, it would be nice if the website was updated to provide a link towards the scaladoc of the new releases.

We've automated the deployments of the scaladoc, but not the generation of the menu.  Thanks for catching this!
I'm not quite sure what you mean about a "specific backend for a description of a service."  An HttpService can stand alone and be mounted to any backend.  Do you mean abstracting the server configuration itself (e.g., port)?

I was trying to say that it appeared to me yesterday (maybe I screwed something up) as though I needed to add a dependency to a specific backend before I could create a HttpService because if not the class was not present in http4s-dsl jar.

Ah, okay.  I want to document which modules are necessary for which tasks, so I'm going to leave this open to make things clearer.
http4s-server is the bare minimum to define an HttpService.  Most applications will want to depend on either rho or http4s-dsl, which pull in http4s-server transitively.  And then to run it, you would typically add your choice of http4s-blaze, http4s-jetty, http4s-tomcat, each of which is also built on http4s-server.
I think a diagram of the modules would help a lot here.


Fortune Recording Oracle - Integration with Exchange Oracle

Description
Develop a method of integration with Exchange Oracle.
Motivation
We would like to make Exchange Oracle and Recording Oracle work together using HTTP method.
Implementation details

[ ] Develop a public controller without authorization
[ ] Process the response input received from the Exchange Oracle (uniqueness, curses-free)
[ ] Save the teller answer to local storage
[ ] Save the teller answer to s3 bucker JSON file and receive url to the JSON file
[ ] Get encrypted url as hash
[ ] Emit IntermediateStorage(url, hash)event in an escrow contract
[ ] Trigger Reputation Oracle and send answers in current chunk, if the chunk size is reached. Size of chunk is 5 by default.

For 164 "Trigger Reputation Oracle if all answers are received" I think trigger reputation oracle every chunk. where chunk is a configurable amount of answers. By default set to 5

I don't think the url needs to be encrypted since the data can be optionally encrypted


Removing weekends in Month view.

According to #415, removing the weekends from the Month view would require a significant rewrite. Is this still the case?
This is a hard requirement for the project I am working on. If not supported, I'd appreciate any suggestions for alternative libraries. My current search has been unsuccessful.

It's probably still a lot of work to rewrite as a custom view, but probably a fairly minimal  addition to the core library if you want to submit a PR. I don't have much experience with other libraries, but there are really only a couple, this, full-calendar...and some other paid ones


Remove the redundant WaitForConnected in qps client

This WaitForConnected() was removed by #12856, but added back by #12362.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Asan C++: #12510, #13081
Basic Tests C++ Linux [dbg]: #13080
Basic Tests C++ Linux [opt]: #12510, #13115, #13081, #13080
Tsan C++: #12510, #13089


compute a better destination filename when slicing multiple files

Something smarter.  For example, if there are 3 files that all start with the same prefix, change the output file name default to:
prefix_all.gco
Or if the models loaded are 3 of the same thing:
modelfile_x3.gco

Done in this branch: https://github.com/kennethjiang/OctoPrint-Slicer/compare/master...eyal0:better_destination_filename

Pretty good now.  Will reopen if I get new ideas.


Simplify IndexAsync Abstraction to Infer Index Name from TDocument Type

Hi Elasticsearch .NET Client team,
I have a suggestion for simplifying the IndexAsync method abstraction. Currently, the method requires specifying the index name explicitly, even though the type information and its corresponding lowercase representation are already known. This can be simplified to reduce boilerplate code and improve usability.
Current Implementation:
public Task IndexAsync<TDocument>(TDocument document, CancellationToken token)
    => client.IndexAsync(document, index => index.Index(typeof(TDocument).Name.ToLower()), token);

or
public Task IndexAsync<TDocument>(TDocument document, CancellationToken token)
    => client.IndexAsync(document, (IndexName)typeof(TDocument).Name.ToLower(), token);

Proposed Implementation:
public Task IndexAsync<TDocument>(TDocument document, CancellationToken token)
    => client.IndexAsync(document, token);

In the proposed implementation, the IndexAsync method should internally infer the index name from the type of TDocument and convert it to lowercase. This change will streamline API usage by eliminating the need for users to specify the index name manually.
Rationale:

The type of TDocument is already available within the method.
Elasticsearch typically works with lowercase index names, so this can be inferred automatically.
Reduces repetitive boilerplate code for users.

Some implicit operators are available for index name inference, but they aren't commonly utilized because lowercase naming conventions are not standard in .NET. Naming conventions typically use PascalCase or camelCase, and it doesn't make sense to enforce lowercase conversions in every call manually.
This enhancement will make the API cleaner and more intuitive for developers. I hope you will consider this improvement for future releases.
Thank you for your attention to this suggestion.

Hi @AntonioFalcaoJr,
thanks for the feature request. What version of the Elasticsearch client are you currently using? I'm asking because there already is an IndexAsync overload in the ElasticsearchClient that supports index name inference:
public virtual Task<IndexResponse> IndexAsync<TDocument>(TDocument document, CancellationToken cancellationToken = default)

To use this method, you must specify the desired default index during initialization like this:
var settings = new ElasticsearchClientSettings(new Uri("https://..."))
	.Authentication(new BasicAuthentication("elastic", "..."))
	.DefaultMappingFor<Person>(x => x.IndexName("person")); // <- Set default index for 'Person'

var client = new ElasticsearchClient(settings);

await client.IndexAsync(new Person());

The implicit derivation of a lowercase index name from a specific type is problematic. We try to follow the principle of "explicit before implicit" to avoid as many surprises as possible. Not everyone uses an index name that is simply a lowercase representation of the entity name. Also, sometimes the same entity is stored in different indexes. For this reason, we want the user to explicitly configure the default index once during initialization.
Please let me know if that works for you 🙂

I'm using version 8.13.12.
The values that guided the choice make sense to me.
A default index is not a thing that we're interested in. We're looking for a more dynamic approach. But thanks anyway.
By the way, once we have an implicit operator from IndexName and Id to string, we no longer need the overload with string; it's not gonna work anyway:

The values that guided the choice make sense to me.
A default index is not a thing that we're interested in. We're looking for a more dynamic approach. But thanks anyway.

👍

By the way, once we have an implicit operator from IndexName and Id to string, we no longer need the overload with string; it's not gonna work anyway:

I would rather say it works too good 😄 Both IndexName and Id have implicit conversion operators from string. This unfortunately causes an ambiguity for which I have not yet decided how to solve it.
As a workaround you can either cast to e.g. IndexName like you did above, or specify the argument name explicitly:
=> client.IndexAsync(document, index: "index-name", token);


⚡Optimized canonicalHash in ECDSA

Description

Optimized for happy path
Remove malleability check for (r, vs)

Checklist
Ensure you completed all of the steps below before submitting your pull request:

[x] Ran forge fmt?
[x] Ran forge snapshot?
[x] Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

@Vectorized This implementation reduced 42 bytes from current codesize.


{darwin.trash,rpm,dash,jwhois}: fix on aarch64-darwin

Motivation for this change
Some more easy Apple Silicon fixes. I was hoping that fixing rpm would make diffoscope work, but unfortunately it just fails more cryptically now.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 137741 at f3ede855 run on aarch64-linux 1

3 packages marked as broken and skipped:

clmagma
python38Packages.mkl-service
python39Packages.mkl-service

3 packages failed to build:

dash
tests.haskell.writers
wmii_hg

1 package skipped due to time constraints:

libmodulemd

33 packages built successfully:

aliza
clair
createrepo_c
diffoscopeMinimal
doodle
dsseries
dtrx
epkowa
epm
epson-201106w
flatpak-builder
gnunet
gnunet-gtk
hydra-unstable
jwhois
libdnf
libextractor
libsolv
microdnf
nice-dcv-client
perl532Packages.RPM2
perl534Packages.RPM2
postscript-lexmark
python38Packages.libmodulemd
python38Packages.osc
python38Packages.rpm
python39Packages.libmodulemd
python39Packages.osc
rpm (python39Packages.rpm)
rpm-ostree
rpmextract
taler-exchange
taler-merchant

4 suggestions:

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/tools/networking/jwhois/default.nix:17:15:
   |
17 |   patches = [ ./connect.patch ./service-name.patch ];
   |               ^

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/tools/networking/jwhois/default.nix:26:3:
   |
26 |   meta = {
   |   ^

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/tools/networking/jwhois/default.nix:17:31:
   |
17 |   patches = [ ./connect.patch ./service-name.patch ];
   |                               ^

warning: unclear-gpl
gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/tools/networking/jwhois/default.nix:29:5:
   |
29 |     license = lib.licenses.gpl3;
   |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


Amazon Seller - Order Status Prediction

https://www.kaggle.com/datasets/pranalibose/amazon-seller-order-status-prediction

I would like to contribute to this issue. I can use linear regression, logistic regression and svm models for prediction. Kindly assign this to me.
I am a GSSoC '22 participant

Hii,
I would like to contribute to this issue
@pratishthaa can you assign me this issue?

Can you assign me this issue I will use some algorithms to do this task

Hii, I would like to contribute to this issue @pratishthaa can you assign me this issue?

@heymansi do you need more time?.

My exams are going on so I will need some more time

Hi @pratishthaa,
I'm really excited about the project and would love to be a part of it. Drawing from my experience with similar projects in the past, I'm confident that I can bring valuable insights and contribute effectively. If possible, I'd appreciate being assigned to the project. Looking forward to your response. Thank you!

Can you assign this project to me I would like to work on it under gssoc24

Hello I would like to contribute to this issue. I have good understanding on regression models .I can work on it plz assign me the issue.

Hi,
I am GSSOC'24 Contributor and I would like to work on this issue. Can you please assign me the issue?


Removing params alias for the query option in data fetching composables

Describe the feature
Currently, data fetching composables accept search params via two properties: query and params, where params is an alias for query. It would be great to settle on one of them for consistency. As this would be a breaking change, it's probably best to address it in the next version of Nuxt.
Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

I would go with params, because that's how it's called in axios, and it is still a popular data fetching library. Also, query has a different meaning if someone is used to VueQuery or GraphQL.

This would be needed in ofetch on the first place https://github.com/unjs/ofetch/blob/244fb6a720478a8e834f4e2715f8cef866802440/src/fetch.ts#L110-L115

Personally, I think 'query parameters' is the full accurate version here, but there are other kinds of parameters, such as route parameters (as in Nitro). So 'query' would be most specific. But this is an upstream ofetch decision to make; we just inherit the types from ofetch.
Thoughts @pi0?

Let's run a poll https://twitter.com/pi0/status/1748316340627067181

Closing to track upstream in ofetch 🙏


[Bug] Add OpenNARS-style Distributor in Bag

Describe the bug
Higher priority items in Bag should have higher frequency of being picked with lower priority items still having a chance at being selected but much lower than high priority items. This is related to attention and resource allocation.
To Reproduce
Behavior in OpenNARS seems different and closer to what I expected. On 10 takes, I consistently get 6/4 instead of 0/10 or 1/9 in PyNARS. On 100 it's about 50/50.
// b = new Bag(100, 1000, nar.narParameters)
public void testBagPriority(final Bag<NullItem,CharSequence> b) {

    final NullItem na = new NullItem(0.9f);
    final NullItem nb = new NullItem(0.8f);

    b.putIn(na);
    b.putIn(nb);
    b.putIn(new NullItem(0.21f));
    b.putIn(new NullItem(0.24f));
    b.putIn(new NullItem(0.25f));
    b.putIn(new NullItem(0.26f));
    b.putIn(new NullItem(0.27f));
    b.putIn(new NullItem(0.28f));
    b.putIn(new NullItem(0.23f));
    b.putIn(new NullItem(0.22f));

    int hi = 0;
    int lo = 0;
    for (int i = 0; i < 10; i++) {
        final NullItem item = b.takeOut();
        if (item == na || item == nb) {
            hi += 1;
        } else {
            lo += 1;
        }
        b.putIn(item);
    }
    System.out.println(hi + "\t" + lo);

Additional context
Add any other context about the problem here.

Hi Maxi, can you clarify the numbers about the current behavior vs. expected behavior in each system?

Hi Maxim, can you clarify the numbers about the current behavior vs. expected behavior in each system?

Yeah, so this is following our discussion over email earlier. Basically, if we have a bag with 10 items, 2 high priority and 8 low priority, and then we perform take 10 times, currently in PyNARS the high priority items will get picked less than 10% of the time. In OpenNARS the two high priority items get picked consistently about 60% of the time which is what we want.
Also, see my comment on the PR for some neat graphs :)


predict() support for segmentation models and more

Here we go again with predict() support for segmentation models.
What have I done on top of former PR:

Deprecated SegToTensor in favor of SegConvertToTensor. Old class disallow it's creation and raise an error to leave no options other than migrate. The SegToTensor was doing /255 and HWC->CHW which could cause many unwanted issues since /255 was performed only when input is byte dtype. There are many cases when image dtype can change unintentionally. Moreover, SegToTensor had to be applied first and only after SegNormalize. And it was breaking preprocessing in predict().
Introduce SegStandardize
Add missing default preprocessing params for other segmentation models
Improves visualization of segmentation mask when the task is binary segmentation
Implement missing methods across the segmentation transforms
All recipes updated to use SegConvertToTensor

Very nice! a few minor comments. Does this support long video (like the new implementation in object detection)?

Yes, the way video prediction is implemented is actually pretty nice since all the tasks support long video processing automatically.


Add Lens instances for Raylib types

The types in Raylib.Types feature many nested records. It would be nice to be able to access them using lenses. If there is interest, I can try to do it myself.

Well I just did a pull request anyway! Feel free to refuse it, it will still be useful for me.


PR for the feature to_be_prd to dev branch

Since lint and tests are failing this PR should not get merged. But... hope still lives in.

LGTM 🎉


RedTubePlugin.php Make sure the URL has http:

Sometimes the video URL starts with // and it fails to load in the player, here is a fix:
$video = (preg_match('/^\/\//is', $video)) ? "http:".$video : $video;

I'm pretty sure proxify_url function inside vid_player takes care of that //:
https://github.com/Athlon1600/php-proxy-plugin-bundle/blob/402b9e47870216b780bac76df8941bc2065d8dc3/src/utils.php#L19
can you find a page on redtube where you see this not being handled properly?


error: asdf on juliaup update

➜  juliaup git:(main) juliaup update
Installing Julia 1.8.3+0.aarch64.apple.darwin14
Creating symlink julia-beta~aarch64 for Julia 1.8.3+0.aarch64.apple.darwin14.
Symlink julia-beta~aarch64 added in /Users/anand/.juliaup/bin/julia-beta~aarch64. Add this directory to the system PATH to make the command available in your shell.
Installing Julia 1.8.0-beta3+0.x64.apple.darwin14
Creating symlink julia-1.8.0-beta3~x64 for Julia 1.8.0-beta3+0.x64.apple.darwin14.
Symlink julia-1.8.0-beta3~x64 added in /Users/anand/.juliaup/bin/julia-1.8.0-beta3~x64. Add this directory to the system PATH to make the command available in your shell.
Installing Julia 1.8.0-beta1+0.x64.apple.darwin14
Creating symlink julia-1.8.0-beta1~x64 for Julia 1.8.0-beta1+0.x64.apple.darwin14.
Symlink julia-1.8.0-beta1~x64 added in /Users/anand/.juliaup/bin/julia-1.8.0-beta1~x64. Add this directory to the system PATH to make the command available in your shell.
Creating symlink julia-release for Julia 1.8.3+0.aarch64.apple.darwin14.
Symlink julia-release added in /Users/anand/.juliaup/bin/julia-release. Add this directory to the system PATH to make the command available in your shell.
Installing Julia 1.8.0-beta1+0.aarch64.apple.darwin14
Creating symlink julia-1.8.0-beta1~aarch64 for Julia 1.8.0-beta1+0.aarch64.apple.darwin14.
Symlink julia-1.8.0-beta1~aarch64 added in /Users/anand/.juliaup/bin/julia-1.8.0-beta1~aarch64. Add this directory to the system PATH to make the command available in your shell.
Installing Julia 1.8.0-beta3+0.aarch64.apple.darwin14
Creating symlink julia-1.8.0-beta3 for Julia 1.8.0-beta3+0.aarch64.apple.darwin14.
Symlink julia-1.8.0-beta3 added in /Users/anand/.juliaup/bin/julia-1.8.0-beta3. Add this directory to the system PATH to make the command available in your shell.
Error: asdf
➜  juliaup git:(main)
➜  juliaup git:(main) juliaup status
 Default  Channel              Version                Update
---------------------------------------------------------------------------------------------------------------
          1.7~aarch64          1.7.2+0.aarch64
          1.8.0-beta1~aarch64  1.8.0-beta1+0.aarch64  Update to 1.8.0-beta1+0.aarch64.apple.darwin14 available
          1.8.0-beta1~x64      1.8.0-beta1+0.x64      Update to 1.8.0-beta1+0.x64.apple.darwin14 available
          1.8.0-beta3          1.8.0-beta3+0.x64      Update to 1.8.0-beta3+0.aarch64.apple.darwin14 available
          1.8.0-beta3~x64      1.8.0-beta3+0.x64      Update to 1.8.0-beta3+0.x64.apple.darwin14 available
       *  beta~aarch64         1.8.3+0.aarch64        Update to 1.8.3+0.aarch64.apple.darwin14 available
          release              1.8.3+0.aarch64        Update to 1.8.3+0.aarch64.apple.darwin14 available

I removed all but one channel (keeping the default used above), and it seems like update worked.
Maybe there is an issue with having multiple channels pointing to the same version.

Just ran into the same thing (I think)

Can we also improve the text of this error message?


Problems with RMT reception when Wi-Fi STA mode in use (IDFGH-13146)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
ESP-IDF v5.2.2
Espressif SoC revision.
ESP32C6 v0.0
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
Custom Board
Power Supply used.
Battery
What is the expected behavior?
Our application requires coexistence between Wi-Fi STA mode and RMT (RX only).
We are using esp-rainmaker and IR remote to control LED lights driven by LEDC PWM driver.
We want the IR remote to also be usable when the Wi-Fi STA mode is active.
What is the actual behavior?
With the Wi-Fi function disabled, the IR reception is flawless.
I have used the example from esp-idf/tree/master/examples/peripherals/rmt/ir_nec_transceiver, and simply disabled the TX functions.  It works 100% perfectly with an off-the-shelf IR remote.
However, as soon as Wi-Fi is active, the reception becomes very unreliable, I assume because of timing issues.  I can see from the logging that usually there is only a single bit error in the received codes, but it is fairly consistently like that when Wi-Fi is enabled.
I saw there is another issue opened about using RMT to drive LEDs while using Wi-Fi, but the suggestion to use the second core is not helpful here because the C6 is only single core.
I tried to increase the rx_channel_cfg.mem_block_symbols to 96, it seemed to help a little, but not enough.
Can you suggest any way around this issue?
Steps to reproduce.
Enable Wi-Fi STA mode (esp-rainmaker) + RMT RX example.
ir_nec_transceiver_main.zip
Debug Logs.
No response
More Information.
No response

How long is the RMT packet you want to receive?
If you only use one RMT channel, then try rx_channel_cfg.mem_block_symbols = 192; to use all the memory blocks in the RMT peripheral.

@suda-morris, thanks for the quick reply.
The transmitting remote sends 16-bit address and 16-bit command, so the NEC RX example was set up perfectly.
I'm only using one RX channel
I tried setting rx_channel_cfg.mem_block_symbols = 192; but on calling rmt_new_rx_channel I get:
E (847) rmt: rmt_rx_register_to_group(140): no free rx channels
E (847) rmt: rmt_new_rx_channel(215): register channel failed

followed by an abort() due to unhandled error 0x105 returned.  Is there a formula between command lengths and the mem_block_symbols I need to follow?

Ah sorry, my bad. Since the only RMT channel 2-3 can be used for RX, so actually it can only use 2 memory clock at most. That is 96 (on esp32c6).
If the protocol is NEC, I think 2 memory block, which contains 96 words, should be sufficient for a NEC packet. The driver should not goes into the interrupt handler too frequently. Weird.

OK thanks, as part of trying the RMT_ISR_IRAM_SAFE, I discovered I had commented a line which warned of an unknown NEC frame.  What is actually happening is that something is generating spurious RMT RX noise while the Wi-Fi is up, I can see it after un-commenting the log.  It may be hardware related, so I will check it some more, but thanks again.


Service token support

vk introduced new way of requesting the api with service token
Things to do:

Support service_token option for API instance
Add vk_requests.create_api factory method support

Released in v1.0.0
Check README for more info


README needs to be more useful

It should at least document:

How to install the Ember CLI addon
How to update the Ember CLI addon
How to find the Demo
Which components are available
The basics of how to theme the addon

I'm working on this one.


Search by cmdlet

Add to tags of all sample data to search by cmdlet/commands used within the scripts
Ensure the list is distinct
Check impact to the master sample gallery

Implemented. Closing.


Errors for input tags in template strings

A simple demo:
app({
  model:  'hello',
  view: model => html`<div><input type="text" value="anything"></div>`
})

... errors out with:
TypeError: undefined is not an object (evaluating 't.data')
See here http://codepen.io/anon/pen/mRKJdZ
It can be simplified even further: just a plain <input> with no attributes has same result. Also trying to close it various ways ( <input />, <input></input> ... ) makes no difference.
Looks like it happens in the hyperx part of the code. However, I'm not familiar enough with hyperx to debug it or know how to submit a bug report to them. Or perhaps I'm doing something fundamentally wrong?

I added a check for valid/present sub-nodes in PR #23, but like you said, there is likely a bug in hyperx creating these undefined tree nodes.

@zaceno #17 was a regression. I just fixed it and pushed a working release. Thanks for reporting!
Let me know if you're good now so I can close this.

We'll be more careful in the 🙇 future!

@jbucaran All good, you may close this issue. Kudos for the swift response!


Increase the usage of augmented assignment statements

:eyes: Some source code analysis tools can help to find opportunities for improving software components.
:thought_balloon: I propose to increase the usage of augmented assignment statements accordingly.
diff --git a/zmq/_future.py b/zmq/_future.py
index d5b991b..4aa4f72 100644
--- a/zmq/_future.py
+++ b/zmq/_future.py
@@ -577,7 +577,7 @@ class _AsyncSocket(_Async, _zmq.Socket):
     def _drop_io_state(self, state):
         """Stop poller from watching an io_state."""
         if self._state & state:
-            self._state = self._state & (~state)
+            self._state &= ~state
         self._update_handler(self._state)

     def _update_handler(self, state):
diff --git a/zmq/decorators.py b/zmq/decorators.py
index d3a55eb..b14c44d 100644
--- a/zmq/decorators.py
+++ b/zmq/decorators.py
@@ -71,7 +71,7 @@ class _Decorator(object):
                             " argument '{1}'".format(func.__name__, kw_name)
                         )
                     else:
-                        args = args + (obj,)
+                        args += (obj,)

                     return func(*args, **kwargs)

diff --git a/zmq/eventloop/zmqstream.py b/zmq/eventloop/zmqstream.py
index 6bc37ff..956a88d 100644
--- a/zmq/eventloop/zmqstream.py
+++ b/zmq/eventloop/zmqstream.py
@@ -517,12 +517,12 @@ class ZMQStream(object):

     def _add_io_state(self, state):
         """Add io_state to poller."""
-        self._state = self._state | state
+        self._state |= state
         self._update_handler(self._state)

     def _drop_io_state(self, state):
         """Stop poller from watching an io_state."""
-        self._state = self._state & (~state)
+        self._state &= ~state
         self._update_handler(self._state)

     def _update_handler(self, state):

Closing and blocking this spam bot issuing disruptive PRs all over GitHub.


PhoneGap Build - cli-6.3.0 gives wrong icon for iPhone 6

The issue is already raised as part of ticket#636 but marked as closed however the issue is appearing on the iphone 6 till to the date. Please guide me what is wrong as app deployed on iphone(through adobe phonegap build) is showing incorrect app icon. Someone mentioned to add 2 more icons but issue still exist even after adding icons sized 58px and 87px square. It still showing cordova/phonegap icon instead of the one defined in the config.xml

Hi @amitdangwal,
I am unable to reproduce this issue myself using PhoneGap Build. Can you try updating your config.xml to use the following format.
https://cordova.apache.org/docs/en/latest/config_ref/images.html#ios
Essentially just remove the platform attribute from each icon tag and put all the iOS icons in a platform tag.

Hi @surajpindoria,
Issue is resolved and the concern was that the image resolution was not same as mentioned in config and that is why it was not picking the given image for me. I corrected the images and added with correct resolution. It was not the issue in CLI 5.2 but 6.3 seem to be more strict.
Warm Regards,
Amit Dangwal


I  find blaze has no acceleration effect？why

spark version 3.3.3
this  is spark  conf with blaze
spark.executor.memory 5g
spark.executor.memoryOverhead 3072
spark.blaze.memoryFraction 0.7
spark.blaze.enable.caseconvert.functions true
spark.blaze.enable.smjInequalityJoin false
spark.blaze.enable.bhjFallbacksToSmj false
this  is  spark  conf  without blaze
spark.executor.memory 6g
spark.executor.memoryOverhead 2048
driver-memory 4G
num-executors  6
I find ， There is not much difference between Spark sql job with and without blaze,
using 100G  tpcds parquet  data,  running spark-sql like  query4  query5, query16 query17  in the picture ,The speed difference is not significant between using blaze and not using.Even for the same spark-sql job with blaze or without blaze, running it three times, The time consumption is also different each time

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

thanks ,this maybe the reason.But on the other hand, there is a limit 100 at the end of each query sql. Could this also be the reason for the unstable running time? Because the limit 100 only needs to take the 100 pieces of data from the final calculation result. Maybe every time it is run, the last one obtained 100 pieces of data are all different

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

thanks ,this maybe the reason.But on the other hand, there is a limit 100 at the end of each query sql. Could this also be the reason for the unstable running time? Because the limit 100 only needs to take the 100 pieces of data from the final calculation result. Maybe every time it is run, the last one obtained 100 pieces of data are all different

i suggest testing with a larger dataset with isolated cluster to get stable benchmark result. most time is taken in driver side and the performance is not stable if the dataset is too small.

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

thanks ,this maybe the reason.But on the other hand, there is a limit 100 at the end of each query sql. Could this also be the reason for the unstable running time? Because the limit 100 only needs to take the 100 pieces of data from the final calculation result. Maybe every time it is run, the last one obtained 100 pieces of data are all different

i suggest testing with a larger dataset with isolated cluster to get stable benchmark result. most time is taken in driver side and the performance is not stable if the dataset is too small.

thanks ,maybe you are right,now the data I  use  tpcds to generate 100 G text data,then transformer it to parquet format ,spark resources is 3*8g executor + 4g driver ,as show in the picture ,query4 sql run thre times,the largest time is  993s,small time is 802,this is not stable.Next I will do as you suggest

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

thanks ,this maybe the reason.But on the other hand, there is a limit 100 at the end of each query sql. Could this also be the reason for the unstable running time? Because the limit 100 only needs to take the 100 pieces of data from the final calculation result. Maybe every time it is run, the last one obtained 100 pieces of data are all different

i suggest testing with a larger dataset with isolated cluster to get stable benchmark result. most time is taken in driver side and the performance is not stable if the dataset is too small.

By the way, what are the num executor and executor core values for Spark job during the following  official testing
https://github.com/kwai/blaze/blob/master/benchmark-results/20240202.md

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

thanks ,this maybe the reason.But on the other hand, there is a limit 100 at the end of each query sql. Could this also be the reason for the unstable running time? Because the limit 100 only needs to take the 100 pieces of data from the final calculation result. Maybe every time it is run, the last one obtained 100 pieces of data are all different

i suggest testing with a larger dataset with isolated cluster to get stable benchmark result. most time is taken in driver side and the performance is not stable if the dataset is too small.

By the way, what are the num executor and executor core values for Spark job during the following official testing
https://github.com/kwai/blaze/blob/master/benchmark-results/20240202.md

we use the setting spark.executor.cores 5 which is the same to production conf.

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

thanks ,this maybe the reason.But on the other hand, there is a limit 100 at the end of each query sql. Could this also be the reason for the unstable running time? Because the limit 100 only needs to take the 100 pieces of data from the final calculation result. Maybe every time it is run, the last one obtained 100 pieces of data are all different

i suggest testing with a larger dataset with isolated cluster to get stable benchmark result. most time is taken in driver side and the performance is not stable if the dataset is too small.

By the way, what are the num executor and executor core values for Spark job during the following official testing
https://github.com/kwai/blaze/blob/master/benchmark-results/20240202.md

we use the setting spark.executor.cores 5 which is the same to production conf.

spark.executor.cores  is  5, and  what is the number of executor?

did you run the benchmark on a isolated cluster? it looks like the sql time varies greatly, may be resources issue?

I use  15executors2core +1driver core=31 CPUs and 158g executor+2g driver=122g of memory to run spark jobs. The resources are sufficient. Each job is run three times, but the running time is still different each time. The speed difference between using and not using blaze is almost the same. Does this plugin really work?

I built the environment of spark3.3.3 and blaze2.0.8， then i did some tests based on 100G tpcds data，however，I did not receive any benefits compared to not using blaze as well.This is my login command:
spark-sql --master spark://xxxx:xxxx --conf spark.sql.extensions=org.apache.spark.sql.blaze.BlazeSparkSessionExtension --conf spark.shuffle.manager=org.apache.spark.sql.execution.blaze.shuffle.BlazeShuffleManager --conf spark.blaze.enable.smjInequalityJoin=true

By the way, the plan tree shows that the plugin is indeed effective，plans are converted to native plan but the query time does not decrease.

it's likely related to some hard-written configurations, for example shuffle compression is fixed to zstd in blaze, while spark uses lz4 as default. in low IO latency environment blaze will take more time on compression and slow down the performance.
we are working on a new version which should work on spark's default compression. you can benchmark tpch this branch: https://github.com/kwai/blaze/tree/3.0.0-preview1 (not completed, has some bugs on tpcds)


Error on 8.x.x - fatal: refusing to merge unrelated histories

Troubleshooting

[✅] I've searched discuss.bitrise.io for possible solutions.
Which version of the step is effected? 8.x.x
Is the issue reproducible with the latest version? YES
Does the issue happen sporadically, or every time? EVERY TIME
Is the issue reproducible locally by following our local debug guide? NOT APPLICABLE

Useful information

FAQ
devcenter.bitrise.io

Issue description
Since I started using the git-clone version 8.x.x my scripts started to showing me this error message: "fatal: refusing to merge unrelated histories", when I'm trying to do a merge to the master branch.
If I change the git-clone version to 7.x.x or below, it works fine.
Bitrise info

Build URL: iOS build
Bitrise Support enabled: YES
Log:

[18:56:28]: $ .././release_finish.py -b
[18:56:28]: ▸ HEAD is now at a9b4df8 *****
[18:56:28]: ▸ HEAD is now at a9b4df8 *****
[18:56:28]: ▸ Previous HEAD position was a9b4df8 *****
[18:56:28]: ▸ Switched to branch 'release-*****'
[18:56:28]: ▸ Your branch is up to date with 'origin/release-*****'.
[18:56:28]: ▸ Switched to a new branch 'master'
[18:56:28]: ▸ branch 'master' set up to track 'origin/master'.
[18:56:29]: ▸ Warning: Permanently added 'gitlab.com' (*****) to the list of known hosts.
[18:56:29]: ▸ Already up to date.
[18:56:29]: ▸ fatal: refusing to merge unrelated histories

Steps to reproduce
This happens when I create a release branch from develop, then I do a commit and push on this release branch. After that I merge into develop and when I'm going to merge this into Master I receive this error message.
I believe if we create a new Workflow with these steps(using different branches) we might have the same error. I don't want to run this particular one because this is the Workflow that sends a new Build to AppStore.

Hi @pedrosilva88 , could you try setting the Clone depth under the Clone options to 1000 and rebuild? Let us know how it goes! :)

It's working for now. Closing the issue, thanks for the support.


Issue Setting Up Processing Server

I have been trying to set up the processing server on my desktop by following the instructions at https://3dlg-hcvc.github.io/multiscan/read-the-docs/server/index.html#installation.
I have run into some issues, but have gotten to the cmake Build and Install step. When trying to execute cmake in the build directory, there is an error stating CMakeLists.txt is not found. I tried copying the CMakeLists.txt from the parent multiscan folder into build folder, but when running cmake I get
No download info given for 'segmentator' and its source directory:
~/multiscan/build/segmentator
is not an existing non-empty directory.  Please specify one of:

SOURCE_DIR with an existing non-empty directory
DOWNLOAD_COMMAND
URL
GIT_REPOSITORY
SVN_REPOSITORY
HG_REPOSITORY
CVS_REPOSITORY and CVS_MODULE
Call Stack (most recent call first):
~/anaconda3/envs/multiscan/share/cmake-3.24/Modules/ExternalProject.cmake:4170 (_ep_add_download_command)
CMakeLists.txt:128 (ExternalProject_Add)

Thank you @MatthewSabia for reporting the issues.
We found the issue is caused by the wrong PREFIX defined in the CMakeLists.txt for the segmentator. The prefix was set to CMAKE_CURRENT_SOURCE_DIR, but it is not correct, it should be the BUILD_DIR.
The issue should be fixed in the new commit. Can you try out the new commit, and let us know if the issue is fixed?
Thank you!

I removed the cloned repository from my computer then re cloned it, copied the CMakeLists.txt file into the build folder and tried again, but I am still getting the same issue once I run the same cmake command. Am I missing a step somewhere?

Hi @MatthewSabia , I think you don't need to copy the CMakeLists.txt into the build folder, the CMakeLists.txt will be cloned and be in the root directory of the repo.


added space before #

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Access-VBA/readme.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


remove polyfills

the only reason i could see for keeping these is so that apps that use this add on and that are pre v2.5 can have these polyfills. but that should be up to those app owners. Also i am not sure if devDependencies propergate when you publish an ember addon.

@billybonks I mean to support previous versions with these, but you are right, they will not get shipped since they are devDeps. Since no one has complained about this, I think removing them is fine. Can you please update yarn.lock as well?

i guess we should keep them in because otherwise your tests won't run :).

https://travis-ci.org/shipshapecode/ember-shepherd/jobs/347335793

@billybonks do you want to move them to deps instead of devDeps?

i would be just concerned that if they are in deps a 3.0 app wouldn't pull them in haven't looked through the broccoli funnels of ember-cli but i think they are quite eager

@billybonks a 3.0 app doesn't need the polyfills

And embercamp knows this so it will probably just if ignore the dependency.
Sure I'll open a pr that moves it to dependencies
On Fri, 2 Mar 2018, 01:11 Robert Wagner<EMAIL_ADDRESS>wrote:

@billybonks https://github.com/billybonks a 3.0 app doesn't need the
polyfills
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shipshapecode/ember-shepherd/pull/196#issuecomment-369662325,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABkGyMnbTCUaN-rRfozxhlW-qiel7xCSks5taCurgaJpZM4SW5K7
.

I'm not sure what you mean. It won't ignore the dep. It will pull in the dep and polyfill as needed.

ye that's what i meant :)
On Fri, Mar 2, 2018 at 12:28 PM Robert Wagner<EMAIL_ADDRESS>wrote:

I'm not sure what you mean. It won't ignore the dep. It will pull in the
dep and polyfill as needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shipshapecode/ember-shepherd/pull/196#issuecomment-369816766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABkGyDpk3BcM5Sn4XBQs7N9f100uNg2bks5taMpWgaJpZM4SW5K7
.

@billybonks so we still need to move them to deps then, if you'd like to open a PR. If not, I can just move them over real quick.


New domain

@suchencjusz First stage of verification passed, official domain for Zespół Szkół Techniczno-Usługowych w Trzebini is zstu.edu.pl as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@suchencjusz Thank you for your patience while waiting for a review and processing your request. Pull request merged.


rpc: improve error message in submitblock

split previous conditional statement into 2
check that block both starts with and contains a coinbase transaction

utACK; I ran it, but I am not spending the time with a hex editor to make a one-off malformed block, although I'd love to see someone build a malformed block with the Python framework and verify the resulting error message.


Address PR comments on return omission.

Addresses two issues identified by Slava in the already merged return omission PR.  The 5.1 version of https://github.com/apple/swift/pull/24546.

@swift-ci please smoke test and merge

@swift-ci please clean smoke test

@swift-ci please smoke test and merge

@swift-ci please test and merge


Fixing protocol mismatch

What's this PR do?
tell us, what have you changed?
How should this be reviewed?
tell us, how can we review, to test that this works
Any background context you want to provide?
what else?
Relevant tickets
Fixes #
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love.

Mind doing a quick test and try this:
`//${API_HOST}${API_PORT ? ':' + API_PORT : ''}${API_VERSION}`

If you use just the // before the start of a URL I believe the browser then will decide what it needs to use http or https when it makes the request.

seems to work locally, cant test for HTTPs obviously. I can push it up & merge to find out?

cool 👍 give it a whirl :)


fix error when only using a subset of qubits in error mitigation

Summary
Align qubit usage between measurement error mitigation and main circuits when only using a subset of qubits on a device.
Details and comments
When we would like to use a subset of qubits on a device, we usually keep our codes as is and then specify initial_layout to let terra to map the logical qubits to the physical qubits; however, the circuit generated from measurement error mitigation package will create a register with size max(qubit_index) instead of the number of logical qubits; thus, it will result in the initial_layout used for the main circuits be incompatible to the circuits created for error mitigation.
This PR reverts the behavior of measurement error mitigation package by always providing the qubit  index from 0 to the number of logical qubits and then use the qubit mapping from the circuits that are transpiled by the user-specified initial_layout

Fixes #744


resort transactions in controller

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   99.05%   99.05%
=======================================
  Files          41       41
  Lines         953      953
=======================================
  Hits          944      944
  Misses          9        9

Impacted Files
Coverage Δ

app/controllers/api/transactions_controller.rb
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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