[Help] v6.0.0-alpha DataTables as Service

Hey Guys,
Need help on testing v6.0.0-alpha version of datatables. This version will have the following features:

Provides DataTable Service.
Provides artisan command for creating a service. php artisan datatables:make UsersDataTable
Provides artisan command for creating a DataTable scope. php artisan datatables:scope ActiveUserScope
Provides built-in support for server-side buttons. (Formerly TableTools).

Available buttons are csv, excel, pdf, print.
Built-in support for exporting to CSV, EXCEL and PDF using Laravel-Excel.
Built-in printer friendly view or create your own by overriding printPreview() method.

I also created a quick tutorial on how to implement this new features.
Feedbacks/suggestions are welcome.
Thanks in advance.
@yajra

For those interested to help. Please use dev-develop branch instead. Will keep pushing bug fixes/patches on that branch. Thanks!

How would we extend the buttons to create our own actions like the default JS allows? What about buttons for extending Editor?

For custom button actions, I think we just need to create a new custom-buttons.js file that will just extend the defaults. Just include the custom buttons after buttons.server-side.js and I guess it would register the custom as the default button action.
For editor, I don't have any idea on it atm as my trial copy already expired and haven't played with it at all. :(

Well I mean really wouldn't a function that accepted a JSON encoded variable work for editor actions?
The create, edit,  remove is what would be really awesome.
https://editor.datatables.net/examples/extensions/exportButtons.html
or
allow the action function
https://datatables.net/extensions/buttons/custom

I kinda get what you mean. I was thinking of it too but one thing I can't figure out is how I can send a function from php/json to js. Currently, what I am doing is I create a js for the custom button and include it on the html builder function like:
(function ($, DataTable) {
    "use strict";
    DataTable.ext.buttons.receive = {
        className: 'buttons-receive',

        text: function (dt) {
            return dt.i18n('buttons.receive', 'Received');
        },

        action: function (e, dt, button, config) {
            var rows = dt.rows({selected: true}).data().pluck('id');
            var selected = [];
            for (var i=0; i < dt.rows({selected: true}).count(); i++) {
                selected.push(rows[i]);
            }

            if (!confirm('Confirm?')) {
                return;
            }

            $.post('post-receive', {id: selected}, function(json) {
                dt.ajax.reload();
            });
        }
    };
})(jQuery, jQuery.fn.dataTable);

public function html()
{
    return $this->builder()
        ->columns([
            'id',
            'name',
            'email',
            'created_at',
            'updated_at',
        ])
        ->parameters([
            'dom' => 'Bfrtip',
            'buttons' => [
                    [
                        'extend'  => 'collection',
                        'text'    => 'Export',
                        'buttons' => [
                            'csv',
                            'excel',
                            'pdf',
                            'print',
                        ],
                    ],
                    'reset',
                    'reload',
                    'release',
                ],
        ]);
}

If you have an editor, then just extend it as it is on js and convert to as a php array. I hope what I'm saying makes sense as I am still adopting on buttons and editor too. LOL.

Actually no I don't really get you mean extend on JS and send to php? Lol

Justin Toler

On Oct 1, 2015, at 6:11 AM, Arjay Angeles<EMAIL_ADDRESS>wrote:
I kinda get what you mean. I was thinking of it too but one thing I can't figure out is how I can send a function from php/json to js. Currently, what I am doing is I create a js for the custom button and include it on the html builder function like:
(function ($, DataTable) {
"use strict";
DataTable.ext.buttons.receive = {
className: 'buttons-receive',
    text: function (dt) {
        return dt.i18n('buttons.receive', 'Received');
    },

    action: function (e, dt, button, config) {
        var rows = dt.rows({selected: true}).data().pluck('id');
        var selected = [];
        for (var i=0; i < dt.rows({selected: true}).count(); i++) {
            selected.push(rows[i]);
        }

        if (!confirm('Confirm?')) {
            return;
        }

        $.post('post-receive', {id: selected}, function(json) {
            dt.ajax.reload();
        });
    }
};

})(jQuery, jQuery.fn.dataTable);
public function html()
{
return $this->builder()
->columns([
'id',
'name',
'email',
'created_at',
'updated_at',
])
->parameters([
'dom' => 'Bfrtip',
'buttons' => [
[
'extend'  => 'collection',
'text'    => 'Export',
'buttons' => [
'csv',
'excel',
'pdf',
'print',
],
],
'reset',
'reload',
'release',
],
]);
}
If you have an editor, then just extend it as it is on js and convert to as a php array. I hope what I'm saying makes sense as I am still adopting on buttons and editor too. LOL.
—
Reply to this email directly or view it on GitHub.

Lol. Let me try to explain it using an example. ^_^
On js file, buttons parameters are set like below:
buttons: [
            { extend: 'create', editor: editor },
            { extend: 'edit',   editor: editor },
            { extend: 'remove', editor: editor },
            {
                extend: 'collection',
                text: 'Export',
                buttons: [
                    'copy',
                    'excel',
                    'csv',
                    'pdf',
                    'print'
                ]
            }
        ]

We can convert this to php by using array.
'buttons' => [
    [ 'extend' => 'create', 'editor' => 'editor' ],
    [ 'extend' => 'edit',   'editor' => 'editor' ],
    [ 'extend' => 'remove', 'editor' => 'editor' ],
    [
        'extend' => 'collection',
        'text' => 'Export',
        'buttons' => [
            'copy',
            'excel',
            'csv',
            'pdf',
            'print'
        ]
    ]
]

One thing though, I don't know how to passed a value on json response from php as an equivalent function to javascript. Like if we want to override the action function of button via server-side script.
$.fn.dataTable.ext.buttons.reload = {
    text: 'Reload',
    action: function ( e, dt, node, config ) {
        dt.ajax.reload();
    }
};

To PHP?
'buttons' => [
    'text' => 'Reload',
    'action' => function ( e, dt, node, config ) {
        dt.ajax.reload();
    }
]

This is what I ended up doing for now.
DataTable.ext.buttons.create = {
        action: function (e, dt, button, config) {
            dt.editor()
                .buttons([
                    'Create',
                    { label: 'Cancel', fn: function () { this.close(); } }
                ]).create();
        },
        text: function (dt) {
            return dt.i18n('buttons.create', 'Create');
        }
    };

    DataTable.ext.buttons.edit = {
        action: function (e, dt, button, config) {
            dt.editor()
                .buttons([
                    'Edit',
                    { label: 'Cancel', fn: function () { this.close(); } }
                ]).edit( dt.rows({ selected: true }));
        },
        text: function (dt) {
            return dt.i18n('buttons.edit', 'Edit');
        }
    };

    DataTable.ext.buttons.remove = {
        action: function (e, dt, button, config) {
            dt.editor()
                .buttons( 'Confirm delete' )
                .message( 'Are you sure you want to remove this row?' )
                .remove( dt.rows({ selected: true }));
        },
        text: function (dt) {
            return dt.i18n('buttons.remove', 'Remove');
        }
    };

'buttons' => [
                    [ 'create', 'edit', 'remove'],
                ]

Awesome feature (Y)
Is it possible to access the Data Serices from a controller? Avoiding the usage of UsersDataTable class

Unfortunately, I think it's not possible not to use UsersDataTable class because all the magic are stored on yajra\Datatables\Services\DataTable class. That is also the main reason why I planned to release this as v6.x as the flow/style will significantly change from v5.x.
Yes, I will be using datatables scope and extract most of the functions that are previously done on Controller to DataTable class. This way, our controller's footprint will be as small as single line of code in a method.
Lastly, thanks for showing interest on this planned new features. ^_^

Is there a reason for returning the queries object in the Ajax call? I'm not too fond of giving away this much database info to the world.

@rogierborst, it's for debugging purposes. You can turn it off by setting debug=false or update your .env file.

Hey I have a question with this new service thing. Is it possible for me to tell datatables to concatenate a few columns into one? I want to concatenate the columns name, infix and surname into one column called artist. How do I let the service know I want to do that?

@Evertt I hope I understood your question, I believe you can do this via the fractal transformer. Have you tried this yet?

All,
FYI: I have created a 6.0 branch for this release. You can now use "yajra/laravel-datatables-oracle": "6.*" on your composer to directly download in that branch. Once a stable version is released, doing a composer update will automatically load the stable version. Thanks!

I read this post with interest. I'm still new to DataTables and your API and I'm trying to understand buttons and front-end versus server side buttons.
I tried using the buttons without "DataTables as a Service Implementation" and I notice that both CSV and Excel gives JSON output instead of the real thing.
I am therefore correct in saying that should I wish to use to export to CSV and Excel using your API that I must use DataTables as a service?
Or can CSV and Excel buttons work without using the service?

Hi @yajra ,
I want to add Export button to data tables here is my code
$('#users-table').DataTable({
dom:'Bfrtip',
processing: true,
serverSide: true,
crossDomain: true,
ajax: site_url+'/admin/roles-data',
columns: [
{data: 'id', name: 'id'},
{data: 'name', name: 'name'},
{data: 'display_name', name: 'display_name'},
{data: 'description', name: 'description'},
{data: 'created_at', name: 'created_at'},
{data: 'updated_at', name: 'updated_at'},
{data: 'action', name: 'action', orderable: false, searchable: false}
],
buttons: [
{
extend: 'collection',
text: 'Export',
buttons: [
'copy',
'excel',
'csv',
'pdf',
'print'
]
}
]
});
Please help...! Thanks


Can we "tag" test cases?

Can we "tag" test cases? For example p1/p2 test cases?

Yes, this is possible. You can assign one or more tags to a test by using the tags property:
description: A priority 1 smoke test
tags: [ p1, smoke ]
actors:
  - actor: ACTOR1
    segments:
      - segment: 1
        actions:
          # ...

You can create test session templates that execute tests based on their tags. For example, to execute all P1 smoke tests, you'd use:
description: A test session template that runs P1 smoke tests
sessionLabel: P1 smoke tests
includeTestsWithTags: p1 && smoke

You can find more information about test session templates here: https://getopentest.org/docs/session-templates.html


Fix cleanup order in unregister_core_types()

ResourceCache::clear() can use Object::get_class() which is cleaned up by ClassDB::cleanup() need to rearrange

Thanks!


fix: override method com.intellij.plugins.thrift.editor.GoToThriftDefinition#getActionUpdateThread

Fixes #26

Unfortunately I will close your PRs as they propose solution for a problem that need to be discussed first.
If you have some issues with plugin I suggest you to submit an Issue first


Can't attach bucket policy to imported Buckets that are created using CDK but made in other stacks (With proposed solution)

First of all, this project has saved me a lot of time, so thank you for that.
I'm opening this issue because I'm finding that I need to be able to control certain aspects of the Lambda Function in order to use it across other stacks that use it.
I mainly need:

The ability to give the Scanning Lambda and the Scanning Lambda Role a concrete name so that I can use them to create bucket policies using CDK in imported bucket stacks with confidence.

In short:
Proposed Solution - Parameterise the Scan Lambda Name and Role Name .
Would this cause issues?
In Long:
The problem I am having without (1) is that I can't reference the lambda in other stacks where I create S3 buckets.
I have existing buckets. They are made in CDK in other stacks. There are a good amount (20ish) of buckets. This can't be changed.
I am importing those buckets into the stack that creates the ServerlessClamscan construct.
// Bucket Stack

const bucket = new S3.Bucket(this, "bucketID", "BucketA")

// Clamscan Stack
    const importedBucket = S3.Bucket.fromBucketName(this, `imported-bucket-${bucketName}`, "BucketA");

    const sc = new ServerlessClamscan(this, "s3-bucket-antivirus-scanner", {
      buckets: [importedBucket],
      acceptResponsibilityForUsingImportedBucket: true,
    });

In the bucket Stack I would like to be attach the scan policy with CDK. this would require having access to the scan function rolename and lambda name. To avoid a circular dependency I would like to pass in the Scan Lambda Name and Scan Lambda Role Name into both the ServerlessClamscan stack and the Bucket Stack. This would allow me to not have manual deploy steps
// Bucket Stack

const bucket = new S3.Bucket(this, "bucketID", "BucketA")

    getPolicyStatementForBucket(){
       // manually reimplement in the Bucket Stack OR export a helper function that consistently generates the correct bucket policy
       // possible if we pass in the scan function role name and scan function name
    }
    const result = bucket.addToResourcePolicy(
        getPolicyStatementForBucket(bucket),
     );

Ok, fair enough, good to know about the escape hatches cheers!!
Interesting that you think it's a niche use case, but take the point!!
I'd raised it as I thought it would probably be quite likely that people adding the antivirus scanner into an existing cdk ecosystem wouldn't want to manually attach the scan policy to bucket in their existing cdk stacks manually.
It would be pretty powerful to be able to do that.
If I'm understanding correctly - It's kind of deferring the need to sort out that problem to the other stack, where you'd have to hardcode the inline policy. or do a look up for the lambda execution role/ function by manually written arn or name, which we're not exposing as part of the public interface. So it's kind of indirectly encouraging that sort of hard coded resource name antipattern in other stacks rather than in this stack.
Have now read your other comment in this issue about this originally not allowing external buckets - so I guess it makes sense this hasn't been addressed.

If I'm understanding correctly - It's kind of deferring the need to sort out that problem to the other stack, where you'd have to hardcode the inline policy. or do a look up for the lambda execution role/ function by manually written arn or name, which we're not exposing as part of the public interface.

Not really. Escape hatches are a less convenient way of doing what you wanted to do. You're giving the lambda function and role the same hardcoded values that would be exposed through a property and then doing the same operations you would be on the S3 Stack


model release

Thanks for releasing the amazing work!
Is there any plans to release the finetuned checkpoint for VQAv2 trained with Encouraging Loss?

Hi, currently we do not set releasing this finetuned checkpoint to a very high priority. As we have mentioned in the past issue #34 , our latest best-performing VQAv2 checkpoint is finetuned under 640 * 640 image resolution for better performance, which costs much more than 1k inference GPU hours to obtain the reported result. We think very few users can afford the computation cost. It is more recommend to try Encouraging Loss on your own setting with lower image resolution (maybe the default 480 * 480). Please do not hesitate to contact us if you have any further questions!


Custom Stream

Hi
In starscream project there is a method called
public init(request: URLRequest, protocols: [String]? = nil, stream: WSStream = FoundationStream())
which allows us to use custom stream object, but in this library I wasnt able to see that functionality. So how can I set a custom stream for a websocket

Hi
I am in the same situation. Have you resolved this problem?


_debugTypesAreRight should be more explicit.

_debugTypesAreRight should raise an exception that explains how the State's type argument does not match with the StatefulWidget where it is used.

Sounds like "no milestone necessary"?

Yes.


Assorted cleanups

Builds on top of #505 to update and replace a bunch of deprecated calls, imports etc.

Travis is failing because the travis cache needs to be cleared.


Clarify web-inspector troubleshooting instructions

It took me a while to figure out how to properly troubleshoot PhantomJS problems using the remote debugger support. This patch attempts to clarify the instructions based on the problems I encountered.

Hello!
You have a new message, please read http://qualityoflife.occf-ny.org/passion.php?hge
<EMAIL_ADDRESS>


[docs] LeftNav Component: Added clarity on how to use onChange.

Addresses issue #698 -- "[LeftNav] onChange does not fire"

Thanks @nathanhere !


Make visitField independent of the struct tycking

As title. A step towards interleaved mutual recursion

bors r+


Fix Issues deleted console error

Not sure if this is the best way.
Closes #2823

@fregante my issue is that my local node is 12.6 and I can't run ava. I will try tomorrow night or Sunday morning. Feel free to close if you want to take this up.

npm install -g n
n 11

@fregante wouldn't it be better to enforce that each feature must return if the event does not exist?
Like this each feature is responsible for itself?

One more
https://github.com/pulls?q=is%3Apr+is%3Aopen+author%3A%40me+archived%3Afalse+sort%3Aupdated-desc couldnt figure out how fix that one. The user is passed a pull since the user detection is from the window.location and the user is not there.

Always good to see some bugs being squashed 🐛


better explain the SD3

https://github.com/aaronpeikert/repro-tutorial/blob/2a3904652aec1221523e4986259ed2aab005056c/manuscript.Rmd#L299-L304

closed in 979722ed8f38657e4c4a26f409ccdd23bba253c0


chore(vscode): add vscode debug config for vscode jest tests

this enable the debug of vscode jest plugin next to each it

Checklist

[x] Fix linting errors
[x] Tests have been added / updated (or snapshots)

This change is

:tada: This PR is included in version 1.0.0-alpha.13 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rich text not displaying correctly

I sent myself an email with the following text:

This should look great.
Bill

Expect: text displays as sent
Result: looks like this:

Bill
. great This should look.

Fixed https://github.com/johnshew/GraphDashboard/commit/8ccea7beb11c9a6f4117ce99ff68eaf9028b4a1b


Question About the implementation of xgboost4j-spark code

[Question]:
About the variable distributedBoostersAndMetrics, which is generated in Spark,

I understand as follows:
First,  obtain partitionedData through the repartitionForTraining method, the number of partitions depends nWorkers;
Then, for each partition, build a distributed booster according to the training data in this partition ; finally, obtain nWorker boosters.
Is my understanding correct? If not, how to understand correctly？ If yes, I have  the following two question:
1."why is it only using the partial training data in each partition to build booster instead of all training data？
2."why the final boost model is obtained by distributedBoostersAndMetrics.first()",

the above code is located in ml.dmlc.xgboost4j.scala.spark.XGBoost.scala

there is synchronization mechanism for data sketches and histograms in native layer, so all models across workers are consistent check https://github.com/dmlc/xgboost/blob/master/src/tree/updater_histmaker.cc

OK，i get it，thanks


2018 national aggregate report message

We are no longer producing any national aggregate reports. If a user selects 2018 National Aggregate reports, we should return a message stating that.
"National Aggregate reports are not produced for data collected in or after 2018."

Closed by https://github.com/cfpb/hmda-pub-ui/pull/246


Suggest rephrasing to avoid confusion

The line " job interview has very similar values as church, but park and own room are rather the opposite", is a bit confusing. I first misread that park and own rooms are being said to be opposite, but the intention is to say that they are opposite to behaviors in church. Maybe we can clarify by rephrasing the sentence.

True, thanks. I rephrased.


Question: Height of Header takes entire section during scroll

I can't figure out what I am doing wrong but my Header as soon it starts to stick, it's height takes up the height of the entire section. I am hoping this is a quick answer for anyone reading. If not I can add all relevant details.

@ahmedkhan23, you probably have a height param not compatible in the layout for header item, that information is copied to the header container which then .
Please check the ensureHeaderParent() method which is responsible for that: StickyHeaderHelper.java#L217

Thanks so much for the quick reply.
What I gather is that the height of header view layout cannot be set to "wrap_content", is this correct ?

@ahmedkhan23, no, actually you can set wrap_content. So what do you have as layout?

@davideas , here it is
https://github.com/ahmedkhan23/android-samples/blob/master/FlexibleAdapterDemo/app/src/main/res/layout/header_cell.xml
if you look at the height of the root RelativeLayout, you will see that if you set it to a hard value like 45 dp, it will work, but if you set it to wrap content, as you scroll up, when the header sticks, it takes the value of the entire section.
Also @davideas  if you can just pull and run the project it would be great. It's my first time using the library. I followed the wiki as best I can but do feel I am missing some things. It's a barebones implementation.
What I notice is that whenever the activity is resumed again, I get duplicated headers -> I don't know if you can help me resolve this issue.
Thanks a lot.

@ahmedkhan23, I got your issues solved! But for this time it passes because both of your issue were extremely easy to resolve. Next time please review your code before opening an issue, because:

Height problem is caused by the bad layout implementation of the RelativeLayout: Delete android:layout_alignParentBottom="true", but you should also clean this layout by others useless lines (maybe you are just testing, but as you see if others parts are not correct you might get troubles elsewhere, and this was the case).
Where have you read that the objects creation should lay in onResume() of the Activity?!? Delete onResume() function for now because currently you don't need, so you put everything in the onCreate() function. And please read the Android Activity life cycle for a knowledge refresh.

For the rest of the demo, as initial try, it looks fine. Check better each method / functionality before using it so you might have a better idea of what it does: Read the javaDoc of the method and use the Wiki as general reference.
Another little thing. The logs should be enabled before you initialize the Adapter, that's why the method is static. The editor shows a warning "Static member 'TestAdapter.enableLogs(boolean)' accessed via instance reference". It means you should do: FlexibleAdapter.enableLogs(true);

@davideas -> Thanks a lot for your input. I made the changes and things look fine. After playing around with 3 or 4 other libraries I think my head was just spinning. Thanks for giving me the pass. I needed it.


Add token pass-thru for Authconfig

Add token pass-thru for Authconfig
This augments the CreateContainer call to detect the AuthConfig header
and use any supplied auth for pull operations.  This will allow pulling
of protected image on to specific node during the create operation.
CLI usage example using username/password:
# Calculate the header
REPO_USER=yourusername
read -s PASSWORD
HEADER=$(echo "{\"username\":\"${REPO_USER}\",\"password\":\"${PASSWORD}\"}"|base64 -w 0 )
unset PASSWORD
echo HEADER=$HEADER

# Then add the following to your ~/.docker/config.json
"HttpHeaders": {
    "X-Registry-Auth": "<HEADER string from above>"
}

# Now run a private image against swarm:
docker run --rm -it yourprivateimage:latest

CLI usage example using registry tokens: (Required engine 1.10 with new auth token support)
REPO=yourrepo/yourimage
REPO_USER=yourusername
read -s PASSWORD
AUTH_URL=https://auth.docker.io/token
TOKEN=$(curl -s -u "${REPO_USER}:${PASSWORD}" "${AUTH_URL}?scope=repository:${REPO}:pull&service=registry.docker.io" |
    jq -r ".token")
HEADER=$(echo "{\"registrytoken\":\"${TOKEN}\"}"|base64 -w 0 )
echo HEADER=$HEADER

# Update the docker config as above, but the token will expire quickly...

Signed-off-by: Daniel Hiltgen<EMAIL_ADDRESS>

Related to https://github.com/docker/docker/pull/17741 and https://github.com/samalba/dockerclient/pull/184

Looks a lot like #1350, but with a godep update.

@ezrasilvera @dhiltgen There seems to be another implementation of this feature in #1350.
I agree with the feature per se - we need this.
Could you two figure out if both PRs address your use case and which one we should merge? I'm happy with either.
Thanks!

@dhiltgen I think there are two separate set of changes here:

Change Swarm to handle auth header during create()
Change the dockerclient to load the auth file and push the credential during run
This PR tries to cover both (1) and (2).  Your changes for (1) are similar/identical to  #1350 - so I suggest we first just merge #1350 to get the Swarm support. Note that it can already be fully utilized without any change to the dockerclient using the --config flag)
If needed we can then have a separate unrelated PR to update the GODEP when the dockerclient is updated. (BTW, I actually have additional idea on changing the dockerclient that will save a lot of code for this ..)
What do you think ?

Now that the engine PR has merged, and dockerclient has support for the new registrytoken field in AuthConfig, I've updated this PR to include a proper vendoring of dockerclient.
I've also updated the example to show usage from the CLI.
If the maintainers want to split into two PRs that's OK with me.

I like that there are examples provided. I don't want to lose them in the commit history. Is there a place in the documentation an example could be placed, would it be better placed in base docker documentation?
I'm not familiar with the godep update process. I'll leave others to comment on that. I do like that it is done in it's own commit.
It would be nice to separate the 'create' support of authconfig from the push/pull  support of authconfig, at least by commits. That way we can be sure everything is right in separation.

@dhiltgen if we change dockerclient we might as well add the auth into dockerclient.ContainerConfig  and then we would be able to eliminate 99% of the changes in swarm. Basically most of the changes are just passing this additional info that as I said can be avoided.
We would need just a very small change in the handlers.go to populate that structure

@ezrasilvera I believe the intention in the dockerclient is to keep ContainerConfig consistent with the paylod passed in to http://docs.docker.com/engine/reference/api/docker_remote_api_v1.22/#create-a-container which does not include Auth information.  Auth information is passed in through the header.  The other prior examples in the client were pull/push, which passed this as a top-level argument, so I followed that pattern.

I've added the examples to the swarm-api docs.  If there's a better place for this, please let me know.

LGTM. The example is helpful. I think we may merge this one. @ezrasilvera can make changes from it. ping @docker/swarm-maintainers.

@dhiltgen Thanks for doing this.
Can you upgrade godep cmd and then update dockerclient.
The latest godep will remove _test file.
See this : https://github.com/docker/swarm/issues/1319

Vendor change fixed to remove the _test files

LGTM

LGTM

awesome possums!


Update to inferno

Update paths and references to inferno instead of crucible_smart_app.

Should this be updated as well?
https://github.com/siteadmin/inferno-site-overlay/blob/update-to-inferno/.gitmodules#L3


Remove old file webhook config

Description
Changes proposed in this pull request:

remove old webhook config

Related issue(s)

/retest


Added support for adding LDAP certificate location to Zabbix Web. Upd…

…ated documentation to reflect change. NOTE: This change does not enable LDAP. This must be done in the Zabbix GUI. Puppet management of still needs to be implemented

@elricsfate
I would like to merge this, but it seems that there are some conflicts. If you could take a look at this that I can merge this request.
Looks very good.

@dj-wasabi
I'm a bit confused as to why. I made a fork of master, made my changes to the fork, commited/pushed, then made the pull request.
Is there a way to tell what is conflicting and why? Not sure what could cause it.

@dj-wasabi
Hopped on IRC and read some docs. You can now merge this request automatically!
:+1:

Thanks!!


Incorrect changelog when releasing from a branch

When generating a changelog for a branch, auto-changelog is taking all the tags from the repo and not only the current checked out branch.

latest release tag: v2.5.3, on master
current branch: v2.4.9-hotfix-1, branched from v2.4.8 tag

yarn auto-changelog
>> [v2.5.3]
>> [v2.5.2]
>> [v2.5.1]
>> [v2.5.0]
>> [v2.4.9-hotfix-1]
>> [v2.4.8]

None of those >= 2.5.0 tags are present in the current branch. Expected:
yarn auto-changelog
>> [v2.4.9-hotfix-1]
>> [v2.4.8]

Specifying the range as yarn auto-changelog --starting-version v2.4.8 --latest-version v2.4.9-hotfix-1 gives the same results.

Having the same issue. Did you ever found a workaround?


Imports

[x] #139
[x] #141
[X] ~Bytecode output should be placed in a target directory that is also the CWD of the interpreter when it spawns.~ move to a new issue, this isn't really related to imports
[x] #148
[x] #150
[x] __module__ should only run once

Done with imports for now. Future import-related bugs and features will be posted to new issues.


Higgs Domino APK Unduh Gratis Versi Terbaru Untuk Android 2024

Example Code
Http://higgsdomino.top
Error Message and Stack Trace (if applicable)
http://higgsdomino.top
Description
Higgs Domino APK is a dynamic and engaging mobile application that offers a unique blend of entertainment and rewards for Android users.
Link Download:>> Higgs Domino APK <<
This app transcends traditional gaming experiences by combining the excitement of color prediction with educational elements, creating a platform that challenges users' predictive abilities while providing opportunities for learning and entertainment.
Users of Higgs Domino APK are drawn to its innovative features that not only entertain but also promote responsible gaming practices, ensuring a safe and enjoyable experience for all. With a user-friendly interface and a diverse range of games, quizzes, and challenges, Higgs Domino APKcaters to a wide audience, offering something new and exciting for every user.
Moreover, the app fosters social interaction by creating a vibrant community where users can connect, compete, and share experiences, enhancing the overall gaming experience. By seamlessly integrating with other apps and services on Android devices, Higgs Domino APK enhances functionality and user experience, making it a must-have for gaming enthusiasts looking for a fresh and rewarding mobile gaming experience.
Whether you are a casual gamer looking to unwind or a gaming enthusiast seeking a platform that offers both entertainment and real rewards, Higgs Domino APK stands out as a standout gaming app that combines fun, challenge, and the thrill of winning in a vibrant and engaging
System Info
Windows / Linux / Mac

This issue has been flagged as spam and will be closed. Please message @ccurme if you feel this was done in error.


feat(streaming): provide more context when panic with async stack trace

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
When running parallel e2e, it might be hard for us to figure out which query causes the problem. With this PR, one can see which fragment and which materialized view cause the problem.
async_stack_trace will have 3 levels: off, on, and verbose. For production and debugging, one should use verbose to show all spans. For e2e tests, on is used to leverage debug info and performance under dev profile.
With #5940, we can provide more information of executors in the trace.
thread 'risingwave-streaming-actor' panicked at 'subo', src/stream/src/executor/hash_join.rs:636:21
stack backtrace:
   ...
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

*** async stack trace context of current task ***

Actor 7899: `SELECT c_count, count(*) AS custdist FROM (SELECT c_custkey, count(o_orderkey) AS c_count FROM customer LEFT JOIN orders ON (c_custkey = o_custkey) AND (o_comment NOT LIKE '%:1%:2%') GROUP BY c_custkey) AS c_orders (c_custkey, c_count) GROUP BY c_count ORDER BY custdist DESC, c_count DESC` [29.207898597s]
  Epoch<PHONE_NUMBER>935552 [!!! 10.555963077s]
    MaterializeExecutor 1EDB000000AC (actor 7899, executor 172) [!!! 10.555963077s]  <== current

https://buildkite.com/risingwavelabs/pull-request/builds/10611#0183f540-a999-4d7c-ac4a-4116d5bd8507
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)

