Retry plugin doesn't work correctly

Hello,
trying to add retry plugin to the configuration
My Config -
{
    "name" : "test",
    "active" : true,
    "proxy" : {
        "listen_path" : "/test",
        "upstreams" : {
            "balancing": "roundrobin",
            "targets": [
                {"target": "http://service1"},
				 {"target": "http://service2"}
            ]
        },
        "methods" : ["GET"]
    },
	"plugins": [
        {
	        "name" : "retry",
	        "enabled" : true,
	        "config" : {
	            "attempts" : 3,
	            "backoff": "10ms"
	        }
		}
]
}

I have two services and one of them is off.
I expect that after receiving 502 errors from the disabled service, janus will repeat the request and get a response from the working service.
But it returns nothing due to an error:
janus_1          | {"level":"debug","msg":"Starting Stats middleware","path":"/test","time":"2018-12-10T12:06:36Z"}
janus_1          | {"level":"debug","method":"GET","msg":"Started request","path":"/test","time":"2018-12-10T12:06:36Z"}
janus_1          | {"attempts":3,"backoff":10000000,"level":"debug","msg":"Starting retry middleware","time":"2018-12-10T12:06:36Z"}
janus_1          | {"level":"debug","msg":"Target upstream elected","target":"http://service1","time":"2018-12-10T12:06:36Z"}
janus_1          | {"level":"debug","msg":"Upstream Path","path":"","time":"2018-12-10T12:06:36Z"}
janus_1          | {"level":"info","msg":"Proxying request to the following upstream","request":"/test","request-id":"70adcfa7-3beb-4316-8724-b54c07e1706a","time":"2018-12-10T12:06:36Z","upstream-host":"service1","upstream-request":"/"}
janus_1          | [StatsGo] 2018/12/10 12:06:36 Stats counter incremented	metric=upstream.service1.-.-
janus_1          | [StatsGo] 2018/12/10 12:06:36 Stats counter incremented	metric=total.upstream
janus_1          | 2018/12/10 12:06:45 http: proxy error: context canceled
janus_1          | {"level":"debug","msg":"Target upstream elected","target":"http://service2","time":"2018-12-10T12:06:45Z"}
janus_1          | {"level":"debug","msg":"Upstream Path","path":"","time":"2018-12-10T12:06:45Z"}
janus_1          | {"level":"info","msg":"Proxying request to the following upstream","request":"/test","request-id":"70adcfa7-3beb-4316-8724-b54c07e1706a","time":"2018-12-10T12:06:45Z","upstream-host":"service2","upstream-request":"/"}
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=upstream.service2.-.-
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=total.upstream
janus_1          | 2018/12/10 12:06:45 http: proxy error: context canceled
janus_1          | 2018/12/10 12:06:45 http: multiple response.WriteHeader calls

After all attempts getting an error "request failed too many times"
(Also if you set non-zero "forwarding_time" - you can get right response from alive service but with 502 in header)

janus_1          | {"error":"request failed too many times: GET /test request failed","level":"error","msg":"Internal server error handled","stack":"goroutine 148 [running]:\nruntime/debug.Stack(0xce2ba0, 0xc420629d40, 0xc420345d10)\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/hellofresh/janus/pkg/errors.Handler(0xce8120, 0xc4206287e0, 0xb7a9a0, 0xc420629d40)\n\t/go/src/github.com/hellofresh/janus/pkg/errors/error.go:64 +0x331\ngithub.com/hellofresh/janus/pkg/plugin/retry.NewRetryMiddleware.func1.1(0xce8120, 0xc4206287e0, 0xc420572d00)\n\t/go/src/github.com/hellofresh/janus/pkg/plugin/retry/middleware.go:61 +0x44d\nnet/http.HandlerFunc.ServeHTTP(0xc420453880, 0xce8120, 0xc4206287e0, 0xc420572d00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*ChainHandler).ServeHTTP(0xc4200b27c0, 0xce8120, 0xc4206287e0, 0xc420572d00)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/chain.go:31 +0x52\ngithub.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).routeHTTP(0xc420070240, 0xce8120, 0xc4206287e0, 0xc420572d00)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:424 +0x289\ngithub.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).(github.com/hellofresh/janus/vendor/github.com/go-chi/chi.routeHTTP)-fm(0xce8120, 0xc4206287e0, 0xc420572d00)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:368 +0x48\nnet/http.HandlerFunc.ServeHTTP(0xc42056c110, 0xce8120, 0xc4206287e0, 0xc420572d00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/pkg/middleware.(*OpenTracing).Handler.func1(0xce9c60, 0xc420344e10, 0xc420572c00)\n\t/go/src/github.com/hellofresh/janus/pkg/middleware/opentracing.go:108 +0xa07\nnet/http.HandlerFunc.ServeHTTP(0xc420453440, 0xce9c60, 0xc420344e10, 0xc420572c00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/pkg/middleware.NewRecovery.func1.1(0xce9c60, 0xc420344e10, 0xc420572c00)\n\t/go/src/github.com/hellofresh/janus/pkg/middleware/recovery.go:15 +0xa8\nnet/http.HandlerFunc.ServeHTTP(0xc420453460, 0xce9c60, 0xc420344e10, 0xc420572c00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop.CaptureMetrics.func1(0xce9c60, 0xc420344e10)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop/capture_metrics.go:30 +0x4c\ngithub.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop.CaptureMetricsFn(0xce9c60, 0xc420344c80, 0xc4204b9600, 0xc4204b9620, 0x24be955e3fe399cd, 0x40dfda)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop/capture_metrics.go:81 +0x25a\ngithub.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop.CaptureMetrics(0xce4140, 0xc420453460, 0xce9c60, 0xc420344c80, 0xc420572c00, 0x70a2dd, 0xc, 0xc4204296c8)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop/capture_metrics.go:29 +0x79\ngithub.com/hellofresh/janus/pkg/middleware.(*Logger).Handler.func1(0xce9c60, 0xc420344c80, 0xc420572c00)\n\t/go/src/github.com/hellofresh/janus/pkg/middleware/logger.go:34 +0x73d\nnet/http.HandlerFunc.ServeHTTP(0xc420453480, 0xce9c60, 0xc420344c80, 0xc420572c00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop.CaptureMetrics.func1(0xce9c60, 0xc420344c80)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop/capture_metrics.go:30 +0x4c\ngithub.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop.CaptureMetricsFn(0xce9120, 0xc420474540, 0xc4204b9b08, 0x70b88b, 0xc07b00, 0xc4203ea680)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop/capture_metrics.go:81 +0x25a\ngithub.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop.CaptureMetrics(0xce4140, 0xc420453480, 0xce9120, 0xc420474540, 0xc420572c00, 0xc42052d050, 0x7f532653e8b0, 0x0)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/felixge/httpsnoop/capture_metrics.go:29 +0x79\ngithub.com/hellofresh/janus/pkg/middleware.(*Stats).Handler.func1(0xce9120, 0xc420474540, 0xc420572c00)\n\t/go/src/github.com/hellofresh/janus/pkg/middleware/stats.go:34 +0x18c\nnet/http.HandlerFunc.ServeHTTP(0xc4204534a0, 0xce9120, 0xc420474540, 0xc420572b00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/pkg/middleware.RequestID.func1(0xce9120, 0xc420474540, 0xc420572a00)\n\t/go/src/github.com/hellofresh/janus/pkg/middleware/request_id.go:31 +0x204\nnet/http.HandlerFunc.ServeHTTP(0xc4204534c0, 0xce9120, 0xc420474540, 0xc420572a00)\n\t/usr/local/go/src/net/http/server.go:1947 +0x44\ngithub.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).ServeHTTP(0xc420070240, 0xce9120, 0xc420474540, 0xc420572900)\n\t/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:81 +0x221\ngithub.com/hellofresh/janus/pkg/router.(*ChiRouter).ServeHTTP(0xc42056c0a0, 0xce9120, 0xc420474540, 0xc420572900)\n\t/go/src/github.com/hellofresh/janus/pkg/router/chi.go:32 +0x54\nnet/http.serverHandler.ServeHTTP(0xc4204e6680, 0xce9120, 0xc420474540, 0xc420572900)\n\t/usr/local/go/src/net/http/server.go:2697 +0xbc\nnet/http.(*conn).serve(0xc42047d2c0, 0xcea120, 0xc42034c400)\n\t/usr/local/go/src/net/http/server.go:1830 +0x651\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:2798 +0x27b\n","time":"2018-12-10T12:06:45Z"}
janus_1          | 2018/12/10 12:06:45 http: multiple response.WriteHeader calls
janus_1          | {"code":502,"duration":9530,"duration-fmt":"9.530165386s","host":"localhost:8666","level":"info","method":"GET","msg":"Completed handling request","referer":"","remote-addr":"<IP_ADDRESS>:60392","request":"/test","request-id":"70adcfa7-3beb-4316-8724-b54c07e1706a","time":"2018-12-10T12:06:45Z","user-agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"}
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats timer finished	bucket=request.get.test.-	elapsed=9.530260837s
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=request.get.test.-
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=request-fail.get.test.-
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=total.request
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=total.request-fail
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats timer finished	elapsed=9.530260837s	bucket=round.get.test.-
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=round.get.test.-
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=round-fail.get.test.-
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=total.round
janus_1          | [StatsGo] 2018/12/10 12:06:45 Stats counter incremented	metric=total.round-fail


Allow custom formatting for --help, --version, --trace options

You hard code the text strings for the default global options.  It is often necessary to manually reset those, to support things like internationalization.

This issue was moved to commander-rb/commander#1


Feat/init

Why?
This is the first PR: there is no code before this PR.
What?

Implementation of poseidon permutation using Hades strategy.
Implementation of hash function via a sponge.
One set of parameters called s128b including round_constants and MDS_matrix. Comes from the starkad implementation.
Test cases generated with starkad's sage implementation.

Limitations?