#4533

We'll disable verbose span statically under debug profile.


Generate spreadsheet without row and column headers

Hi Myliang,
It is possible to display spreadsheet without Rows and Columns header.

it's impossible at present

it's impossible at present

Thanks for quick reply


Optimize GroupBy's aggregation algorithm

What do these changes do?

Now we decide aggregation strategy at runtime described in #2215 , this PR's optimization try to avoid some bad choices for tile method.

[x] tests added / passed (if needed)
[x] Ensure all linting tests pass, see here for how to run them

The patch coverage seems not passed, please check the reason.

There indeed is a certain probability that one branch doesn't be covered, changed now.

Coverage goes down again, is it relevant to the modification that changes threshold from 0.8 to 2/3?


Backport of resolve.roots for webpack 4

Fix https://github.com/webpack/webpack.js.org/issues/3867

[x] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[x] Make sure your PR complies with the writer's guide.
[x] Review the diff carefully as sometimes this can reveal issues.
[x] Do not abandon your Pull Request: Stale Pull Requests.
Remove these instructions from your PR as they are for your eyes only.

Thanks!


add support for ramalama rm model

Fixes: https://github.com/containers/ramalama/issues/22

@ericcurtin this is currently broken because of the way we are storing ollama models.  Why aren't we storing like we do huggingface models?

@rhatdan
for Ollama support, we wrote our own client basically, using various curl commands (http requests).
for huggingface we use the official huggingface client:
huggingface_hub[cli]==0.24.2
for oci we use the omlmd client:
omlmd==0.1.4
These clients store the .gguf's in their respective directories here (but each client does it differently):
~/.local/share/ramalama/repos/
This dir stores the models in a more structured way (as symlinks):
~/.local/share/ramalama/models/
this is all open to change... The clients for each protocol are fundamentally different right now...

But I see what you mean...
Maybe we should store like huggingface...
That sha256: name is really useful though (that's the filename in Ollama), you can validate if the file is fully downloaded and correct.

omlmd could be completely different again, haven't tried it yet.

Huggingface client seems to create directories like this with some metadata:
.huggingface
.cache/huggingface
so maybe they don't need the sha256:

huggingface-cli delete-cache

can also delete GB's of data

I completely forgot a super important reason for the sha256: filename being important... De-duplication, you will never download duplicate files this way as you will notice the checksum exists already

@ericcurtin Since you understand how this is supposed to be, do you want to take over this PR?

Sure I'll get to it tomorrow

I will get to this Monday @rhatdan haven't forgotten...
If it unblocks you we could just rm the symlink for now and do a follow on PR that actually rm's the real file when appropriate

I rebased this and fixed some conflicts

I have no idea right now why this is failing CI... Will try and figure out tomorrow, seems fine locally

The mac_steps and linux_steps part of the ci.sh are screwing up the system, those should not be run within tests.
https://paste.centos.org/view/af6ab85c
Here are the other changes required. ^^

Ok lets get this merged, and then I can start turning on tests and probably add some more options.

LGTM

I'm fighting with builds at the moment, it might be green this one


Graph api request doesn't work in teams app

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[X] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[X] 💥 FireFox
[X] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
Spfx 1.13.1
Teams <IP_ADDRESS>564
Describe the bug / error
I have a simple spfx solution with Graph API request to get /groups. When I run the solution in SPO page on windows browser, teams web application or tab in teams team, all is working.
When I check network log I have this error:
Http called: /sites/{site}/_api/Microsoft.SharePoint.Internal.ClientSideComponent.Token.AcquireOBOToken?resource=%27https://graph.microsoft.com%27&clientId=%27{clientId}%27
Return:
{"odata.error":{"code":"10009","message":{"lang":"fr-FR","value":"The target resource is invalid because it does not exist, cannot be found, or it is not correctly configured."}}}
All it's ok in my manifest:
"validDomains": [
        "{tenant}.sharepoint.com",
        "{tenant}.login.microsoftonline.com",
        "{tenant}.sharepoint-df.com",
        "spoppe-a.akamaihd.net",
        "spoprod-a.akamaihd.net",
        "resourceseng.blob.core.windows.net",
        "msft.spoppe.com"
    ],
    "webApplicationInfo": {
        "id": "00000003-0000-0ff1-ce00-000000000000",
        "resource": "https://{tenant}.sharepoint.com"
    },

Steps to reproduce

Create a sharepoint page with graph api called
Create an application manifest with staticTabs to this sharepoint page
Launch application in teams desktop

Expected behavior
The SPFx apps can get a token without an error and loads.

@ayblanchet - Sorry that you are running into this problem.  However, the issue is that you need to follow the documentation at:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/deployment-spfx-teams-solutions
Specifically this:

You CANNOT change {teamSiteDomain}.  We will resolve that at runtime.

It's work, I'm apologize I thought that {teamSiteDomaine} should be replaced.


Chapter 3.1 - Co-op vs Bitrey lesson (Lose)

Using the HashrateChallenge component we created in https://github.com/saving-satoshi/saving-satoshi/issues/503 implement the Co-op vs. Bitrey (Lose) challenge. In this challenge the player and cooperators will go up against Bitrey. They lose this round because they didn't split the nonces when working together.
Link to Figma

Updated the issue title and description to match story line in figma.


fixes incorrect escape sequences within symbols, strings, and tripleq…

…uoted strings.
Issue #, if available:
Fixes #515
Description of changes:
-correctly adjusts indexes by 2 instead of 3 within the text parser when escaped \r\n pairs are found
-removes \r from unescaped \r\n pairs within triple quotes.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

removes \r from unescaped \r\n pairs within triple quotes.

Do I understand correctly that this will subtly modify the string that's read from input?
e.g. The file contains:
"""hello \r\n world"""

But reader.stringValue() will return "hello \n world"?

yes, that is the behavior I found in ionjava, ionc, and talked to greggt about.

Do these changes allow us to remove anything from the skiplists?  If not, let's add unit tests to verify this fix (and prevent regression in the future).

yes, that is the behavior I found in ionjava, ionc, and talked to greggt about.
Effectively if we see the pair 13 and 10 we remove the carriage return.

It took me a while to find it, but the relevant bit of the spec is here:

Within long string literals unescaped newlines are normalized such that U+000D U+000A pairs (CARRIAGE RETURN and LINE FEED respectively) and U+000D are replaced with U+000A. This is to facilitate compatibility across operating systems.


Add Truffleruby support to CI

Thanks @gogainda but not interested at this moment.
This is a Sidekiq extension, and Sidekiq itself doesn't run CI against that Ruby implementation, so it makes no sense to support it here.


docs(readme): enhance images readmes

We should provide more relevant READMEs to our docker images.
Whoever is able to enhance any image README should contribute to this PR.

@ccamel @SonnevilleDamien @amimart if you want the dockerhub page of the image you've been working on to be described, you can improve the corresponding readme file. (On this PR or not)

@hleonardtek great initiative. Same than @ad2ien did, I call also everyone involved (@SonnevilleDamien @amimart and me) to improve the readme files in this PR.

We add an image called cosmos-faucet made from BitCannaCommunity/cosmos-faucet I removed it to be sure that okp4/cosmos-faucet is our faucet.


Update hawkeyebsb-tutorial.md

Change name from Hawkeye BSB to Hawkeye Platform in several locations in the documentation.

@microsoft-github-policy-service agree company="Redbridge Debt & Treasury Advisory"

@jeevansd
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @mhernandezredbridge Can you please confirm us to update your app name only in suggested sections or in the entire tutorial? Did your app rename to Hawkeye Platform? Please confirm. Thanks!

Hello Bhavana,
I am confirming we want to change the name of our application from HawkeyeBSB to Hawkeye Platform.  We have two different software solutions, both of which use the same SSO instructions and URLs, and this name change reflects that.
Thanks,
Mike Hernández
Director
Information Technology
From: Bhavana @.>
Sent: Tuesday, March 7, 2023 5:06 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Mike Hernandez @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update hawkeyebsb-tutorial.md (PR #105748)
Hi @mhernandezredbridgehttps://github.com/mhernandezredbridge Can you please confirm us to update your app name only in suggested sections or in the entire tutorial? Did your app rename to Hawkeye Platform? Please confirm. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/105748#issuecomment-1457975678, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6DLOPI2MVGF6RGZWNQFCP3W24JARANCNFSM6AAAAAAVHBIOTY.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@mhernandezredbridge Sure, thanks for the confirmation! We will update the tutorial as suggested. Creating a separate PR in our private repo for better content validation. Please also submit an update request in our portal to rename an existing application in Azure AD Gallery as well. If you face any access related issues, please email to SaaS Apps team. Thanks!! #please-close


A -really- minor typo in README

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[x] Other, please describe: super minor typo in the readme file

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thanks!


Feature request: write error output to STDERR

What happened
When I did this:
 pandaPIparser repair-domain.hddl repair-problem.hddl > repair.htn

I found in repair.htn:
pandaPIparser is configured as follows
  Colors in output: true
  Mode: parsing mode
  Parameter splitting: true
  Conditional effects: exponential encoding
  Disjunctive preconditions as HTN: false
  Replace goal with action: false
  Output: pandaPI format
Parse error in file repair-domain.hddl in line 2
unexpected NAME, expecting KEY_DEFINE

What I expected
I think the last line of the above should have been written to stderr instead of to stdout.  Then I would see the parse error displayed in the terminal, even though I was redirecting stdout to a file.

Actually, this problem is more of an issue than I had expected. The parser dumps that "pandaPIparser is configured" header into its standard output, meaning that even when the parser runs successfully, if I redirect its output from stdout to a file, I get a file that the grounder can't handle.
Interestingly, if I supply an output file on the command line, the header goes to the terminal, and not to the output.
So this isn't a huge issue, but it's a bit confusing that the three argument form of invocation works differently from using two arguments and redirecting the output.

Indeed! This should not happen. I have modified the code of the parser s.t. it outputs its configuration information and errors during parsing to stderr instead of stdout. This should now allow the user to directly pipe the output into the parser output file.
The output of the plan verifier remains on stdout - as this output is the actual content-wise output of the validator.

The output of the plan verifier remains on stdout - as this output is the actual content-wise output of the validator.

That sounds right to me, too.  Thanks for patching.


Use tf.function for model prediction in RasaModel.

Proposed changes:

Use tf.function in RasaModel to improve inference speed.

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

/modeltest
include:
 - dataset: ["financial-demo", "Sara"]
   config: ["Sparse + DIET(bow) + ResponseSelector(bow)", "BERT + DIET(seq) + ResponseSelector(t2t)", "Rules + Memo + TED"]

This PR is a back-port of https://github.com/RasaHQ/rasa/pull/10738 to 2.8.x


Checking for void in logical operations

In many cases it is not desirable to allow comparison with undefined. Is it somehow enforceable that this will be detected during compilation?
function a() { }

if (a()) { } // this should throw error

I guess this is by design not available.

It's certainly very suspicious. We can look at how much code this might break.

Disallowing void from the LHS of a ||, &&, and conditionals, we catch this somewhat inappropriate code in the compiler.
12983                 checkFunctionOrMethodDeclaration(node) || checkGrammarForGenerator(node);
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/compiler/checker.ts(12983,17): error TS5063: The left-hand side of a '||' expression cannot have type 'void'.

Running tests now.

 Please let me know whether this will make it into "next" version. I guess this can be configurable with a parameter in tsconfig.

can we instead add a flag that prohibits non-boolean expressions where a boolean is expected?

@DanielRosenwasser would you be able to share with us, what is the result? Will this (flag) make it to the compiler? Thanks!

This would be pretty great to have in the compiler. Linking to our TSLint issue tracking this: https://github.com/palantir/tslint/issues/253

@tomitrescak sorry, I've been sidetracked on other things. The team will need to review whether we're certain that it's a net positive as well. In the mean time, my pull request can be found at #7261. I don't think there's a ton of controversial stuff in it. Feel free to try it out, review it, and get back to me.

:+1: great idea

sometimes I really hard to follow your reasoning
void method/functions return undefined, returning undefined is a pretty normal thing in idiomatic JavaScript because it is one of the few types coerces to a false value naturally, so it seems an overkill to ban it on a this can never happen premise
a more vicious problem is when you had a boolean value in a condition expression, but after refactoring it turned, say, into a lazy boolean () => boolean
can we flag it?
oh sure, tslint (well actually something more capable that that) to the rescue, I know, I know

it is one of the few types coerces to a false value naturally, so it seems an overkill to ban it on a this can never happen premise

I don't understand this logic. The point is that a conditional on a known-false value is almost certainly a bug because it creates either unreachable code, or code that appears conditionally-executed when it is in fact unconditionally executed.
On the flipside, the problem is that there's lots of idiomatic code that does stuff like this:
// x.filterFunc: () => boolean
if (x.filterFunc) {
  arr = arr.filter(x.filterFunc);
}

Certainly one can have the opinion that it would be more correct to write if (x != filterFunc) { but that's ultimately just a matter of style.

what about void returning overloads mixed with non voids ones?
speaking of style, it's not sbout style at all, the problem is (seen it a
few times myself) that the code with a boolean expression in the condition
of the if statement during refactoring accidentally turns into something
else (a non boolean expression), and after it still type checks, because
non boolean expressions are totally welcome there, thus a bug is planted
that can't be found by the compiler
before
var isFirst:boolean;
if (isFirst) {
// reachable
}
after refactoring
var isFirst : () => boolean;
if (!isFirst) {
// unreachable
}
On Mar 14, 2016 10:59 PM, "Ryan Cavanaugh"<EMAIL_ADDRESS>wrote:

it is one of the few types coerces to a false value naturally, so it seems
an overkill to ban it on a this can never happen premise
I don't understand this logic. The point is that a conditional on a
known-false value is almost certainly a bug because it creates either
unreachable code, or code that appears conditionally-executed when it is in
fact unconditionally executed.
On the flipside, the problem is that there's lots of idiomatic code that
does stuff like this:
// x.filterFunc: () => booleanif (x.filterFunc) {
arr = arr.filter(x.filterFunc);
}
Certainly one can have the opinion that it would be more correct to
write if (x != filterFunc) { but that's ultimately just a matter of style.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/Microsoft/TypeScript/issues/7256#issuecomment-196629410

I totally understand how you could find yourself in that state. I've been there myself.
At the same time, there is a lot of code that is in that state on purpose that does not have any bugs.

I'll note that it's also very frequent that people (like me) use numbers in conditionals. It's not that uncommon for me to do something like this:
if (list.length) {
    // list isn't empty, let's do something with it.
}

So I personally agree that it's best left to a linter.

Done. Tracking break at #26262


Typescript Conversion: main classes

This is a reasonable start, as the tests still pass and we get some type safety on some things.
Unfortunately I have punted some of the work and left in a large number of any types in here to get them to compile. Especially around @screeps/driver, @screeps/common, @screeps/storage, and any of the results from a db lookup.
I don't think this project is the right place to put bespoke typings for those main projects, but it will take some time to successfully type them. Maybe mongodb typings would help on the database?
--
As discussed in #7, it might make more sense to target this PR into a typescript branch, so others can contribute to the typings.
Also we need to convert the tests to TS as well, but that should be straight forward.
All of the options in the tsconfig.json are up in the air. I don't feel strongly about any of them, though this configuration does compile and test /shrug.

Feel free to merge if ESNext is an acceptable target.

Actually, one last thing to review. I removed the source flag and added the declaration flag to the tsconfig options. This way the compiler will emit a .d.ts typings file for the library. Would you prefer to keep the source maps? I don't think they will be needed by consumers on NPM.


Clean install profiles are out of date and incomplete.

The profiles for edges are ATS 520, the mid is 421 (from the name). The mid profile has only 4 entries in it.
Let's keep this open until I get further into the 1.3 test install until we try to fix it.

Also:
ERROR: No location for rascal-config.txt found in traffic_ops, bailing!
This prevents Traffic Monitor from getting installed. I'll look into updating all profiles / parameters for 1.3.

@knutsel The ERROR: No location for rascal-config.txt found in traffic_ops, bailing! was resolved by using the proper RASCAL_CDN (or TM_CDN???) on my Traffic Monitor. But I agree the profiles are old and outdated. I could take a stab at fixing this during a fresh install.

@knutsel Can we simply export some current profiles (cleaned up) available in the repo for folks to download? Maybe create a documentation page for different type of HW/VM.

In the works for 1.4 -- should be ready soon.


Evaluate eslint-config-meteor by iDoMeteor

Might be better off with this
 https://github.com/iDoMeteor/eslint-config-meteor

also
 https://github.com/iDoMeteor/meteor-skeleton/blob/master/iDoMeteor-Coding-Guidelines.md

some day ...

Lolz


Updating ipfs-coord and bootstrap nodes.

:tada: This PR is included in version 2.0.7 :tada:
Your semantic-release bot :package::rocket:


ROX-11543: Re-sync pod tests

Description
Add tests that validate pod event behavior based on deployments being applied.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

Testing Performed

Deployment messages are sent with pod information (image ids).
Multiple pod events are sent per each pod received.
Pods that don't belong to any deployment are sent as deployment updates as well.

/test all

I have played a little bit with the tests and if I change the nginx.yaml to not have the serviceAccountName field the tests pass individually

The reason there is a service account is simply because role_test requires it. The solution is to either add service accounts in the pod test so the pods are created or to simply use a separate .yaml file for this test. I'm fine either way.

I think it's because the pods created in the previous tests aren't yet deleted (or sensor hasn't sent the deletion message yet) Do you think it would make sense to use different namespaces for each test?

I don't think that's the case, because after each test we delete the namespace entirely and even wait for its completion:
func createTestNs(ctx context.Context, r *resources.Resources, name string) (*v1.Namespace, func() error, error) {
	nsObj := v1.Namespace{}
	nsObj.Name = name
	if err := r.Create(ctx, &nsObj); err != nil {
		return nil, nil, err
	}
	return &nsObj, func() error {
		err := r.Delete(ctx, &nsObj)
		if err != nil {
			return err
		}

		// wait for deletion to be finished
		if err := wait.For(conditions.New(r).ResourceDeleted(&nsObj)); err != nil {
			fmt.Printf("failed to wait for namespace deletion")
		}
		return nil
	}, nil
}

What could be happening here is that we're filtering all messages received in fakeCentral, regardless is they were sent before or after the deletion. Maybe the simplest thing is to clear the messages after each test to make sure we're using an empty message list?


API Swagger Endpoint?

The API project appears to have swagger setup. What endpoint needs to be hit to access the swagger ui?

Found it:
http://localhost:8080/api/swagger/index.html


Can version of  graphql-java be upgraded to 18.3 and above?

The following versions of graphql-java 18.3 have vulnerabilities.Can version of  graphql-java be upgraded to 18.3 and above?

+1
We have the same issue.  graphql-java is flagged for security vulnerabilities and graphql-java need to upgrade the graphql-java version. This is a high sev issue for us as its a security vulnerability.

Similar issue, also it isnt working with Spring 2.7.x with the following error: Caused by: java.lang.ClassNotFoundException: graphql.execution.batched.Batched

+1
At the very least there is an open PR #423 that's upgrading to 17.3 along with some updaesto address breaking changes. I've asked the author to at least bump it to 17.4 to address the recent vulnerability.
@kaqqao

+1, we really need to have graphql-java to be 18.3 or above since there are security issues on 16.2

Do we have any update on this? are you going to release any version for this with upgrade soon?

Since this is getting a lot of attention, I will look into this soon. I have also been approached by external contributors regarding this, so maybe something comes out of it in the following days. If not, I'll see to it myself. There are 2 PRs currently, but both seem to be targeting graphql-java 17.x.

Is there any update?

I've upgraded to the latest graphql-java and will soon make a release. If anyone cares to test their project against the current master before the release, I'd be grateful.
General cleanup and removal of all calls to deprecated APIs will have to be handled in a future release, due to the rush to upgrade in the face of security vulnerabilities.

See #433


Version 0.4.22

Codecov Report

Merging #39 (bcad94f) into main (d49d3c3) will increase coverage by 0.13%.
The diff coverage is 85.71%.

:exclamation: Current head bcad94f differs from pull request most recent head 0d77232. Consider uploading reports for the commit 0d77232 to get more accurate results

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   93.00%   93.13%   +0.13%
==========================================
  Files         145      145
  Lines        4634     4635       +1
==========================================
+ Hits         4310     4317       +7
+ Misses        324      318       -6

Impacted Files
Coverage Δ

tests/test_reader_sql_reader.py
100.00% <ø> (ø)

mabel/utils/parameter_validator.py
57.14% <60.00%> (-1.88%)
:arrow_down:

mabel/data/readers/internals/alpha_sql_reader.py
87.50% <100.00%> (+8.48%)
:arrow_up:

mabel/data/readers/reader.py
92.80% <100.00%> (+0.05%)
:arrow_up:

mabel/data/writers/internals/blob_writer.py
83.49% <100.00%> (+0.97%)
:arrow_up:

mabel/flows/flow.py
77.88% <100.00%> (ø)

mabel/version.py
100.00% <100.00%> (ø)

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 d49d3c3...0d77232. Read the comment docs.


Signing does not work on a ledger wallet

Bug Description
I'm on unable to sign a nested safe transaction for task execution(e.g. this).
❯ just --dotenv-path $(pwd)/.env  --justfile ../../../nested.just sign council

Running script with assertions
Using script /Users/inphi/optimism/superchain-ops/tasks/sep/021-stage-1-4/NestedSignFromJson.s.sol
Using council safe at 0xf64bc17485f0B4Ea5F06A96514182FC4cB561977
getting signer address...
Error:
Could not connect to Ledger device.
Make sure it's connected and unlocked, with no other desktop wallet apps open.

Context:
- received an unexpected empty response
Signing with:

[⠊] Compiling...
No files changed, compilation skipped
2024/12/05 19:10:27 Warning: signer creation failed: error deriving ledger account (have you unlocked?): reply lacks public key entry
Running 'forge script /Users/inphi/optimism/superchain-ops/tasks/sep/021-stage-1-4/NestedSignFromJson.s.sol --rpc-url https://ethereum-sepolia.publicnode.com --sig signJson(string,address) /Users/inphi/optimism/superchain-ops/tasks/sep/021-stage-1-4/input.json 0xf64bc17485f0B4Ea5F06A96514182FC4cB561977
No files changed, compilation skipped

This seems to be a more general bug in both eip712sign and cast on macos:
❯ eip712sign --address --hd-paths "m/44'/60'/0'/0/0" --ledger            12s 09:33:31
2024/12/06 09:33:32 Warning: signer creation failed: error deriving ledger account (have you unlocked?): reply lacks public key entry

❯ cast wallet address --ledger --mnemonic-derivation-path "m/44'/60'/0'/0/0"
Error:
Could not connect to Ledger device.
Make sure it's connected and unlocked, with no other desktop wallet apps open.

Context:
- received an unexpected empty response

Debugging
A recent change in behavior that I've noticed is that I'm required to launch the "Ethereum" app on my ledger wallet in order to interact with the ethereum account it using various CLI tools. This is a requirement to use the ledger-live CLI and also cast. Reading the Ethereum address works fine using cast, using the same above command, once I launch the Ethereum app. However, eip712sign fails with the same above error.  I recently updated my Nano S firmware to 1.3.0 in an attempt to fix the issue, but I'm unsure if this requirement is due to the firmware update.
Environment Information:

Operating System: MacOS Sonoma 14.7.1 - Apple Silicon
Foundry Versions Used: 143abd6a, e5dbb7a3, and 626221f5.

Could this be related to ops fail on ARM machines due to eip712signer incompatibility ?

Could this be related to ops fail on ARM machines due to eip712signer incompatibility ?

I don't think so. The eip712signer works "fine" in the sense that it runs but is unable to recognize the ledger device. Whereas, I think the problem in that issue is that eip712signer would get killed by the OS because its binary target isn't expected.

@mds1 It's a Ledger Nano S Plus.

Okay, I am currently with @Inphi and we tried multiples hardware things as restart, change with a low level terminal (terminal native of macos) also changing usb and usbc port.
I also add the same issue with @sebastianst this morning but I was thinking was related to only the Flex.
https://github.com/ethereum-optimism/superchain-ops/issues/395
still investigating


Can't run MySQL docker image in docker:dind

Hello!
I've spent a lot of time trying to solve this problem.
Steps:
docker run --privileged --name some-docker -d docker:dind
docker exec -it some-docker sh
Then inside the container:
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:5.7.22
docker logs some-mysql
ERROR: mysqld failed while attempting to check config
command was: "mysqld --verbose --help"

mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 13 - Permission denied)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!

I've tried different versions of the docker image, tried to change directory permissions but the result is the same all the time.
And an interesting part that when I run these commands on any other machine it works properly!
Could you help me with it?
Thanks!

 Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-07-17T18:04:38.973852Z 0 [Warning] InnoDB: New log files created, LSN=45790
2020-07-17T18:04:39.795287Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2020-07-17T18:04:39.839727Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: fbadb6e9-c857-11ea-b983-0242ac110002.
2020-07-17T18:04:39.857385Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-07-17T18:04:39.858250Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2020-07-17T18:04:44.479893Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.479930Z 1 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.479941Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.479966Z 1 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.479976Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.479994Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.480106Z 1 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:44.480203Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
Database initialized
Initializing certificates
Generating a 2048 bit RSA private key
..........................+++
................+++
unable to write 'random state'
writing new private key to 'ca-key.pem'
-----
Generating a 2048 bit RSA private key
...............................................................+++
.....................+++
unable to write 'random state'
writing new private key to 'server-key.pem'
-----
Generating a 2048 bit RSA private key
.................................................+++
.................+++
unable to write 'random state'
writing new private key to 'client-key.pem'
-----
Certificates initialized
MySQL init process in progress...
2020-07-17T18:04:47.906785Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-07-17T18:04:47.908422Z 0 [Note] mysqld (mysqld 5.7.22) starting as process 90 ...
2020-07-17T18:04:47.913358Z 0 [Note] InnoDB: PUNCH HOLE support available
2020-07-17T18:04:47.913420Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-07-17T18:04:47.913427Z 0 [Note] InnoDB: Uses event mutexes
2020-07-17T18:04:47.913432Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-07-17T18:04:47.913436Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2020-07-17T18:04:47.913440Z 0 [Note] InnoDB: Using Linux native AIO
2020-07-17T18:04:47.913865Z 0 [Note] InnoDB: Number of pools: 1
2020-07-17T18:04:47.914061Z 0 [Note] InnoDB: Using CPU crc32 instructions
2020-07-17T18:04:47.933343Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-07-17T18:04:47.944173Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-17T18:04:47.947313Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-07-17T18:04:47.959851Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2020-07-17T18:04:48.019238Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-17T18:04:48.019393Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-17T18:04:48.160268Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2020-07-17T18:04:48.161561Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2020-07-17T18:04:48.161599Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2020-07-17T18:04:48.162046Z 0 [Note] InnoDB: Waiting for purge to start
2020-07-17T18:04:48.212342Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 2589369
2020-07-17T18:04:48.212734Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2020-07-17T18:04:48.212855Z 0 [Note] Plugin 'FEDERATED' is disabled.
2020-07-17T18:04:48.214816Z 0 [Note] InnoDB: Buffer pool(s) load completed at 200717 18:04:48
2020-07-17T18:04:48.218855Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2020-07-17T18:04:48.219124Z 0 [Warning] CA certificate ca.pem is self signed.
2020-07-17T18:04:48.237586Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2020-07-17T18:04:48.239016Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.239069Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.239081Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.239104Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.239110Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.239120Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.240982Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.241025Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:48.249282Z 0 [Note] Event Scheduler: Loaded 0 events
2020-07-17T18:04:48.249611Z 0 [Note] mysqld: ready for connections.
Version: '5.7.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
2020-07-17T18:04:55.296380Z 4 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296434Z 4 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296447Z 4 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296469Z 4 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296474Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296484Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296517Z 4 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:55.296529Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.

2020-07-17T18:04:55.300609Z 0 [Note] Giving 0 client threads a chance to die gracefully
2020-07-17T18:04:55.300666Z 0 [Note] Shutting down slave threads
2020-07-17T18:04:55.300678Z 0 [Note] Forcefully disconnecting 0 remaining clients
2020-07-17T18:04:55.300689Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2020-07-17T18:04:55.300771Z 0 [Note] Binlog end
2020-07-17T18:04:55.301449Z 0 [Note] Shutting down plugin 'ngram'
2020-07-17T18:04:55.301517Z 0 [Note] Shutting down plugin 'partition'
2020-07-17T18:04:55.301560Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2020-07-17T18:04:55.301601Z 0 [Note] Shutting down plugin 'ARCHIVE'
2020-07-17T18:04:55.301641Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2020-07-17T18:04:55.301696Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2020-07-17T18:04:55.301709Z 0 [Note] Shutting down plugin 'MyISAM'
2020-07-17T18:04:55.301721Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2020-07-17T18:04:55.301725Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2020-07-17T18:04:55.301727Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2020-07-17T18:04:55.301730Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2020-07-17T18:04:55.301732Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2020-07-17T18:04:55.301735Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2020-07-17T18:04:55.301737Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2020-07-17T18:04:55.301740Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2020-07-17T18:04:55.301742Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2020-07-17T18:04:55.301744Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2020-07-17T18:04:55.301747Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2020-07-17T18:04:55.301749Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2020-07-17T18:04:55.301751Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2020-07-17T18:04:55.301754Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2020-07-17T18:04:55.301756Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2020-07-17T18:04:55.301758Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2020-07-17T18:04:55.301764Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2020-07-17T18:04:55.301771Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2020-07-17T18:04:55.301777Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2020-07-17T18:04:55.301782Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2020-07-17T18:04:55.301787Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2020-07-17T18:04:55.301794Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2020-07-17T18:04:55.301802Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2020-07-17T18:04:55.301807Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2020-07-17T18:04:55.301812Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2020-07-17T18:04:55.301853Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2020-07-17T18:04:55.301863Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2020-07-17T18:04:55.301868Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2020-07-17T18:04:55.301873Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2020-07-17T18:04:55.301877Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2020-07-17T18:04:55.301881Z 0 [Note] Shutting down plugin 'InnoDB'
2020-07-17T18:04:55.301947Z 0 [Note] InnoDB: FTS optimize thread exiting.
2020-07-17T18:04:55.302353Z 0 [Note] InnoDB: Starting shutdown...
2020-07-17T18:04:55.402667Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2020-07-17T18:04:55.403095Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 200717 18:04:55
2020-07-17T18:04:56.937723Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12359635
2020-07-17T18:04:56.940843Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-07-17T18:04:56.940912Z 0 [Note] Shutting down plugin 'MEMORY'
2020-07-17T18:04:56.940921Z 0 [Note] Shutting down plugin 'CSV'
2020-07-17T18:04:56.940927Z 0 [Note] Shutting down plugin 'sha256_password'
2020-07-17T18:04:56.940930Z 0 [Note] Shutting down plugin 'mysql_native_password'
2020-07-17T18:04:56.941070Z 0 [Note] Shutting down plugin 'binlog'
2020-07-17T18:04:56.943287Z 0 [Note] mysqld: Shutdown complete

MySQL init process done. Ready for start up.

2020-07-17T18:04:57.208667Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-07-17T18:04:57.210365Z 0 [Note] mysqld (mysqld 5.7.22) starting as process 1 ...
2020-07-17T18:04:57.214072Z 0 [Note] InnoDB: PUNCH HOLE support available
2020-07-17T18:04:57.214104Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-07-17T18:04:57.214110Z 0 [Note] InnoDB: Uses event mutexes
2020-07-17T18:04:57.214114Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-07-17T18:04:57.214118Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2020-07-17T18:04:57.214122Z 0 [Note] InnoDB: Using Linux native AIO
2020-07-17T18:04:57.214378Z 0 [Note] InnoDB: Number of pools: 1
2020-07-17T18:04:57.214515Z 0 [Note] InnoDB: Using CPU crc32 instructions
2020-07-17T18:04:57.216490Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-07-17T18:04:57.228392Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-17T18:04:57.231105Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-07-17T18:04:57.243609Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2020-07-17T18:04:57.261625Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-17T18:04:57.261744Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-17T18:04:57.338506Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2020-07-17T18:04:57.339554Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2020-07-17T18:04:57.339608Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2020-07-17T18:04:57.340689Z 0 [Note] InnoDB: Waiting for purge to start
2020-07-17T18:04:57.390972Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 12359635
2020-07-17T18:04:57.391366Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2020-07-17T18:04:57.391561Z 0 [Note] Plugin 'FEDERATED' is disabled.
2020-07-17T18:04:57.396979Z 0 [Note] InnoDB: Buffer pool(s) load completed at 200717 18:04:57
2020-07-17T18:04:57.397679Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2020-07-17T18:04:57.398200Z 0 [Warning] CA certificate ca.pem is self signed.
2020-07-17T18:04:57.400611Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2020-07-17T18:04:57.400769Z 0 [Note] IPv6 is available.
2020-07-17T18:04:57.400810Z 0 [Note]   - '::' resolves to '::';
2020-07-17T18:04:57.400843Z 0 [Note] Server socket created on IP: '::'.
2020-07-17T18:04:57.410350Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2020-07-17T18:04:57.411906Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.411962Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.411973Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.411997Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.412002Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.412013Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.414402Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.414449Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
2020-07-17T18:04:57.421454Z 0 [Note] Event Scheduler: Loaded 0 events
2020-07-17T18:04:57.421835Z 0 [Note] mysqld: ready for connections.
Version: '5.7.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
^C

/ # docker exec -it some-mysql mysql -Uroot -pmy-secret-pw
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.22 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Are you running Docker for Mac/Windows? Anything that might be unusual with the environment?

Are you running Docker for Mac/Windows? Anything that might be unusual with the environment?

I'm running on Ubuntu 18.04.4.
I don't see anything unusual...

I'm not able to reproduce

Yes. This problem is only in one of my machines. I don't see this error in other machines.
I've tried many different things including rebooting, images deleting, different version of docker images, different versions of MySQL... Nothing helps.
 Program aborted!

On the machine you're seeing issues on, do you currently have (or have you
ever) installed MySQL on the host?
(My guess is an odd interaction with AppArmor.)

On the machine you're seeing issues on, do you currently have (or have you
ever) installed MySQL on the host?