Currently only one set of parameters is implemented. More are coming.
Has been tested for a ff::PrimeField only. In particular, binary fields are not included at the moment.
A C-interface is also coming up, so that hash functions should be usable from geth.
Documentation is still minimal, should evolve with the project.

Update: the C-interface has been added together with tests from golang.


Fix up Python code-style.

Fix docstrings to be inline with PEP8 and flake8-docstrings recommendations.
Consistent and Python 3 compatible use of print function.
Fix various whitespace inconsistencies.

Next up for helper.py.

Adding argparse help and such to allow more tailored commands.
Add CLI option to build a single recipe.
Use this pattern http://stackoverflow.com/a/19263313 to allow multiple recipes at once.
Add an empty __init__.py file so I can use this as a submodule in planemo (unless you want to publish it to PyPI).

Is that an okay plan for the day or are there any of those changes you wouldn't want?

This sounds awesome. But please take it completely over. No need for a submodule, I can use planemo here - but maybe this should end up in galaxy-lib?

If you want to do a complete overhaul of the helper.py please keep in mind that we initially wanted to use a fully-containerized build (at least, as much as possible) to keep the results reproducible.
I'd be very supportive towards a plan that incorporates planemo inside a container, though.

@thriqon I'll keep that in mind - it seems less important than what is insider the resulting containers but I like the dedication to complete reproduciblity. If we can about these issues - should we write some more information in the container - like dump the complete list of conda installed software and versions, the version of conda used, the version of mulled, the command-line arguments, etc.... Maybe into like a /mulled.json file?


Canvas2d first version

Ok guys, after weeks of hard work, this is it! Be indulgent about the current state but merciless about how it should be!
Documentation/tutorials in progress. PR will arrive soon too!

First of all thank you for this INSANELY cool feature!
I have a few comments and we will be able to merge

by the way. I think I didn't push the .js files, do you want me to do it now with the changes we just mentioned?

Only .ts :)

So could this be used for texturing of 3D GUI? Is this improvements to the DynamicTextures class? I'm finding that using multiple DynamicTextures (for text) really affects performance.
Any idea when examples/docs will be available?
Thanks! This looks awesome!

Hello @NeoHoffa
Yes it was exactly designed to fit those needs.
I've not completely done doc/tutorial, but you can check these links.
The text drawing is now really fast, as well as 2D drawing. It's done completed yet, but it designed to create GUI both on screen or inside a 3D world.
Here are some pointers, I'll update the doc soon:
overview doc
tutorial
http://babylonjs-playground.com/#OWCCR#3
http://babylonjs-playground.com/#1BKDEO#2
http://babylonjs-playground.com/#272WI1

Hey @nockawa. This is awesome!
I noticed that your Trello link is not public anymore. Do you have a timeframe when docs/tutorials will be available?
Can't wait!
Thanks a lot.

Yeah, sorry, but it was decided internally to keep the board private right now. we'll see in the future.
The links I just gave are live, you'll find a lot of info already, I'll push the rest in less than a day.

You are awesome!

@NeoHoffa  I'll write an introduction of the feature in the html5gamedec forum soon.
The whole feature is, well, ambitious, I'm pretty happy with the rendering engine, but there's still a long way to go to reach what I want to do. So please, any feedback are more than welcome, I'll do my best to fix bugs and add the critical missing features asap.

You got it!


feat(sampler):Feature sampler for vertical federated-learning

1.support upsample and downsample
2.support random sample and stratify sample

feat(sampler):Feature sampler for vertical federated-learning
1.support upsample and downsample
2.support random sample and stratify sample


Put requests after blocking multi_curl

$multi_curl->start(); // Blocks until all items in the queue have been processed.
Sometimes I have about 200 tasks to do in a short limit of time. Server can keep only 50 properly. And when one is completed I want to put another one. Is it safe to put somehow more request in a blocked queue? Or should I start a new one, will it run async?
For example:
$multi_curl1->start();
// checking how many is completed from $multi_curl1, when half is completed
//setting up
$multi_curl2->start();

And another case, when I have chain of queries (more than 2), for example authorization, is there any way to make it async? I mean when I have 20 threads, and I need to make many different queries in any of the threads without waiting another ones.
In pure multicurl there is an option to put another request in queue.
Regards.

Hi. Yes you can add additional requests (e.g. via addGet, addPost, etc.) after starting.
$urls = array();
for ($i = 0; $i < 10; $i++) {
    $urls[] = 'https://www.example.com/?' . md5(mt_rand());
}

$multi_curl = new MultiCurl();
$multi_curl->complete(function ($instance) use (&$multi_curl, &$urls) {
    $next_url = array_pop($urls);
    if (!($next_url === null)) {
        $multi_curl->addGet($next_url);
    }
});

$multi_curl->addGet(array_pop($urls));
$multi_curl->start();


Add Google Maps and features to my portfolio

I just embedded a Google Map into my webpage.

Also just testing chaining PRs


Update MONAI and VIAME examples

Update demo notebooks with the new high-level saliency API, while removing use of temp directory for storing data.

@Purg I made the suggested changes, PTAL and merge if ready. Thanks!


replaced protobuf tag

Replaced protobuf to avoid confusion when used with flatbuffers

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

This will currently not pass the tests, unfortunately, as there are several golden-file tests that check the contents of generated files. Those may be removed by #8380 , so I would suggest holding off on this PR until that one goes through.

Alright, Thanks!

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

@vjpai looks like #8380 has been merged

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Magical Jenkins invocation: this is ok to test
Though, the generator code is currently protobuf specific; this arguably is not needed quite yet (unless someone has already repurposed this code for flatbuffers somewhere downstream?).

https://github.com/google/flatbuffers/tree/master/grpc
Flatbuffers shares the copy of generators from here

Ah, thanks. I stand corrected.

Thanks.
Please also update https://github.com/grpc/grpc/blob/master/test/cpp/codegen/compiler_test_golden accordingly.

@yang-g  Done

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

jenkins: test this please

jenkins: test this please


KAFKA-12464: follow up PR to refactor codes and add logs

This is the follow up PR to address the remaining comments in https://github.com/apache/kafka/pull/10509.
Committer Checklist (excluded from commit message)

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

@ableegoldman , I've addressed all your comments in  #10509. Please take a look. Thank you.


[UI] Filters Grid View

Signed-off-by: Gaurav Chadha<EMAIL_ADDRESS>Description
Adds filters grid view
This PR fixes #5623
Notes for Reviewers
https://user-images.githubusercontent.com/65453826/174452385-a7e03237-6728-4eff-8452-60d1fd637f40.mp4
Signed commits

[x] Yes, I signed my commits.

good to merge? @Abhishek-kumar09

@Chadha93 heads-up: merge conflict...


Method does not override method from its superclass

Hi!
When I copy and paste SampleItem class Android Studio returns me this error:

I've only changed name of the class.
package com.franci22.supersecureencryption.items;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.franci22.supersecureencryption.R;
import com.mikepenz.fastadapter.items.AbstractItem;

import java.util.List;

public class ListItem extends AbstractItem<ListItem, ListItem.ViewHolder> {

    public String name;
    public String description;

    //The unique ID for this type of item
    @Override
    public int getType() {
        return R.id.list_item_id;
    }

    //The layout to be used for this type of item
    @Override
    public int getLayoutRes() {
        return R.layout.list_item;
    }

    //The logic to bind your data to the view
    @Override
    public void bindView(ViewHolder viewHolder, List<Object> payloads) {
        //call super so the selection is already handled for you
        super.bindView(viewHolder, payloads);

        //bind our data
        //set the text for the name
        viewHolder.name.setText(name);
        //set the text for the description or hide
        viewHolder.description.setText(description);
    }

    //reset the view here (this is an optional method, but recommended)
    @Override
    public void unbindView(ViewHolder holder) {
        super.unbindView(holder);
        holder.name.setText(null);
        holder.description.setText(null);
    }

    //The viewHolder used for this item. This viewHolder is always reused by the RecyclerView so scrolling is blazing fast
    protected static class ViewHolder extends RecyclerView.ViewHolder {
        protected TextView name;
        protected TextView description;

        public ViewHolder(View view) {
            super(view);
            this.name = (TextView) view.findViewById(R.id.material_drawer_name);
            this.description = (TextView) view.findViewById(R.id.material_drawer_description);
        }
    }
}

Why? Thanks!

@franci22 2.1 will slightly alter this method. So for 2.0 you should have just List without the <Object> in the bindView  method

You can always look at the source code for a specific tag: https://github.com/mikepenz/FastAdapter/blob/v2.0.0/app/src/main/java/com/mikepenz/fastadapter/app/items/SimpleItem.java

Thanks! And what about unbindView?

What do you mean?
https://github.com/mikepenz/FastAdapter/blob/v2.0.0/app/src/main/java/com/mikepenz/fastadapter/app/items/SimpleItem.java#L114

Do you have a wrong ViewHolder import? not the one defined in the class definition?

This is my code right now:
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.franci22.supersecureencryption.R;
import com.mikepenz.fastadapter.items.AbstractItem;

import java.util.List;

public class ListItem extends AbstractItem<ListItem, ListItem.ViewHolder> {

    public String name;
    public String description;

    //The unique ID for this type of item
    @Override
    public int getType() {
        return R.id.list_item_id;
    }

    //The layout to be used for this type of item
    @Override
    public int getLayoutRes() {
        return R.layout.list_item;
    }

    //The logic to bind your data to the view
    @Override
    public void bindView(ViewHolder viewHolder, List payloads) {
        //call super so the selection is already handled for you
        super.bindView(viewHolder, payloads);

        //bind our data
        //set the text for the name
        viewHolder.name.setText(name);
        //set the text for the description or hide
        viewHolder.description.setText(description);
    }

    @Override
    public void unbindView(ViewHolder holder) {

        super.unbindView(holder);
        holder.name.setText(null);
        holder.description.setText(null);
    }