Yes. I have running MySQL.

(My guess is an odd interaction with AppArmor.)

Interesting... To be honest, I've never heard of it.

Yep, AppArmor is a protection scheme (LSM) that Ubuntu uses by default.
This isn't inherently an issue in the image (not something we can fix in the image), so for further help working around it I'd suggest the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

Ok, thanks.
I disabled AppArmor but it didn't help.


Generate unique DH parameters

Generating unique Diffie-Hellman (DH) parameters using OpenSSL enhances security compared to predefined parameters. By creating a new set of DH parameters for each session, the risk of attacks exploiting reused or weak parameters is reduced, ensuring a more secure key exchange process. Although this adds a slight delay to script execution, it is justified by the security improvement of generating unique values for each server.

One should at the very least provide some references before making such bold claims.

One should at the very least provide some references before making such bold claims.

I simply mean that using the same predefined ffdhe2048 key increases risk to parameter reuse, it can make encryption predictable. Generating unique DH parameters for each server reduces this risk somewhat.


Android audio profile remains 'In-Call' after Session disconnect

I've found that on my Android implementation of this plugin that after leaving a Session, the audio profile on my device remains in 'In-Call' mode, and pressing the physical volume buttons continue to adjust 'In-Call Volume'. This persists at least until the app is force closed, and in some cases will even remain until the device is restarted. I've tested this on a variety of devices, such as the Pixel 3XL and Note 9 (both Android 9) and an LG-X230 (Android 6.0).
I've noticed that every time the app attempts to call session.disconnect(), it throws an error " Only the original thread that created a view hierarchy can touch its views".
This is how a session is terminated:
disconnectCall () {
    if (this.publisher) {
      this.publisher.destroy()
      this.publisher = null
    }

   if (this.session) {
      this.session.disconnect()
      this.session = null
   }

I've tried a variety of the available functions, such as session.unpublish(publisher) and session.disconnect() but so far only the above implementation that seems to successfully kill the connection and remove all the video elements.

@WakeUpMrWest did you found a way to fix this behaviour? I'm facing this same issue


Support runtime configuration for api_key and release_stage

Right now api_key and release_stage are resolved at compile time (when Bugsnex.Notice is compiled). This makes it impossible to configure these values at runtime, e.g. when configuring Distillery or new Elixir releases via environment variables.

Thanks for this!


How to serve deepseekV3  by sglangv0.4.1

the deepseekV3 base is 685B, and sglang seems not support pipeline parallel, so I wander how to deploy on an A10080*8 machine?

We support serving Deepseek V3 on 8 * H200 model. Please wait for them to be released. After deepseek model released, you can try out this:
pip install "sglang[all]" --find-links https://flashinfer.ai/whl/cu121/torch2.4/flashinfer
python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-V3-Base --enable-dp-attention --tp 8 --trust-remote-code

Use the newest SGLang.
Or use docker:
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env “HF_TOKEN=<secret>” \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-V3-Base --enable-dp-attention --tp 8 --trust-remote-code --port 30000

Thank you for your timely response, it's sad that  I don't have  8 * H200, can I try pipeline parallel?

We do not have pipeline parallelism. @zhyncs Do we have other choice.


addressed "warning: keyword '*' does not need to be escaped in..."

Thanks for your PR.
We'll include this in the next version. The reason we didn't fix these warnings earlier is because this change breaks Swift 2 compatibility, but we are planning on removing Swift 2 support in the next version anyway.


findfont: Generic family 'sans-serif' not found because none of the following families were found: Liberation Sans

Exoplanet seems to corrupt matplotlib.
exoplanet.version = '0.5.3'
Tried multiple Conda environments Python 3.7, 3.8, 3.10, 3.11
Adding test code shows matplotlib working normally until:
import exoplanet.
Then every matplotlib cell generates many:
findfont: Generic family 'sans-serif' not found because none of the following families were found: Liberation Sans
astrometric.ipynb has the above issue initially in Python 3.7 until code:
The plot on the sky is helpful to look at, but the "raw" measurements are the values of $\rho$ (separation) and $\theta$ (also called P.A., position angle) that we listed in our data table, and that the measurement uncertainties live on these values as nice Gaussians. So, to visualize this space more clearly, we can plot $\rho$ vs. time and P.A. vs. time.
Then lower cells in Python 3.7 work without issue with matplotlib.
Higher Python versions have the above issue continuously.

Matplotlib Test case:

After import exoplanet:

MacOS: 12.6.7

If you don't want to use these plotting styles, you shouldn't call docs_setup and exoplanet won't change any matplotlib settings!

That worked.
Thanks!
Please close.


video_saved signal noop when raw

Resolves #34

FYI on the CI checks, it is only flake8 that is failing, not the tests. Happy to fix the flake8 violations as well, but did not want to lump it into this functionality change.

@mrname Looking good!.
If you could fix the flake8 errors caused by these changes that would be good. The one in the chooser.py and the other in test/storage.py are caused by updates to flake8 and I can fix those by updating the .flake8 config
Otherwsie looks like there's some unused imports in tests/test_model.py with some extra blank lines and an isort error as well.


Draft 10 tweets

Drafted in buffer; already have until thursday. Link to buffer: https://publish.buffer.com/profile/5eb0547ae84da031eb4f7313/tab/queue

Looks great! A few comments:

for today's tech tuesday tweet, the laptop picture is fine, but im wondering if we could get something more engaging. This might be a case where it's better to use a funny gif with a cat tapping a laptop, or something like that (not sure if buffer let's you do gifs?)
Saturday has two tweets, not sure we need that! Maybe move one of those to a different day
All in all, good job!

Edits are done!


[HUDI-4365] Fixing URL-encoding in Bulk Insert row-writing path

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
Currently when doing bulk-insert using partition paths with slashes in it's being laid out incorrectly missing URL-encoding for the partition path, even though it's set to true.
This fix is purely a duct-tape until it's properly addressed by HUDI-3993
Brief change log
See above
Verify this pull request
This pull request is already covered by existing tests, such as (please describe tests).
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

Closing in favor of https://github.com/apache/hudi/pull/5523


Second degree amendments

In the (H)SC amendments, second degree amendments should be possible and highlighted. [future advancement, until now, you can helpypurself by using * to make the text italic]

Btw, special syntax doesn't work in liveview. But the stars would still be visible. I'll add this as another separate issue: #190


fix undefined timeout handling for fun smpp_socket:send_async/4

It probably needs to be considered here as well.

Added explicit function clauses for undefined timeout


.azDownload file when using Azure Storage Explorer

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.19.0
Platform
Windows
OS Version
Windows Server 2019
Architecture
i86
Build Number
20210425.1
Regression From
1.18.0
Bug Description
When I use the Microsoft Azure Storage Explorer to restore some archived files I get these files when they are restored. I can't open them. What could be the problem here? Also when downloading the whole map, Microsoft Azure Storage Explorer crashes.
The file names looks like this: .azDownload-a744fea2-6d1b-5040-46ef-2003d8add10a-Stockphotos II.zip
Steps to Reproduce

Open archive
Right mouse click on map
Download
Then the download is stuck at some point or the Azure File explorer crashes

Actual Experience
The Azure File explorer crashes when downloading a map. Or is stuck at 8%. When wee look in the download map some files have weird names and can't open them.
Expected Experience
No response
Additional Context
No response

When the Azure file explorer Crashes I get this error

Rebooting the server fixed the problem

Since this is mitigated, we are going to close the issue. We don't know for sure what is the root cause of this error. Please let us know if you run into this problem again or you somehow figured out what goes wrong.


Refine ProtonMail icon

Made the ProtonMail icon more accurate to its original version
Screenshots
Before:

After:

Thanks, @IAmRuMaks!


Strat weird behaviour

Hi guys,
I would like to know if someone has an idea of why, when I use neural strat it does this weird thing in the time line.

When refresh the time goes back one day.. The picture is not very clear because of the size limit for attached files..
I have tried other strat but it seems that it does it only with neural. The command is ./zenbot.sh trade --manual --strategy neural --period 1m gdax.ETH-EUR.
Hope someone can help since I am stuck to a 15 days old version and it would be nice to be able to pull to the latest and still use the neural strat.
Thanks.

I am not seeing anything.
Create a higher res webm and upload it to gfycat.com or something.

Sorry about that, this is a screenshot from that video..  As you can see the last line is a day back

Odd
Does your system time change or anything?

No, it is synced and actually I tried in 2 different machine and it does the same.. I am using an old version in live mode, it is on 24/7 and it works nice with same strat. I don't know exactly in which pull this started..

This is with --debug

So the timestamp is actually jumping back and forth?
"Could" be a problem with the trade time reported by the exchange or the strategy.
I suspect the former.

I tried the same strat on Binance, Bittrex and Gdax and it does the same..

Ok, maybe some of you coders can tell me why, and maybe fix it. I narrowed down to this commits that is when it start to do this bug. It is between this #1324 and this one #1340. I am not sure which one because #1324 don't run so the next one is #1324 and after this it start to do what I described earlier.
What I did is checkout backwards until it started behave normally again.
Maybe someone can understand what happened.
Thanks.

Also to be noted with neural, it does some other odd things:

Sims produce 0 stats.
When starting neural trade it produces a webpage and port.. then does it's historical print out, then when it catches up to live, it produces another webpage and port.. then starts live trading.
When completion of sim or live trading, it outputs to the screen several lines after stopping, so you get the prompt, then it gets buried in residual data.

There indeed seems to be a problem with neutral strat initiating trade twice causing the duplicate output and ultimately leading to the EADDRINUSE exception...

Ok, looks like neutral strat will fork the main process (n times based on threads) causing the observed behavior, including the timestamp jumping back and forth which basically is nothing else than the output of the two running instances.
The EADDRINUSE can be overcome by simply only initializing the output for the master process.
For everything else, including how this was/is supposed to work i'll have to go back to the current stable.
IMHO it doesn't make sense to output anything but the main process.

Ok,  I can't code so no help there, but I may do some testing if needed.

@defkev do you think you could put me in the right direction on what file should I edit to apply the solution that you propose for the timestamp jumping.. just to be able to live test the new neural strat so I may provide also some feedback on how this new strat works.. thank anyway.

I managed to find a workaround for this problem. Set the api port to 0 in conf.js, so the port is getting randomly chosen for each instance:
c.output.api.port = process.env.ZENBOT_API_PORT || 0
I gues its not optimal but works for me. The better solution would be starting output for only the main process like @defkev said above.


MINOR:Topic command integration test migrate to new test infra

*More detailed description of your change,

New interface aliveBrokers() for clusterInstance.
Migrate opic command integration test migrate to new test infra

*Summary of testing strategy (including rationale)
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@TaiJuWu please rebase code

@TaiJuWu please rebase code

Rebase already, thanks.

There are some tests fail, I am going to dig it.

@TaiJuWu Could you please rebase code to trigger QA again?

@TaiJuWu Could you please rebase code to trigger QA again?

Done. Thanks!

@TaiJuWu Could you please fix the conflicts?

@TaiJuWu Could you please fix the conflicts?

Hi @chia7712 , thanks for review, update!


QueryBuilderOperationSupport doesn't use QueryBuilderContext defined by QueryBuilder

Related: #506
QueryBuilderOperationSupport has its own static getters for QueryBuilderContext and QueryBuilderUserContext. These don't use the overridden context defined by the QueryBuilder subclass.
https://github.com/Vincit/objection.js/blob/1a191b5f155816a33e35b662c7eb903fceadafb3/lib/queryBuilder/QueryBuilderOperationSupport.js#L41-L47
Is there a way to make this class use the overridden context constructors?

This is all private implementation you shouldn't be using. It may change even between patch versions.

That's fair. I'm guilty of using a couple of private APIs of Objection, childQueryOf being a notable one 😅


Background Mode: GUI_PAGE_BKG throws illegal class exception

Hey,
after the new update I cannot configure the background mode anymore. In Class ZCL_ABAPGIT_GUI_PAGE_BKG, Method render_settings its trying to call get_settings from a dynamic object (is_per-method) which only contains "push" so it throws a illegal class exception trying to execute it (Given it´s name I suppose thats not what should be there anyway.
CALL METHOD (is_per-method)=>zif_abapgit_background~get_settings
  CHANGING
    ct_settings = lt_settings.

As my settings were empty anyway I just skipped it, and now its working fine, but I guess there should be something along the lines of ZCL_ABAPGIT_BACKGROUND_PUSH_AU, but is_per has no field containing a class.

install the latest version, fixed in https://github.com/larshp/abapGit/commit/eac0045305461af96793a657675b2d866c44d386

Didn´t see this since I last checked. Will try now