    //The viewHolder used for this item. This viewHolder is always reused by the RecyclerView so scrolling is blazing fast
    protected static class ViewHolder extends RecyclerView.ViewHolder {
        protected TextView name;
        protected TextView description;

        public ViewHolder(View view) {
            super(view);
            this.name = (TextView) view.findViewById(R.id.material_drawer_name);
            this.description = (TextView) view.findViewById(R.id.material_drawer_description);
        }
    }
}

@franci22 could you just remove the unbind method and use Android Studio to generate the override method for you? I can't see the issue in your sample

please answer back. close this for now

Error:(25, 5) error: method does not override or implement a method from a supertype i have an error woud you pls help

@Override
public Map<String,String> getparams(){
return paramas;
}
}
the above is my code

@akhilps I do not see code which is related to the FastAdapter

i cannot understand plz help me whats
i have to do

@akhilps you did not post the full error log, not the code which is not compiling, nor a detailed description what's going on. Please create a new issue, with proper description, with proper code, otherwise I can't help you

package com.example.akhil.loginregister;
/**

Created by AKHIL on 21-Apr-17.
*/
import com.android.volley.Response;
import com.android.volley.toolbox.StringRequest;
import java.util.HashMap;
import java.util.Map;

class RegisterRequest extends StringRequest{
private static final String REGISTER_REQUEST_URL="";
private Map<String,String> paramas;

public RegisterRequest(String name,String username,int age,String password,Response.Listener<String> listener) {
    super(Method.POST,REGISTER_REQUEST_URL, listener,null);
    paramas=new HashMap<>();
    paramas.put("name",name);
    paramas.put("username",username);
    paramas.put("password",password);
    paramas.put("age",age+"");
}
@Override
public Map<String,String>getparams(){
    return paramas;
}

}
this is my code and i have an error in @override the error

This has nothing to do with the FastAdapter library. Please use Google or StackOverFlow...

ok thanku

Please Solve This Error

This issue has nothing to do with this library.

please help me and solve above problem

beacause i have same problm

@ayankhan2415, I had the same issue when updating to the new version '5.0.0 '. Just change the bindView signature from this :
override fun bindView(holder: ViewHolder, payloads: MutableList<Any>)
to this :
override fun bindView(holder: ViewHolder, payloads: List<Any>)


Sending money to myself doesn't create a transaction in error

An error occurred (sender and receiver must not be the same), but in the UI it is not displayed as an error.

It is indeed sent as an error.


readtable() fails where readcsv() succeed

Both julia readcsv() and R read.csv() are able to load my csv file. However, readtable fails with the following error:
ERROR: Saw 68715 rows, 28 columns and 1992734 fields
 * Line 1 has 31 columns

 in error at ./error.jl:21
 [inlined code] from ./printf.jl:145
 in findcorruption at /home/nixo/.julia/v0.4/DataFrames/src/dataframe/io.jl:712
 in readtable! at /home/nixo/.julia/v0.4/DataFrames/src/dataframe/io.jl:788

using
split(readall(head -1 file.csv), ",")
returns 29 (the right number of columns)
DataFrames version: 0.8.3

Can you try the CSV.jl package?

Wooah are you a bot?! too fast XD
Pkg.add("CSV")
using CSV

lot of deprecation warnings
CSV.read("file.csv")
ERROR: CSV.CSVError("error parsing a `Int64` value on column 29, row 2746; encountered 'f'")
 in parsefield at /home/nixo/.julia/v0.4/CSV/src/parsefields.jl:104
 in getfield! at /home/nixo/.julia/v0.4/DataStreams/src/DataStreams.jl:226

I went to that line, and indeed last column was missing (and the latest comma "," was missing, too). R sees this as a NA, readcsv() read it as a "" (empty string).
(Sorry, didn't know my csv was bad formatted)
Placing a comma fixes readtable(), but not CSV.read().
It complains for a dot (".0") in a Int column (and again, removing it fixes).

Maybe checking for it being an Int (despite the presence of the dot) make sense? Don't know how restrictive the csv format should be/is

Cc @quinnj

I don't see any deprecations - have you run Pkg.update()?

Ok is not deprecation, it's WARNING: New definition
❯julia                                                                                ~
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.5 (2016-03-18 00:58 UTC)
 _/ |\__'_|_|_|\__'_|  |
|__/                   |  x86_64-unknown-linux-gnu

julia> Pkg.update()
INFO: Updating METADATA...
INFO: Updating LatexPrint...
INFO: Computing changes...
INFO: No packages to install, update or remove

using CSV
WARNING: New definition
    convert(Type{CategoricalArrays.NominalPool{#S<:Any, #R<:Any, V<:Any}}, CategoricalArrays.NominalPool) at /home/nixo/.julia/v0.4/CategoricalAr
rays/src/pool.jl:54
is ambiguous with:
    convert(Type{CategoricalArrays.NominalPool{#T<:Any, #R<:Any, V<:Any}}, CategoricalArrays.NominalPool{#T<:Any, #R<:Any, V<:Any}) at /home/nixo
/.julia/v0.4/CategoricalArrays/src/pool.jl:51.
To fix, define
    convert(Type{CategoricalArrays.NominalPool{#S<:Any, #R<:Any, V<:Any}}, CategoricalArrays.NominalPool{#S<:Any, _<:Integer, V<:Any})
before the new definition.
WARNING: New definition
    convert(Type{CategoricalArrays.OrdinalPool{#S<:Any, #R<:Any, V<:Any}}, CategoricalArrays.OrdinalPool) at /home/nixo/.julia/v0.4/CategoricalAr
rays/src/pool.jl:54
is ambiguous with:
    convert(Type{CategoricalArrays.OrdinalPool{#T<:Any, #R<:Any, V<:Any}}, CategoricalArrays.OrdinalPool{#T<:Any, #R<:Any, V<:Any}) at /home/nixo
/.julia/v0.4/CategoricalArrays/src/pool.jl:51.
To fix, define
    convert(Type{CategoricalArrays.OrdinalPool{#S<:Any, #R<:Any, V<:Any}}, CategoricalArrays.OrdinalPool{#S<:Any, _<:Integer, V<:Any})
before the new definition.
WARNING: New definition
    convert(Type{#S<:Any}, CategoricalArrays.CategoricalValue{#T<:Any, R<:Integer}) at /home/nixo/.julia/v0.4/CategoricalArrays/src/value.jl:28
is ambiguous with:
    convert(Type{Base.Nullable{#T<:Any}}, #T<:Any) at nullable.jl:17.
To fix, define
    convert(Type{Base.Nullable{_<:CategoricalArrays.CategoricalValue{#T<:Any, R<:Integer}}}, _<:CategoricalArrays.CategoricalValue{#T<:Any, R<:In
teger})
before the new definition.
WARNING: New definition
    convert(Type{CategoricalArrays.NominalArray{#T<:Any, #N<:Any, #R<:Any}}, CategoricalArrays.NominalArray) at /home/nixo/.julia/v0.4/Categorica
lArrays/src/array.jl:97

and so on, it's quite long

Yeah, CategoricalArrays generates lots of ambiguity warnings on Julia 0.4. They are not shown in 0.5, which is why that's not been my top priority.
Coming back to the subject of this thread, your file contains a column with only integers, except for a .0? I guess that's no unreasonable to support (though it should probably be parsed a column of floats).

Could you file a new issue against CSV.jl, if possible with a short example? I'm closing this issue since readtable appears to work fine.


1.10.2 - Forge Bucket from Fluid Tank

With Forge Buckets enabled you can not pull liquids out of a fluid tank from the inventory.

Forge buckets do not register as buckets, that's a bug in Forge

What? But it hasn't been 'fixed' in forge and no one else is having a problem. Doesn't that make it your fault?

why is this his fault?! its a missing support at most.
I prefere him working on real issues instead of workarounds for other peoples faults that may be patched later, rendering the effort for the workaround a waste of time :)


Multi Site

I'm wondering how to build multi-sites with voyager?

All fields are required when submitting issues (ref).  Please complete all fields and reopen the issue.  Alternatively, you can ask for help in our Slack group.


request for more general einsum

Describe the problem
Tensors have sometimes a lot of dimensions and explicitly writing them helps a lot for writing concise and readable code without bugs. For this, notations like in tf.einsum is invaluable. Unfortunately, the current implementation of tf.einsum is only a subset of what could be done with it :

As documented, "Subscripts that are summed across multiple inputs (e.g., ij,ij,jk->ik)." are not supported.
Sums are not supported (eg. ij+ik->ijk, or even both products and sums ijjk+ik->ik)
Expanding dimensions could also be useful (eg. ij,jk->ikl).

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It looks like you haven't used a template to create this issue. Please resubmit your issue using a template from here. We ask users to use the template because it reduces overall time to resolve a new issue by avoiding extra communication to get to the root of the issue. We will close this issue in lieu of the new one you will create from the template. Thank you for your cooperation.


Delete of a Network Slice deletes all the subscribers

Describe the bug
I have been playing around with the delete of network slices and there is an inconsistent behavior. Sometimes it deletes the associated subscribers, sometimes it does not.
Or if we want to cascade delete all the subscribers associated to a NS, we should at least warn the user this would happen. And of course do not delete the Subscribers associated to other NS.
To discuss.

Seems to be related to the fact that we create a default device group when we create a network slice (https://github.com/canonical/sdcore-nms/pull/200)
If we create a new Network slice, the same default device group is used. So when we delete one of the network slices, the device group seems to be removed as well, and so do the subscribers associated to the default device group, even if it is on another network slice.


Fix alphaMode rendering

PBR  alphaMode test demo

unlit alphaMode test demo

Codecov Report
Base: 37.23% // Head: 36.74% // Decreases project coverage by -0.49% :warning:

Coverage data is based on head (2d3f76e) compared to base (a2759db).
Patch coverage: 50.00% of modified lines in pull request are covered.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add keepalives to waypoint HBONE endpoint to mimic ztunnel

Please provide a description of this PR:
In https://github.com/istio/ztunnel/pull/931 we added keepalives to the serverside of the HBONE tunnel to work around a hyper client bug: https://github.com/hyperium/hyper/pull/3647
This just adds the same things to the waypoint, for the same reasons.
IMO keepalives are probably worth having even if the hyper client bug is fixed, as a safety valve to keep misbehaving clients (even if they are ours) from hanging connections.

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

Test name
Commit
Details
Required
Rerun command

release-notes_istio
d10ec04be2529af0afb3cb5f51c63ede9c1e3e9b
link
true
/test release-notes

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

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

Test name
Commit
Details
Required
Rerun command

release-notes_istio
910570f7cb4f8cc943758f604101a56707f73ff3
link
true
/test release-notes

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

/test release-notes

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

Test name
Commit
Details
Required
Rerun command

release-notes_istio
910570f7cb4f8cc943758f604101a56707f73ff3
link
true
/test release-notes

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

In response to a cherrypick label: new pull request created: #50738


CI: Add clang and llvm dev dependencies for plugins

This should fix the broken master linux clang CI

Looks like they fixed the apt packages. I reran latest master and it passed:
https://github.com/LadybirdBrowser/ladybird/actions/runs/10186626833/job/28187069693
(I also reran CI for this PR and it passed too, but maybe isn't needed since master is fine)

yeap. all right, I'll close it then


Nice to have features

The changes are mainly for nice to have features:

Added support for expand / collapse Input Parameter Description section and Response Parameter Description section
Added icon checked to the button Explore after api key has been applied

very cool!  I review it tomorrow


Profile Stakeholder / Ent communication design

meeting notes?
Intercom integration

How do we best facilitate stakeholder and entrepreneur communication through our design

@lisaratner Can you elaborate on what the deliverable is here? It's not clear to me.


[SuperEditor][SuperTextField][Web] Fix IME panels positioning (Resolves #1356)

[SuperEditor][SuperTextField][Web] Fix IME panels positioning. Resolves #1356
On web, IME panels like the emoji picker, accent panel or japanese input panel aren't displayed at the correct position.
The root cause is that calling setCaretRect does nothing on web. To work around that, we need two changes:

Report the current text style to the IME
Change SuperEditor's size and transform reporting to report only the bounds of the selected node's visual component instead of the bounds of the whole editor

This PR changes the IME interactors so that, on web, we avoid calling setCaretRect and send the the selected component size and transform to the IME.
This PR introduces a TextInputComponent interface to provide methods and properties to query the required information that we need to send to the IME. I'd prefer to avoid declaring this interface and just adding those methods to TextComponentState, but it wouldn't work for the task component as it doesn't bind the component key to the inner TextComponent. If we can change that, this new interface can be removed.
https://github.com/superlistapp/super_editor/assets/7597082/1801c9d2-d11d-4da3-a6f6-715ac1839677
https://github.com/superlistapp/super_editor/assets/7597082/96bdf4d2-35db-4afe-90b6-2a503ac4a3d3
https://github.com/superlistapp/super_editor/assets/7597082/f04839c0-ddb3-4fdf-8683-940bfac8fa3d

@angelosilvestre you said that the task component doesn't link to its inner text component, but it does. The Task state object exposes both a childDocumentComponentKey and childTextComposable.

@matthew-carroll

The Task state object exposes both a childDocumentComponentKey and childTextComposable

The childDocumentComponentKey can be bound to an arbitrary component, not just a text component. It's true that in the majority of cases it will be a text component though. If we want to use childDocumentComponentKey then we need to check for a ProxyDocumentComponent and hard cast its child component to a TextComponent.
Please let me know what do you think.

For the case of a proxy component, how about we check if we're dealing with a proxy component. If we are, get the wrapped component, and then check if it's a text component, and then everything else continues as before.


Add metrics.json to plots list of watched files

Patches https://github.com/iterative/vscode-dvc/issues/3264
Seems like there are few issues with FileSystemWatchers on Codespaces. This patch is good enough for the time being.
Demo
Codespace is setup with example-get-started-experiments.
https://user-images.githubusercontent.com/37993418/220210459-3a50329e-fdec-4de0-beec-d36686b2fcb5.mov
https://user-images.githubusercontent.com/37993418/220210582-8075a619-3901-4900-a367-6ddb25ee84c6.mov

How would this consider that the metrics file can be located anywhere and be named anything?

@alex000kim it doesn't consider the fact that it can be named anything but it does cover that it can be anywhere. It is just a patch.

Thanks! I figured that before seeing your reply - that's why I removed my comment :)


[BEAM-4494] Migrate recent website changes from beam-site to beam

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

R: @alanmyrvold

And I see Website ("Run Website PreCommit") — FAILURE?

Looks like the .gradle files were added in https://github.com/apache/beam-site/pull/554 . @yifanzou do you know anything about these? I assume it was a mistake; we can follow-up with a subsequent PR either here or on the beam-site repository.
Looking into precommit failure now.

Run Website PreCommit

I believe pre-commits are failing because current_release is updated from 2.6.0 to 2.7.0, but we haven't published the javadocs/pydocs to the new release-docs branch yet. Sent a PR here: https://github.com/apache/beam-site/pull/575

Rename of create-external-table.md file causes issues getting external link https://beam.apache.org/documentation/dsls/sql/create-external-table ... this link should use {{ site.baseurl }} to be testable when it is new

Looks like the .gradle files were added in apache/beam-site#554

Seems like gradle files were automatically added by my IntelliJ. The apache/beam-site/#579 remove those binary files.

Run Website PreCommit

Run Website PreCommit

Run Website PreCommit

I'm not sure why pre-commits are still failing. The error is that it cannot resolve link https://beam.apache.org/documentation/dsls/sql/create-external-table/. But it shouldn't be resolving from https://beam.apache.org; the link should point to the locally-served site, right?
/cc @udim @alanmyrvold

Perhaps it's failing on a leftover file ./generated-content/documentation/dsls/sql/create-table/index.html that's no longer being generated. Perhaps it's a bug in the new process that it doesn't first clear build/website/generated-content/.

I think baseurl in _config.yml is the issue, which explains why there was a a separate https://github.com/apache/beam-site/blob/asf-site/_config_test.yml on apache/beam-site.
I ran https://github.com/apache/beam-site/blob/asf-site/_config_test.yml on my local machine (without this PR) and went to
http://<IP_ADDRESS>:4000/documentation/dsls/sql/statements/create-table/. It redirected me to https://beam.apache.org/documentation/dsls/sql/create-table/.


shim v2 runtime: use binary name / qualified path instead of magic

This is an enhancement/usability request for how v2-shim runtime implementations are configured for usage  by containerd.
In io.containerd.runtime.v1.linux, the binary name and path to runtime are utilized. As a user, this is straight forward and provides flexibility.
In v2, the shim name is inferred and assumed to be in the hosts' PATH.  This is pretty inflexible, and a bit confusing from a usability standpoint.  While I appreciate most users don't need to make these configuration changes, I think this could be improved easily.
If not, I would love to better understand the design decisions that lead to the current implementation.

/cc @Random-Liu @crosbymichael - would love your input here.  Thanks!

Perhaps this can be further broken into two items:

The inferred name
assumption on the path

(2) is the bigger issue for me, and I see a couple of solutions on how we install (via something like a container image utilized by a daemonset in k8s, ala kata-deploy):

we work with containerd to be able to specificy the path to the runtime's shim v2 binary (ideal from my perspective
we need to now write to a PATH location instead of /opt/kata, as is done today
we configure containerd to utilize/register/use an additional path

There does exist a way for containerd to install plugin dependencies as documented here

https://github.com/containerd/containerd/blob/master/docs/managed-opt.md

So is it ok to directly add binaries to the location specified by
[plugins.opt]
	path =

which are not managed by containerd.

https://github.com/containerd/containerd/blob/master/runtime/v2/shim/util.go#L58
The current code uses either PATH or uses a side-by-side approach. It then caches the result in containerd to make future lookup avoid the file system traversal. We could effectively have a config entry that pre-populates runtimePaths from config file if you want to be in a location other than these two.
Would that work for you?

Hey @jterry75 thanks for the quick reply.  Being able to specify the root path for a given runtime/runtimeClass would be ideal, and would solve issue (2) that I specified.
The magic name is still a bit confusing, imo.

Seems like we could have both without a breaking change.
pseudocode
// Runtime is user passed. If known via the runtime config don't convert the name.
if path, ok := runtimePaths[runtime]; ok {
  // use path
  // Check if the runtime was passed in via the `shimBinaryFormat` method
} else if path, ok = runtimePaths[BinaryName(runtime)]; ok {
  // use path
} else {
  // Lookup by BinaryName(runtime)
  // Cache were we found it.
}

@jterry75 anything we need before moving forward with implementation?  Is this something you were thinking of owning?

@crosbymichael Are you OK with this?
When actually trying to config a v2 runtime in a containerd systemd service, I found that assuming shim in path not very convenient.
Using Environment="PATH=xxx" makes me worry that I may lose some system default PATH. I think explicitly config shim path in containerd config makes people more confortable.

NVM, I found that we also support side by side as is mentioned in https://github.com/containerd/containerd/issues/3073#issuecomment-470237888, which seems good enough to me.

augmenting side by side as @jterry75 described would be a lot more useful to me, and is the request.  WDYT of his proposal, @Random-Liu @crosbymichael

@jterry75 's approach works for me

Hm, OK. This turns out to be a problem on Container Optimized OS (COS).
/usr/bin/containerd is on readonly partition, so it is not possible to install a containerd shim side by side.

NVM.
As is mentioned in https://github.com/containerd/containerd/issues/3073#issuecomment-470233394, the opt directory works well, containerd ensures that it is in PATH https://github.com/containerd/containerd/blob/master/services/opt/service.go#L50
Using it also aligns with the expectation documented at https://github.com/containerd/containerd/blob/master/docs/managed-opt.md:

With runtime v2 and new shim's being built, it is a challenge to download various shims or runtime dependencies onto a machine.

The managed /opt directory for containerd allows users to create images that provide these dependencies and install them on a system using the containerd client API.

These changes have been merged to support both methods.  The managed Opt dir and still the primary supported usecase


Configuration override and initialisation order after 2.1.0

After an upgrade to 2.1.0 I'm unable to override some default settings, unless I set them before I load Parsley.
In 2.0.0 I was able to load Parsley, set some defaults and initialise:
<script type="text/javascript" src="parsley.min.js"></script>
<script>
window.ParsleyConfig = {
  classHandler: function () {
    // do stuff
  },
  errorsContainer: function () {
    // do stuff
  }
};
</script>

After 2.1.0, window.ParsleyConfig must be set before including Parsley, which is cumbersome in my current setup.

The preferred way to set options is to do, after Parsley has loaded:
window.Parsley.options.classHandler = function() { };

Or if you have multiple overrides to do:
$.extend(window.Parsley.options, {
  classHandler: function() { },
  errorsContainer: function() { }
});

Also, you should upgrade to v2.2 :smile:

I'm currently updating our internal framework to the latest version of Parsley. That's how I stumbled upon this issue.
Extending the parsley options object works like a charm by the way. Thanks for the help!


Add a small footer to the UI so that important information isn't obscured by browser status bars.

Fixes issue #147 by adding a small 25px footer to all pages so that any scrollable element cannot be obscured by the status bar that appears when hovering over links in browsers such as Google Chrome.
This change also begins to reduce the reliance on absolute positioning, moving towards a more consistent flex-based approach to positioning.

A couple of things I noticed:

In the plot view the content + footer is now slightly too big for the available space, so the view scrolls slightly. This is not a huge deal in itself, but it's different from before and it would be nice to understand why. Also, this causes the footer to appear slightly smaller in the dataset view compared to the grapher view, since when the page first renders the footer is partially offscreen.
On the registry UI, if the registry listing is longer than the browser window so that you have to scroll to see it, the footer doesn't display at all. I haven't dug into what's going on here, but given that you had to modify the grapher element, it might be that other content elements also need to be modified. It would be unfortunate if this were the case.

Ahh, I didn't catch those edge cases. I will look into it.
The styling is a little delicate as it stands, so it's pretty easy to break things with seemingly innocent changes. I want to do something about that, but I haven't quite come up with a decent plan yet.
Style scopes are a good idea when you want independent shadow-DOM components, but when trying to design a unified single-page web application, it mostly leads to needing similar CSS in multiple places that makes keeping things uniform difficult.
Will probably need a conscious day or two of code-health to clean up the CSS across the board and refactor out common styling into generic modules.

I couldn't replicate what you mentioned in 1, can you please check if the latest changes fix it for you?
I rebased the branch with Master to get the Live View stacking changes.

LGTM


Incorrect Policy Location

I found the policy under Administrative Templates | Windows Components | Microsoft Edge
The article is missing the Windows Components level

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

ID: c3415ed3-5ccf-198d-cee7-2dbbfe4b0959
Version Independent ID: f1e17aeb-6ab5-3db2-80ac-c16514f80cf6
Content: Provision favorites for Microsoft Edge
Content Source: edgeenterprise/edge-learnmore-provision-favorites.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: capoon

@Jay-at-Schoeps The most updated Microsoft Edge policies can be downloaded here: https://www.microsoft.com/en-us/edge/business/download?form=MA13FJ
They can be applied using these instructions: https://learn.microsoft.com/en-us/deployedge/configure-microsoft-edge
I was able to confirm the doc is correct: "navigate to Computer Configuration/Administrative Templates/Microsoft Edge/ and pick Configure Favorites."


Typo in title

A small typo in the title of the Github repository:
the word "independent" was incorrectly spelled "indepeneant" (i.e. "Platform indepeneant Python wrapper for the Skype API.", but should be "Platform-independent Python wrapper for the Skype API.")

:+1:

Thanks for the heads up. It looks like it is fixed now.


[5.4] Implement Every X Minutes

Implements the ability to specify cron frequencies.

Ignore this. I realised that i've messed up. Will fix.

If approved, I'd like to refactor a couple of existing methods:

everyFiveMinutes
everyTenMinutes
everyThirtyMinutes

I'd also like to propose the ability to do the same with hours, days, months etc.

@alexbowers additionally, you might even considering asking @taylorotwell  to remove those methods, or at least deprecate them and flag them for removal in a later version

I was thinking that keeping them as "helper" methods would be useful, but that they would utilise this method.

Does this work for larger values than one hour, like ->everyXMinutes(90)?

Honestly not sure what would happen in those circumstances. Best bet is
probably tjrow an out of range exception for <= 1 and >60
On 3 Jan 2017 4:52 am, "Simon Svensson"<EMAIL_ADDRESS>wrote:

Does this work for larger values than one hour, like ->everyXMinutes(90)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/17084#issuecomment-270051927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzc3qlSmoUutnITGkJSu3wyFRVljkg2ks5rOdPzgaJpZM4LZN4M
.

I think I'm going to hold off on this to be honest. Maybe it would be better to make this macroable or something?

@taylorotwell Would you mind sharing why you don't want this in? It makes it much more readable for doing things like everyXMinutes(20), etc. Which currently would require a custom cron() call, which is harder to parse / read.


Convert react grid layout css files to using MUI Global Styles

import 'react-grid-layout/css/styles.css';
import 'react-resizable/css/styles.css';
Currently we need to import these two css files in order for react-grid-layout to work. This means that users consuming the dashboard library will also need to import these files in order for dashboard to work.
It's best if we can pass the rgl css to MUI global styles https://mui.com/material-ui/api/global-styles/ so users don't have to worry about any external css files.

isn't already fixed with #510 @eunicorn ?

it's fixed with https://github.com/perses/perses/pull/524


Passing eval props in the template breaks syntax highlighting

     ...
    <product-list-view  :foo=bar  :pagination=false>
    </product-list-view>

    </template>

    <script>
        ... parses as if html :/ ...
    </script>

Because of ":foo=false" property passing rest of the document will be considered as html. I could swear it was working before the latest update.
Version is the latest (0.3.6)

<product-list-view  :foo=bar  :pagination=false> is not valid vue syntax, afaik.
Isn't it like <tag :foo="bar" :pagination="false">?
Or can you kindly point me to the vue documentation / code example that uses this syntax?

Whoa! You're right. It does work without the quotes but I can't find anything mentioning the behavior in the docs. Thanks for the heads up. Closing...


Singlegraph rendering error with multiple items in the same cell

The CSS positioning the elements of the singlegraph item messes up when there is more than one singlegraph item in a single cell.

Fixed.


File adapter should be able to take multiple files

import = list(
  file = list(files = c('file1.csv', 'file2.csv', 'etc.csv'), by = 'ID')
)

or
import = list(
  file = list(files = c('file1.csv', 'file2.csv', 'etc.csv'), merge = TRUE)
)

@robertzk did you resolve this in new_syberia?

I believe so. Let's try to get everything merged tomorrow


What you expected to happen:
The command should complete quickly without interrupting other macOS applications.
How to reproduce it (as minimally and precisely as possible):
$ kubectl get service

Environment:

Kubernetes client and server versions (use kubectl version):

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-21T20:21:49Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.8-eks-96780e", GitCommit:"96780e1b30acbf0a52c38b6030d7853e575bcdf3", GitTreeState:"clean", BuildDate:"2021-03-10T21:32:29Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration: EKS

OS (e.g: cat /etc/os-release):

$ cat /etc/os-release
cat: /etc/os-release: No such file or directory

$ uname -a
Darwin lounge.local 20.4.0 Darwin Kernel Version 20.4.0: Fri Mar  5 01:14:14 PST 2021; root:xnu-7195.101.1~3/RELEASE_X86_64 x86_64

Can you please confirm that you're not using an M1 mac?
Does removing the cache folders from ~/.kube have any effect?
/triage needs-information

M1 Mac - Same Issue - I had 2 services running and my Mac hung up. By hung up I mean I could open things up but they wouldn't close down. I wasn't even able to stop docker desktop. force quit didn't work. I had hard reset the laptop.
Did not try removing ~/.kube folder.

@Prakhar-FF13 what is the output of file $(which kubectl)?
Please try clearing the cache folders inside ~/.kube and see if you can reproduce.

@mcandre Is this still happening?
Can you try kubectl get service -v9 and post the output?
Does the command eventually finish and your machine eventually recover on its own after a couple of minutes?

I don't know if it's related, if not I'll open a new issue.
On my macOS 10.15.7, kubectl 1.21.1 is not freezing my mac but is not responding anymore:
kubectl version -v9
I0528 10:57:16.210888   92555 loader.go:372] Config loaded from file:  ~/.kube/config
I0528 10:57:16.211376   92555 round_trippers.go:435] curl -k -v -XGET  -H "User-Agent: kubectl/v1.21.1 (darwin/amd64) kubernetes/5e58841" -H "Accept: application/json, */*" 'https://mycompany/version?timeout=32s'
W0528 10:57:48.213356   92555 transport.go:260] Unable to cancel request for *exec.roundTripper

The iTerm tab title is stuck into kubectl-oidc_login.

My colleges and I were also experiencing kubectl freezes on MacOS Big Sur and started to dig a little bit. The problem occured both for amd64 and arm64 (M1) Macs, with the M1 freezing much more frequently.
In the end the freezes were not causes by kubectl but the anti-virus that was installed on our corporate laptops (Sophos Endpoint in our case). It was not kubectl freezing but an anti-virus process which was then terminated by the kernel with SIGKILL after some seconds (up until a minute). Disabling the anti-virus made the freezes go aware completely. The more frequent freezes on the M1 are probably caused by the fact that there are no arm64 builds of this particular anti-virus yet. So rosetta is involved.
I suspect that it maybe gets hangs itself when reading through the http-cache that kubectl writes.
Hope this helps.

I don't really have an anti-virus on my m1 Mac. but it does hang and pattern isn't very clear either.

@martinohmann thanks a ton for the info! Rosetta has been my suspicion. Anything you can share here about tracing the signals for others to confirm please do.
@Prakhar-FF13 did you catch my reply above?

@Prakhar-FF13 what is the output of file $(which kubectl)?
Please try clearing the cache folders inside ~/.kube and see if you can reproduce.

Oh sorry, did not catch that one, I was getting frustrated so I uninstalled it. Will update when I reinstall Kubernetes again.

@eddiezane I ended up tailing the MacOS system log (Applications -> Utilities -> Console) while using kubectl and discovered a pattern of anti-virus process crashes which aligned nicely with the freezes. Maybe there are also other applications other than anti-virus' that could be involved in the freezes.
In my case the log entries looked something along the lines of:
<the-date> [<my-hostname>] <namespaced-name-of-anti-virus-process>[<PID>] ... Service exited due to SIGKILL | sent by kernel_task[0]

I cannot check for the exact message right now as I'm writing this from my linux box. I'll see if I can grab it from my mac during work tomorrow.

Thanks!
That would make a ton of sense. The cache directory has and writes out a ton of files.
If antivirus is scrambling to index/scan them all....
$  tree ~/.kube
...
2934 directories, 4201 files


cmd/go, gopls: go.work file not detected in GOROOT

I noticed that when my go.work file is in GOROOT, gopls@master no longer loads both std and cmd. This is because we've started using go env GOWORK to find go.work files, and this does not behave as expected when the go.work file is in GOROOT.
 Thanks.


[Feature] Support the fine-tuning of MSAgent dataset

@pppppM  We should convert (and merge) the fine-tuned adapter, and obtain the agent LLM.
Then, we can use ReAct interfaces provided by lagent with this agent LLM:

WebUI: https://github.com/InternLM/lagent/blob/main/examples/react_web_demo.py
CLI: https://github.com/InternLM/lagent/#run-a-react-agent-with-internlm

@pppppM
Now, xtuner chat supports the chat with MSAgent model!
xtuner chat $LLM --adapter $ADAPTER --lagent

(This feature relies on https://github.com/InternLM/lagent/pull/44)


Querying slave

I want to make master-slave replica, where master will manage new data inserts, and slave -- requests from site. I've start 2 servers, run at one of it command FOLLOW  . Now I see by command stats, that records, being inserted at master, follows to slave. But when I try to query slave replica, I received only '(error) catching up to leader'.
What am I doing wrong?
master server:
<IP_ADDRESS>:9851> SET test test1 POINT 33 57
{"ok":true,"elapsed":"204.49335ms"}
<IP_ADDRESS>:9851> SCAN test
{"ok":true,"objects":[{"id":"test1","object":{"type":"Point","coordinates":[57,33]}}],"count":1,"cursor":0,"elapsed":"23.252424ms"}
<IP_ADDRESS>:9851>
slave server:
<IP_ADDRESS>:9851> SCAN test
(error) catching up to leader
<IP_ADDRESS>:9851> GET test test1
(error) catching up to leader
<IP_ADDRESS>:9851> info
(error) catching up to leader
<IP_ADDRESS>:9851>

You are not doing anything wrong.
catching up to leader means that the follower only has a partial dataset and is in the process of downloading the remaining data from the leader.
The solution is to wait a little longer and try again, or request the data from the leader.
The amount of time it takes to catch up depends on the size of the leader's dataset.


In apple review they can still see debug tag!?

Steps to reproduce
Just build a ipa and submit it to apple review. Even I set  debugShowCheckedModeBanner: false , however we can't see the debug tag in our testfligh devices.
I know is a strange issue but it really happen.
Some info may help
May be it's an issue in apple's review system not flutter **they will review your old version's app even you seletct and resubmit a latest one ** . I had built an old version use flutter build ipa without --release flag , debugShowCheckedModeBanner: false in code and mistaked use a development certificate to sign that. Some of their screenshot even contact the deleted feat in pre version
Expected results
the debug tag be removed
Actual results
the debug tag still appear when applle reviewing it.
Code sample
Code sample
return MaterialApp(
      title: '***',
      themeMode: ThemeMode.light,
      debugShowCheckedModeBanner: false,
      theme: myLightTheme,
      // darkTheme: myDartTheme,
      initialRoute: '/',
      routes: {
        '/': (context) => const InitPage(),
        '/home': (context) => const HomePage(),
        '/user_upload': (context) => const UserUploadPage(),
        '/search': (context) => const SearchPage(),
        '/upload': (context) => const UploadPage(),
        '/me': (context) => const MePage(),
      },
    );

Screenshots or Video

Logs
Logs
[Paste your logs here]

Flutter Doctor output
$ flutter doctor -v
[✓] Flutter (Channel stable, 3.16.7, on macOS 13.6.3 22G436 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.16.7 on channel stable at /Users/wangcheng/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef1af02aea (4 weeks ago), 2024-01-11 15:19:26 -0600
    • Engine revision 4a585b7929
    • Dart version 3.2.4
    • DevTools version 2.28.5

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.86.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.6.3 22G436 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 121.0.6167.139

Hello @toknT
Thanks for filing this.
Do you still reproduce this when you run flutter build ipa —release i.e. with the release flag?

Thanks for your response.
This looks similar to what was described in https://github.com/flutter/flutter/issues/52242 which was marked a Duplicate of https://github.com/flutter/flutter/issues/51673. Please check out the comment here  https://github.com/flutter/flutter/issues/51673#issuecomment-597215128 to see if it helps in your case?

Thanks for your response. This looks similar to what was described in #52242 which was marked a Duplicate of #51673. Please check out the comment here #51673 (comment) to see if it helps in your case?

The app I built already has no debug banner in any mode release,debug or profile on both debug device and testflight device (even no development certificat in appple developer's account). So it's not similar.
Anyway I did these today.

check the config in xcode again
built a new release after updated macos , xcode
submit a new apple review

Let's wait the next review result.

Sorry , it's the screenshot in ios emulator has debug tag. I forget retake and upload them to Apple's store.(My company didnt provide ios devices meet the requirement of pixel so I take them on a emulator)


Pub/Sub Subscriber Client.subscribe() may drop callback on the floor

From source
    def subscribe(self, subscription, callback=None, flow_control=()):
        ...
        if callable(callback):
            subscr.open(callback)

Instead it should be something like:
if callback is not None:
    if callable(callback):
        subscr.open(callback)
    else:
        raise TypeError('Hey man, that is not, like, callable, man.')

class A:
def init(self):
pass
a=A()
Seems like callable(None), callable(345) and callable(a) all return False?


Authentication failed!

Got hit by the Authentication failed! issue
Similar to what's reported in this thread https://forum.aspose.com/t/authentication-failed-for-all-api-calls/163824
But we're using the NodeJS SDK
https://github.com/aspose-total/Aspose.Total-for-Cloud/blob/master/SDKs/Aspose.Storage-Cloud-SDK-for-NodeJS/
Found a off couple issues

On NPM (https://www.npmjs.com/package/asposestoragecloud) it's points the source code for this repo, but looking into the code it's seems outdate in here, and a different version got published as 1.0.3 to NPM
Then comparing 1.0.2 which was working for us but once upgraded to latest 1.0.3 stopped and we started getting the error message Authentication failed! found that the code that generated the signature used in request was changed slight were in version 1.0.2 it used to use a digest('base64') but on version 1.0.3 passed to be digest('hex') as can be checked on the screenshot: Imgur changing 1.0.3 from hex to base64 works for us.

Hi Everton Yoshitani,
Thanks for sharing details.
We have published latest version on npm with base64.

Hi Naeem24,
I see that asposestoragecloud has been fixed, but what about asposepdfcloud and asposewordscloud? They're still using digest('hex') in their version of lib/api-client.js. When will they be fixed?

Hi Everton Yoshitani,
We have updated all Node.js SDKs.

@naeem244 Thanks


Unable to build production site in Amplify Gen2

Environment information
System:
  OS: macOS 14.3
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 31.59 MB / 16.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 20.5.1 - /usr/local/bin/node
  Yarn: 1.22.18 - ~/.yarn/bin/yarn
  npm: 9.8.0 - /usr/local/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/backend: 0.11.0
  @aws-amplify/backend-cli: 0.11.0
  aws-amplify: 6.0.15
  aws-cdk: 2.126.0
  aws-cdk-lib: 2.126.0
  typescript: 5.3.3
AWS environment variables:
  AWS_PROFILE = oaccoe-sandbox-owner
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables

Description
I have a Next.js 14 application using the App Router that I'm trying to deploy to Amplify Gen2. I'm able to create a production build locally but when I push the code, I'm unable to get a successful build in Amplify. The relevant output follows:
2024-02-15T13:46:56.599Z [INFO]: ▲ Next.js 14.1.0
2024-02-15T13:46:56.599Z [INFO]:
2024-02-15T13:46:56.676Z [INFO]: Creating an optimized production build ...
2024-02-15T13:47:20.690Z [WARNING]: (node:1452) [DEP_WEBPACK_MODULE_UPDATE_HASH] DeprecationWarning: Module.updateHash: Use new ChunkGraph API
                                    (Use `node --trace-deprecation ...` to show where the warning was created)
2024-02-15T13:47:24.412Z [INFO]: ✓ Compiled successfully
2024-02-15T13:47:24.419Z [INFO]: Linting and checking validity of types ...
2024-02-15T13:47:33.537Z [INFO]: Collecting page data ...
2024-02-15T13:47:35.681Z [INFO]: Generating static pages (0/8) ...
2024-02-15T13:47:36.001Z [INFO]: Generating static pages (2/8)
2024-02-15T13:47:36.061Z [INFO]: Generating static pages (4/8)
2024-02-15T13:47:36.172Z [INFO]: Generating static pages (6/8)
2024-02-15T13:47:36.279Z [WARNING]: TypeError: Cannot read properties of undefined (reading 'clientModules')
                                    at /codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:199008
                                    at rW (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:14861)
                                    at nM (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47419)
                                    at nN (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64674)
                                    at nM (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61233)
                                    at nN (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64674)
                                    at nI (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46806)
                                    at nM (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47570)
                                    at nN (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64674)
                                    at nM (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61233)
                                    TypeError: Cannot read properties of undefined (reading 'clientModules')
                                    at /codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:199008
                                    at rW (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:14861)
                                    at nM (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47419)
                                    at nN (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64674)
                                    at nG (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:72265)
                                    at AsyncLocalStorage.run (node:async_hooks:338:14)
                                    at Timeout._onTimeout (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:88128)
                                    at listOnTimeout (node:internal/timers:569:17)
                                    at process.processTimers (node:internal/timers:512:7)
                                    Error occurred prerendering page "/medications". Read more: https://nextjs.org/docs/messages/prerender-error
                                    TypeError: Cannot read properties of undefined (reading 'clientModules')
                                    at /codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:199008
                                    at rW (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:14861)
                                    at nM (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47419)
                                    at nN (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64674)
                                    at nG (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:72265)
                                    at AsyncLocalStorage.run (node:async_hooks:338:14)
                                    at Timeout._onTimeout (/codebuild/output/src1630635012/src/ccoe-amplify_gen2_example/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:88128)
                                    at listOnTimeout (node:internal/timers:569:17)
                                    at process.processTimers (node:internal/timers:512:7)
2024-02-15T13:47:36.279Z [INFO]: ✓ Generating static pages (8/8)
2024-02-15T13:47:36.284Z [WARNING]:
2024-02-15T13:47:36.284Z [WARNING]: > Export encountered errors on following paths:
                                    /medications/(overview)/page: /medications
2024-02-15T13:47:36.310Z [ERROR]: !!! Build failed
2024-02-15T13:47:36.310Z [INFO]: Please read more about Amplify Hosting's support for SSR frameworks to find if your build failure is related to an unsupported feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-framework-support.html. You may also find this troubleshooting guide useful: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html
2024-02-15T13:47:36.310Z [ERROR]: !!! Error: Command failed with exit code 1
2024-02-15T13:47:36.310Z [INFO]: # Starting environment caching...
2024-02-15T13:47:36.310Z [INFO]: # Uploading environment cache artifact...
2024-02-15T13:47:36.433Z [INFO]: # Uploaded environment cache artifact
2024-02-15T13:47:36.433Z [INFO]: # Environment caching completed
Terminating logging...

I have a Gist at https://gist.github.com/emachnic/03e6d296ea6e8d8a6f457d67878400b0 with a couple of code files but can add more if more information is needed.
Is this just an issue with me not knowing how React works well enough or is there some other issue I should be looking into?

I've reworked the code a bit and moved the medications fetching to a separate file and awaiting them in the page.tsx file. I'm now getting an error with the Next.js cookies client code that I think sheds a bit of light on my issues, though I'm not completely sure how to fix them as I just followed the directions in the Quickstart. Here's a line from the new log file and the error is being thrown from the actions.ts file
description: "Page couldn't be rendered statically because it used cookies. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
digest: 'DYNAMIC_SERVER_USAGE'
}
Error: Failed to fetch medications.
Here is my fetchMedications code
export async function fetchMedications() {
  try {
    const { data: medications, errors } =
      await cookiesClient.models.Medication.list();

    return medications;
  } catch (error) {
    console.error("Database Error:", error);
    throw new Error("Failed to fetch medications.");
  }
}

@emachnic 👋 , thanks for reaching out. I observed that your Next app uses v14.1.0 and since you are able to run a production build of it locally I wonder if the issue persists with this latest Next.js version. This maybe related: https://github.com/vercel/next.js/issues/58576.
Can you try to downgrade your Next version to v14.0.1 and use the Amplify AL2023 build image on the Gen2 app? Steps are outlined here: https://docs.amplify.aws/gen2/start/quickstart/nextjs-pages-router/#connect-branch-in-the-amplify-console

As discussed in the community discord server, the issue was resolved after removing the try/catch block and the builds are now completing successfully. Closing the issue but feel free to open a new one if you are experiencing issues with Amplify Gen 2. Thanks!

As discussed in the community discord server, the issue was resolved after removing the try/catch block and the builds are now completing successfully. Closing the issue but feel free to open a new one if you are experiencing issues with Amplify Gen 2. Thanks!

@Jay2113 I have downgraded, but the same issue persists. Can you suggest the NodeJS version to be used? my current Node.js version is v20.11.1 and tried even with 18.17.0


Add ability for setup steps (pre_publish) for e.g Vault integration

Describe Request:
This Orb's functionality are all provided using jobs. They run on their own executor and spin up a new environment.
Secrets for publishing or commenting on GitHub have to be present as environment variables. These have to be defined in a project or organisation context as otherwise they would be be unavailable in the publish job of this Orb.
Secrets are not always defined on CircleCI and can also be pulled from a secret management system such as Vault.
Currently, this Orb has no way to integrate with secrets (at least in a way I know) of such an external tool.
A solution would be to allow to define steps running before publishing. This could be called pre_publish. These steps would allow integration with eg Vault using the OIDC tokens and can expose secrets on the environment (BASH_ENV) to be later available.
Examples:
orb-tools/publish:
   - pre_publish:
       - run:
           command: |
              vault kv get...
              echo "" >>> $BASH_ENV

This would also allow to follow this pattern.
Supporting Documentation Links:

IME this kind of thing can be achieved using a job's pre-steps built-in parameter - any steps specified there will be run before any other steps in the job (so make sure you don't write files into the current directory or any subsequent checkout will fail).

IME this kind of thing can be achieved using a job's pre-steps built-in parameter

Thanks for getting back @Peter-Darton-i2. Does every job have that build in even if it's not defined in a job's specification?

Yup. It's documented somewhere in the CCI docs (but, weirdly, not in the main reference docs where you'd expect).
Every job you mention in a workflow can have pre-steps and post-steps added to them.
pre-steps get executed before any job steps happen. post-steps happen after all the other job steps (so you might need a when: always if you want those to happen even if the job failed).
The problem comes when a job's internal implementation needs the working directory to be empty (e.g. it does a checkout or attach_workspace: at: . within its own steps, e.g. the orb-tools' publish command does this) and you want your pre-steps to do stuff with files in the working directory.
e.g. in my usecase, I wanted to generate some orb source code to supplement what was obtained from source control.
For pre-steps to be useful in that situation, the job also needs some form of "skip the checkout" or "skip the workspace_attach" flag, which wasn't available in orb-tools v11 ... but which was added in orb-tools v12.
TL;DR: Yes, pre-steps and post-steps are something you can do on any job, but that doesn't mean that they're useful on every job in every situation ... but for what you're doing, they should work perfectly.
Suggestion: Put your vault kv get stuff into a command and then you can just have a pre-steps: [ get_vault_credentials ] line everywhere it's needed.
...just BEWARE that any secrets that you use which aren't passed in via a CircleCI context will not have any secrets-obfuscation applied, so if your code reveals the secret by e.g. logging it to the console, that'll be shown in cleartext for anyone (who has access to your CircleCI build) to read.
There isn't (currently) any means of telling CircleCI "I've got this secret and I want you to help ensure I don't log that to the console"; that functionality is built-in to contexts but not available by any other means.

For the record, this works for us. Huge thank you and 🤗 to @Peter-Darton-i2 for the suggestion.


New version: GeoRegions v6.0.1

Registering package: GeoRegions
Repository: https://github.com/JuliaClimate/GeoRegions.jl
Created by: @natgeo-wong
Version: v6.0.1
Commit: 3933da4ac031106927491927670eaeca2fb31e8f
Reviewed by: @natgeo-wong
Reference: https://github.com/JuliaClimate/GeoRegions.jl/commit/3933da4ac031106927491927670eaeca2fb31e8f#commitcomment-145155252
Description: Extraction of gridded geoscience/climate data
Release notes:

- Debugging the reading of GeoRegions from an external file

[block]


Feedback on specifications, submitted by Rachel Lawson

Rachel Lawson (cmFjaGVsbGF3c29uQG1lLmNvbQ==) submitted the following feedback: Looking at page: noneJust testing it on staging

Rachel Lawson commented: This issue was added by a TEST form, automatically submitted to GitHub and then synchronised with Jira

Rachel Lawson commented: This is just a test issue - don’t actually do any work on it

Ayush Shukla commented: Hi Rachel! Here is a comment.

Thanks Ayush!
(Commenting on this issue from my iPhone using GitHub app)

no longer needed for testing - closing


222320 - [High] [Newsroom] [E2E Testing] https://tempnewsroom.accenture.com/search?q=service - Different number of Results for "service" search and no tooltip for pagination

Description of the issue: Upon accessing the search page of Newsroom, try to search a keyword "service then it will be directed to the search result page.  On Legacy, there are 490 results but for migrated page, it has 1625 results.  Also, as per Legacy, there is no tool tip for pagination and not on center position of the page.
Steps to replicate:

Access the Legacy page and the Migrated page.
Compare the look and feel of the search page.
Try to search a keyword on the search bar, using "service"
The search result page will show.
Check the number of results and look for pagination.

Legacy:
https://newsroom.accenture.com/search_results.cfm
Migrated:
https://tempnewsroom.accenture.com/search?q=service
Expected:

Actual:

Azdo link: https://dev.azure.com/accenturecio26/WebContentDigAssetMgmt_PR1093/_workitems/edit/222320
cc: @ravkiran @amol-anand @raymond-h-dev

@veejayricana

adding a tooltip is for accessibility best practice, we don't want to remove these things as its not there in legacy. This is also consistent with pagination in the home page
We're not using the same backend search like the legacy, the results won't be exactly same. All these results will definitely have the word service, so its showing those many results
regarding the pagination in center, this is same consistent experience as in home page.


Require libcgroup (cgget is used in startup scripts)

@baldersheim FYI

libcgroup-tools is the rpm for rhel7.
Evenrything was in libcgroup for rhel6.

See https://github.com/vespa-engine/vespa/pull/12984 for adding libcgroup-tools where needed


Fix DataConverter inconsistencies

Set OrchestrationContext data converters before running orchestration implementation.
resolves #34

I want to add some unit tests for this, but I need the InternalsVisibleTo from my other PR.


Document Grafana integration.

@fabxc @brian-brazil @beorn7

Thanks, looks great.
As we haven't made any decision about the future of promdash yet, I think we should give users some orientation. Something like "Comparison with PromDash" listing and linking to advantages and limitations. The top 3 for each should be more than enough for an overview.

Uhm... What would one list there? Takes way more clicks to make graphs with
Grafana than with PromDash? Grafana generally more mature, but less mature
for Prometheus?
On Apr 30, 2015 04:50, "Tobias Schmidt"<EMAIL_ADDRESS>wrote:

Thanks, looks great.
As we haven't made any decision about the future of promdash yet, I think
we should give users some orientation. Something like "Comparison with
PromDash" listing and linking to advantages and limitations. The top 3 for
each should be more than enough for an overview.
—
Reply to this email directly or view it on GitHub
https://github.com/prometheus/docs/pull/72#issuecomment-97641558.

:+1: A list for orientation sounds good, but could be added later, once we have a bit more experience gathered...

Merging for now, happy to accept an orientation list later.


sorting of blocks not right using jquery 3.1.1 (blocks randomly get placed over each other when filtering)

Hi, first i want to say that i love this plugin. I tested it with jquey 3.1.1 and then sometimes when you filter the blocks dont look nice in a grid but the overlap eachother  see screenshots. but sometimes it looks "ok" again
but then when i use jquery1.12.0 (As in your demo) it works fine.

when using jquery 3.1.1

@govarthananve @r2get the issue was being caused because Filterizr was lacking support for the latest versions of jQuery. As of today, the issue is addressed, just make sure to update to version 1.2.5.


[BUG] Beverages from the Vinery Mod are not consumed

Aged Version: 2.0.4

Most of the beverages from the  Vinery mod can be drunk, but they do not get consumed when doing so, providing the player with an infinite source of hydration, as well as glass bottles. The items that do this include:

Red Grape Juice
White Grape Juice
White Savanna Grape Juice
White Taiga Grape Juice
Red Jungle Grape Juice
White Jungle Grape Juice

Vinery will change a lot in the next update of Aged.
Tho it could take some time for me to update.

Should be outdated in Aged 2.1.0


Add lig based filtering

Implementation of docking input filter for https://github.com/choderalab/covid-moonshot-ml/issues/35.

The current code has a placeholder for docking inputs but this should at some point be replaced with ExperimentalCompoundData in the same format (i.e. SMILES and some pointer, e.g. compound names); I wasn't able to find a way to request sample docking inputs from ExperimentalCompoundData in the current codebase.

I wasn't sure where to place the SMARTS queries file, we can discuss the placement here if you like. For now I've put the file in `scripts/filter_inputs/smarts_queries.csv' but that wouldn't be the most user-friendly method in the long run.

with regard to 2, maybe we can add a data/ folder in the top-level directory? not sure how accepted this is in practice though

re 2) i would vote for top level data/ folder! we can also potentially put the resulting csv files and stuff in there

One bit of confusion is that there are multiple ways we can get a list of SMILES strings.
Currently for hallucinate_fragalysis.py the bit that does that is here:
https://github.com/choderalab/covid-moonshot-ml/blob/hallucinate-fragalysis/scripts/hallucinate_fragalysis.py#L418
with this code generating the CrystalCompoundData object: https://github.com/choderalab/covid-moonshot-ml/blob/5d2be92c053a39840f675a91fde699ffe6dd5bc1/covid_moonshot_ml/datasets/utils.py#L328

thanks! will play around with thisf or a bit to see if I can get it to work. Could you point me to example input files for hallucinate_fragalysis.py?
--> I'm used to discussing on PRs like this (not much difference as the issue is referenced anyway), happy to switch back to the issue page if you prefer though!

So parse_fragalysis_data won't work as is for you because you don't have access to the full fragalysis dataset yet; although you should be able to download it from the website manually. On lilac it is here, in @kaminow's directory: /data/chodera/kaminowb/stereochemistry_pred/fragalysis
However, the relevant csv from that dataset is here (this is the args.x parameter in hallucinate_fragalysis):
/data/chodera/kaminowb/stereochemistry_pred/fragalysis/extra_files/Mpro_compound_tracker_csv.csv
Mpro_compound_tracker_csv.csv
And you could take a part of the parse_fragalysis_data function and ignore any references to the directory (I think right now the script uses the directory to identify the filename of the associated sdf file).

I'm used to discussing on PRs like this (not much difference as the issue is referenced anyway), happy to switch back to the issue page if you prefer though!
as long as they're linked I guess it doesn't matter?

this test function should work for you? this will get you a list of CrystalCompoundData objects
def parse_fragalysis_csv(frag_fn):
        mols_wo_sars2_xtal = sars2_filtered[sars2_filtered["Dataset"].isna()][["Compound ID", "SMILES", "Dataset"]]
        mols_w_sars2_xtal = sars2_filtered[~sars2_filtered["Dataset"].isna()][["Compound ID", "SMILES", "Dataset"]]

        ## Load in csv
            sars2_structures = pandas.read_csv(frag_fn).fillna("")

         ## Construct sars_xtal list
            sars_xtals = {}
            for data in sars2_structures.to_dict('index').values():
                cmpd_id = data["Compound ID"]
                dataset = data["Dataset"]
                if len(dataset) > 0:
                    if not sars_xtals.get(cmpd_id) or '-P' in dataset:
                        sars_xtals[cmpd_id] = CrystalCompoundData(
                            smiles=data["SMILES"],
                            compound_id=cmpd_id,
                            dataset=dataset,
                            sdf_fn=None
                        )
            return sars_xtals


how can i run it in Qt creator

i wan to start developing using it, but i dont know how can i integrate it in qt creator
windows 11

create project -> import project -> git clone

thanks!


sample: drivers: enc28j60: Ethernet controller sample app

Example how to use enc28j60 Ethernet controller.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>As agreed in API meeting, here is a sample for enc28j60 Ethernet controller. This initial version is using black_f407ve board as that was the only one that I had setup to use enc28j60. Other boards can be added by placing proper config files to board directory and adding whitelisting entries to sample.yaml file.

ping @nashif @carlescufi

Based on API meeting today, rather than introducing a specific sample for enc28j60, can we decide which networking sample/test might make sense for ethernet? ./samples/net/sockets/echo_client/server?

That is problematic as the overlay is board specific so you would have multiple overlays for enc28j60 in each sample. Also we cannot pick that said overlay automatically as there is no board that has controller by default.

That is problematic as the overlay is board specific so you would have multiple overlays for enc28j60 in each sample. Also we cannot pick that said overlay automatically as there is no board that has controller by default.

Not sure I follow the comment about multiple overlays for each sample
We've have cases in all over the place for sensors or such that don't exist directly on a board but has a board overlay that shows how it can exist on a board (even if that requires being wired up).

@jukkar I think it would be easier to add generic arduino shield support for the ENC28J60 controller,  like we have it for few display controller.

I think it would be easier to add generic arduino shield support for the ENC28J60 controller, like we have it for few display controller.

Ok, makes sense. Lets close this one.


feat(web): add appellant case rows for preferred procedure

Describe your changes
add appellant case rows for preferred procedure:

appellantProcedurePreference
appellantProcedurePreferenceDetails
appellantProcedurePreferenceDuration
inquiryHowManyWitnesses

Issue ticket number and link
A2-259
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

WEB part looks good. Will trust API reviewer to tick it


[DH-301] testing to see how actions etc work when a PR pushed directly to repo

@gmerritt as requested...  :)

looks like it's working: https://github.com/berkeley-dsep-infra/logodev-image/actions/runs/10531792869/job/29184625715


Suggestion: ability to ignore certain api's

Hi,
Sorry to bother but i have a small suggestion for the msgraph developer proxy
I would be nice to have to ability to ignore certain api's by adding them to the mgdprc.json with a parameter for example urlsToIgnore.
Like for in
Test a JavaScript client side web application you want to test the throttling on the https://graph.microsoft.com/v1.0/users/[guid] api's but not on the https://graph.microsoft.com/v1.0/users/ since it would fail in doing the batch of api calls.

Snap, overlooked it.. Thx, works like a charm!

Perfect! Thank you for confirming! 👏


Add the ability to sort tables

A user should be able to sort a table by clicking on the column header.

This has been implemented and will be part of the next release.


Fixed arugments bugs and imporved IO

Fixed "'PointcloudDeformNet' object has no attribute 'optim' " and some arguments order bugs.
Increased num_workers to 8 to accelerate IO.

thank you very much. actually i have a plan to release a new and unified version of the code soon. please stay tuned!


FIXES #266 and rewrites HTTP Auth request to use needle

This fixes two problems regarding the HTTP Auth type
Logger is now passed on, fixing #266
Http Auth Request is now using needle, solving server crashing if remote http server was shut down during request. (Plus we get some nice redirect and HTTPS support)

Coverage decreased (-0.2%) to 96.331% when pulling 86329e9c6353e9a725928a47e61441761a6921fe on fix-http-auth-problems into 91054a1571d95db7257534e57c3c49d09b676780 on master.