How can I build the model dynamically like dm_control does? NO mjcf NO URDF.

I have to build my environment from Brax. But the thing is my model has a lot of physical parameters to change. Is there a way in Brax to build the model from code, instead of from the XML file?
Here i what i did in dm_control mjcf submodule. I want to simulate a whip, so I cut the whip into many serial joints and geoms. But i don't konw how many joints i need. if I implement it in XML, every time I want to make a change, I have to nest the xml elements agian and again.
class Whip(composer.Entity):
    """A Whip Entity."""
    def _build(self, *args, **kwargs):
        """Initializes the whip."""
        self._model = self._make_model(**kwargs)
        self._whip_begin = self._model.find('body', 'B0')
        self._whip_end = self._model.find('body', 'whip_end')
        self._whip_joints = self._model.find_all('joint')

    def _build_observables(self):
        """Returns the observables for the whip."""
        return WhipObservables(self)

    @property
    def mjcf_model(self):
        return self._model

    @property
    def whip_end(self):
        """Returns the whip end."""
        return self._whip_end

    @property
    def whip_begin(self):
        """Returns the whip begin."""
        return self._whip_begin

    def update_whip_color(self, physics):
        """Updates the activation of the whip."""
        physics.bind(self._model.find_all('geom')).rgba = [1, 0, 0, 1]

    def _make_model(self, wtype=0):
        """Returns an MJCF model of a Whip."""
        if wtype not in [0, 1]:
            raise ValueError("whip type must be 0 or 1")

        model = mjcf.RootElement(model='whip')
        # set compiler
        model.compiler.angle = 'radian'
        model.compiler.autolimits = True
        model.option.integrator = "implicit"
        model.option.impratio = "10"

        whip_material = model.asset.add('material', name="white", rgba="1 1 1 1")
        whip = model.worldbody.add('body', name="whip")
        whip.add('geom', type="sphere", size=[0.045,], material=whip_material)
        temp_body = whip.add('body', name='B0', pos=[0, 0, 0.045])

        for i in range(_COUNT):
            temp_body.add('joint', name=f'J0_{i}', **whip_params['joint0'])
            temp_body.add('joint', name=f'J1_{i}', **whip_params['joint1'])
            if wtype == 0:
                temp_body.add('geom',  name=f'G0_{i}',
                              material=whip_material, **whip_params['sphere'])
                temp_body.add('geom',  name=f'G1_{i}',
                              material=whip_material, **whip_params['cylinder'])
            elif wtype == 1:
                temp_body.add('geom',  name=f'G0_{i}',
                              material=whip_material, **whip_params['capsule'])
            name = f'B{i+1}' if i != _COUNT - 1 else 'whip_end'
            temp_body = temp_body.add('body',  name=name, pos=[0, 0, _UNIT_L])

        return model

Do brax provide the same methods to create model by code? Thank you advance.

Hi, hope I'm not too late. I have implemented some functions in v1 to generate the simulation environment procedurally, which might be helpful for you. See here.

Hi, hope I'm not too late. I have implemented some functions in v1 to generate the simulation environment procedurally, which might be helpful for you. See here.

That's so cool. That would be a major help for me. Thank you!

Hi @baixianger , we haven't implemented a "composer" class in v2, but if you're interested in implementing it, the main fields that need constructing are here in System
https://github.com/google/brax/blob/3b72c952f7c990e8e9e355f736e77f10f408bc14/brax/io/mjcf.py#L461C2-L464
and these
https://github.com/google/brax/blob/3b72c952f7c990e8e9e355f736e77f10f408bc14/brax/io/mjcf.py#L475-L478


server: differentiate email for subscription cancelation

On the existing code, Polar send the subscription created email for when the even is subscription cancelation.

Sorry for the gipiti comment, 3AM Pull Request kinda hit different

Hey @codenoid 👋
Thank you for this! So, you mean that a confirmation email is sent after cancelling a subscription plan? Did you experience this? That sounds really unexpected 😅

@frankie567 correct, that was what happen when I testing (in polar.so) to cancel my subscription

Thank you @codenoid, I've checked on my side and indeed experienced the same behavior; really appreciate your report on this!
I'll have a look at the PR ;)

Thank you for this @codenoid, that's really helpful 🙏

date is not a builtin filter in Jinja2 🙂 Fixed and added a unit test here: #3948


PushPlugin working on iOS but not Android: I receive the notification but the plugin don't react

Hello,
I'm in trouble figuring out how to make this plugin working for android. Everything works fine with iOS.
When I receive a notification on Android - when not on the app, I can see the notification arriving in my notification center.
Same thing when I'm on the app. I receive the notification ( I can see it on the top bar + sound ) but it doesn't triger the onNotificationGCM.
Looking at the catLogs I get the following, with an error in the end:
07-29 22:22:44.272: V/GCMBroadcastReceiver(5312): onReceive: com.google.android.c2dm.intent.RECEIVE
07-29 22:22:44.272: V/GCMBroadcastReceiver(5312): GCM IntentService class: com.plugin.gcm.GCMIntentService
07-29 22:22:44.272: V/GCMBaseIntentService(5312): Acquiring wakelock
07-29 22:22:44.292: V/GCMBaseIntentService(5312): Intent service name: GCMIntentService-GCMIntentService-3
07-29 22:22:44.302: D/GCMIntentService(5312): onMessage - context: android.app.Application@41964bd8
07-29 22:22:44.302: E/GCMIntentService(5312): Number format exception - Error parsing Notification ID: Invalid int: "null"

Here is my js code, am I doing something wrong ?
var pushNotif = {

    eventId: 0,
    userId: 0,

    pushNotification: window.plugins.pushNotification,

    sendTokenToServer: function(token)
    {
        alert( "Successfully got a token:" + token );

        //make ajax post to the application server to register device
        $.ajax( server_url + "user/registerDeviceForPush", {
            type: "POST",
            dataType: 'json',
            headers: { 'X-API-KEY': key },
            data: {
                token: token,
                platform: device.platform
            },
            success: function( response ) {
                //log that the device was registered successfully
                // alert("###Successfully registered device.");
            },
            error: function( response ) {
                // alert( "fail: " + response.toString() );
            },
        });
    },

    apnFailedRegistration: function(error) {
        alert("Error: " + error.toString());
    },

    //the function adds callbacks for PushPlugin
    //the function uses global object "pushCallbacks"
    addCallback: function(key, callback) {
        if (window.pushCallbacks === undefined) {
            window.pushCallbacks = {}
        }
        window.pushCallbacks[key] = callback;
    },

    apnSuccessfulRegistration: function(token) {
        pushNotif.sendTokenToServer(token);
        pushNotif.addCallback('onNotificationAPN', pushNotif.onNotificationAPN);
    },

    //the function is a callback for all GCM events
    onNotificationGCM: function (e) {
        alert("on notification");
        switch (e.event) {
            case 'registered':
                if (e.regid.length > 0) {
                    //your GCM push server needs to know the regID before it can push to this device
                    //you can store the regID for later use here
                    alert('###token received');
                    pushNotif.sendTokenToServer(e.regid);
                }
                break;
            case 'message':
                alert("mesage");
                break;
            case 'error':
                alert('GCM error = ' + e.msg);
                break;
            default:
                alert('An unknown GCM event has occurred.');
                break;
        }

        alert(e):
        alert(e.toString());
        alert("type: " + e.type);
        alert(e.alert);
        alert(e.id);
        alert(e.friendId);
    },

    pushNotifRegister: function() {
        this.pushNotification.unregister(successHandler, errorHandler);
        // alert("PUSH");
        // alert(device.platform);
        if ( device.platform == "iOS" ) {
            this.pushNotification.register(pushNotif.apnSuccessfulRegistration,
            pushNotif.apnFailedRegistration, {
                "badge": "true",
                "sound": "true",
                "alert": "true",
                "ecb": "pushCallbacks.onNotificationAPN" //tell PushPlugin to call onNotificationAPN of global pushCallbacks object
            });
        } else {
            // alert("android!");
            //register for GCM
            this.pushNotification.register(

                function(id) {
                    // alert("###Successfully sent request for registering with GCM.");
                    //set GCM notification callback
                    pushNotif.addCallback('onNotificationGCM', pushNotif.onNotificationGCM);
                },

                function(error) {
                    // alert("###Error " + error.toString());
                },

                {
                    "senderID": "000000000000", //Project Idea in Google Dev Console
                    "ecb": "pushNotif.onNotificationGCM"
                }
            );
        }
    }
};

Thanks for your help.

@boltex :+1:

@boltex - thanks that fixed my issue

I am facing quite the similar issue.
All I am getting is just a sound and no notification is visible in the status bar.
What should I do?
The logcat log for the app for the GCM tag is
12-11 16:07:55.084: V/GCMBroadcastReceiver(19417): onReceive: com.google.android.c2dm.intent.RECEIVE
12-11 16:07:55.084: V/GCMRegistrar(19417): Setting the name of retry receiver class to com.plugin.gcm.CordovaGCMBroadcastReceiver
12-11 16:07:55.085: V/GCMBroadcastReceiver(19417): GCM IntentService class: com.plugin.gcm.GCMIntentService
12-11 16:07:55.086: V/GCMBaseIntentService(19417): Acquiring wakelock
12-11 16:07:55.092: V/GCMBaseIntentService(19417): Intent service name: GCMIntentService-GCMIntentService-1
12-11 16:07:55.095: D/GCMIntentService(19417): onMessage - context: android.app.Application@153f149e
12-11 16:07:55.098: E/GCMIntentService(19417): Number format exception - Error parsing Notification ID: Invalid int: "null"
12-11 16:07:55.108: V/GCMBaseIntentService(19417): Releasing wakelock

@tanansatpal i have a same problem... you resolve it?

i have this problem too.
json send by server:
{ 	"registration_ids": [ 		"eshdujmuWf0:APA91bHlMP-oQFzhnu0vFNJsIiNL7fPPqX7TnYAd1ujmiY0edx84D-DjEvl2JwnhznzkhG0W1lUTWjdvGbFKkAj6xNTHGBub7iz7htgNRcUgUoeKj1hJXc4Nwl2bG2jcbroFuZq39ivvQihW2" 	], 	"data": { 		"data_key": "data_value", 		"title": "test_title", 		"message": "test_message", 		"notId": 1 	} }
debug
01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: onMessage - from:<PHONE_NUMBER>62 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: normalize extras 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: key = notId 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: replace key notId with notId 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: key = title 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: replace key title with title 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: key = message 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: replace key message with message 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: key = data_key 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: replace key data_key with data_key 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: key = collapse_key 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: replace key collapse_key with collapse_key 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: background 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: message =[test_message] 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: title =[test_title] 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: contentAvailable =[null] 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: create notification 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: stored icon=phonegap 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: stored iconColor=blue 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: stored sound=true 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: stored vibrate=true 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: using icon from plugin options 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: no icon resource found - using application icon 01-30 17:13:29.911 5590-15799/com.stayok D/PushPlugin_GCMIntentService: create actions

@boltex solved my issue too, thank you


Bug in Application Insights SDK results in fake inflated bills

SDK version: evtc:2.12.0-21496 and evtc:2.12.1-36699
.NET Core: 2.12.1-36699
Hosting Info (IIS/Azure WebApps/etc): Azure App Service
Platform and OS version: Windows as well as Linux

Steps to reproduce.
We cannot predict how the SDK encountered the bug, we simply noticed this in our pre-production environment. Note there is also a Microsoft Support Ticket #<PHONE_NUMBER>00224 open since Jan 31st but progress has been p.a.i.n.f.u.l. on it.
What is the expected behavior?
Billing to be reflected of consumption.
What is the actual behavior?
Billing is inflated because the SDK is artificially inflating usage. See details below.
Concerns
Couple of them, stacked leading to something worth reporting back

Application Insights recently decided to capture all counters by default and sent (arguably acceptable as a product evolution)
There is a bug that causes the SDK to send a LOT of those (not acceptable)
Customers still continue to get a bill for "excess" use of something because of a defect in the product (yikes! absolutely unacceptable).

In our case the increase to our bill was insignificant in the grand scheme of things because we had setup hard caps on daily billing/collection but other customers would be in for a very rude shock if they didn't do this. I wanted to raise this with the team because such billing behavior can give a product a bad reputation.
Details
We noticed a sudden spike in our AppInsights metrics

Turns out this is from the customMetrics that application insights automatically collects (i.e. it's not our code that's causing this).

Particularly at this time

Those metrics are supposed to be independent of traffic and supposed to be low volume, scaling just based on # of instances. That makes it even more strange because our billing shows those custom metrics to be 800% greater our scaled out peak and 4000% greater than the scale down minimum (for the instances).
Since our instances never scaled anywhere close to that (by an order of magnitude at least), we suspect the issue lies in either the SDK sending the events out or the service recording the events.

I was engaged to this ticket last week and shared my findings. (about an upgrade happening during the same time issue occurred, and how it can likely cause temp. spike in instance count)
Regd. your concerns:

Application Insights have over the years evolved to collect telemetry from more and more sources. EventCounter is one of them. (We are still considering if we should make this opt-in)

Fully agree that SDK should not sent more telemetry than it is supposed to. However, we have never been able to repro this behavior, nor have any other customer reported this. (Doesn't mean SDK has no bug, just that we haven't got any repro or report). So I cannot confirm if there is a bug or not in the product yet.

Only today I got any evidence that the spike in data is likely from a product bug, rather than from a spike in instance count. This is after seeing that more than expected eventcounters are reported with a single instance name. This information was not available before, and hence I couldn't confirm source of issue.
Even though we cannot conclusively say there is a bug, we'd recommend to offer billing refunds.

I am trying to get a repro for this issue.
If you share any more details on how your upgrades are rolled out, it'd really help us get to a repro. From your case, its seems like the issue occurred only during an upgrade.
I have had no luck getting a repro. So any specifics about upgrade process in your environment would help.

Thanks @cijothomas. Our upgrades are fairly run-of-the mill. That cluster is composed of dual deployed App Services across Windows Servers and Linux. On Linux, the published release is packaged as a container into azure container registry from where it automatically deployed into azure app service for linux containers. On Windows the published files get deployed into a staging slot which gets swapped into the production. Could a glitch in App Service's infrastructure/controller temporarily have caused this?
We're totally fine with no refunds because asking Azure billing for a refund (just $20-$30 extra thanks to our calibrated daily caps) isn't worth the time I'd have to spend documenting everything. Just reporting it here just as a matter of principle.

Thanks for shedding more details. Can you figure out from the roleinstance name whether the excess data came from Windows or Linux servers? That'll help further narrow down.
I suspect, deployment from the container in ACR to app service linux - sounds like a possible place where things can go wrong. (I am not familiar with this model, so I have to try this out to see if I can experience atleast some spike in evtc).

Sure, it appears it was from Linux containers, which always have an ephemeral  hostname that is a hash. The Windows hosts are stable/identifiable by RDxxxxxxxx hostnames.

Also in terms of which SDK version was adding to that
customMetrics
| where timestamp > datetime(2020-1-30T02:00:00Z) and timestamp < datetime(2020-1-30T06:00:00Z)
| where sdkVersion startswith "evtc:"
| summarize count() by sdkVersion, bin(timestamp, 1d)

1/30/2020, 12:00:00.000 AM | evtc:2.12.0-21496 | 11,707
1/30/2020, 12:00:00.000 AM | evtc:2.12.1-36699 | 583,310  <====

So far we know:

The huge spike occurred in Linux, during an update of AI SDK.
It was the new SDK which reported huge counters.
Between 2.12 and 2.12.1, there are no eventcounter change. 2.12.1 was a hotfix for unrelated issue.
Issue self mitigated after few hours.

@SidShetye : We are processing your refund but wanted some clarity on the exact dates when you experienced a spike in your bill.
Do you mind replying back to me with those details at<EMAIL_ADDRESS>-Ankit S
Product Manager, Azure

@ank3it I appreciate the gesture but IIRC, the final dollar value was just an extra $30 or so towards the end of Jan/start of Feb. While our otherwise generous daily cap protected our bill, we did lose medium level operational data to this low-priority AI-generated junk-flood as it burnt though our caps.
But the biggest issue was that the defect caused our compute instances to misbehave, which required several days of (far more $$$) engineering time to investigate. So reporting it here to have it fixed in the product rather than get a refund.

we need a repro to investigate this case

we need a repro to investigate this case

@TimothyMothra @ank3it @cijothomas I can see how that helps but we have freely donated tons of time helping the vendor (you) fix their software defect. See

Note there is also a Microsoft Support Ticket #<PHONE_NUMBER>00224 open since Jan 31st but progress has been p.a.i.n.f.u.l. on it.

Asking us for any additional information (=time, =$$$) to improve your product quality is quite unreasonable now. If you wish to improve your product, you are free to put in the effort by all means. If you wish to ignore and close this ticket, that's fine - it is your product after all. For us, we've moved onto other APM products and even Prometheus looks quite promising.

Hey Sid,
We apologize for any distress this bug might have caused you and your engineering team.
As a product team we are always looking for feedback from our customers, so that we can make the necessary improvements to the product.
Your support in gathering debugging data is highly valuable to us and we sincerely thank you for all your efforts. For this, we've gone ahead and processed a 50% credit to your monthly usage.
Unfortunately, we've not been able to replicate this issue or have seen any other instances of this issue being reported to us.  Due to the following reasons, we'll now be closing this issue.
Regards,
Ankit

We have spontaneously noticed some similar behavior at of the 27th of this year on one of our environments. We are in process of implementing a custom sampling override for the counters. There are two specific instances sending orders of magnitude more counter telemetry from the EventCounterCollectionSource. Hard caps protected us in our case too.  We have extra counters enabled, but it appears to be multiple GB of data for a couple instances over  a few hours. It appears most if not all the counters scale out by the same amounts.


Can I merge two branches in RPN into one, just like SSD header?

Hi, authors!
I want to make siamRPN to run realtime in CPU, so I try some versions siamRPN on it. but now I encountered  speed bottleneck when trying mobilenet-based siamRPN and  I found that there are 8 conv layers in RPN stage while most of these is not depthwise-conv, so it is time consuming, While  only 270 MFLOPS in backbone. Anyone have tryed merge two branches into one just like SSD header? SSD like header will save at least  a half convs in RPN header. SO IT HAS SOME MASKTAKES of WHAT I THINK? thanks for all explains！

Do you have detail speed test on CPU about time cost of two parts? I think most time speeds on backbone, since dilated convs are really slow. Although there are eight convs in head, only four of them are 3x3 convs. The other four are 1x1 convs. So I don't think it will cost so much time.
About merging two parts, we tried, the performance will be a little worse than split. If you want faster speed, reducing channels of heads may be a better way.

Thank you so much about your tips!


Fix collection name length: generated name would break splunk kvstore…

see Issue 18

This would break all the existing KVStore management after upgrade if we merge this one, I left comments in #18

see issue 18


[5.0]route:cache with  Closure  problem

command artisan route:cache
when met closure route:
Route::get('/', function()
{
    return 'Hello World';
});

it will fail with
exception 'LogicException' with message 'Unable to prepare route [/] for serialization. Uses Closure.'

Yep, that's the expected behaviour.

Laravel's source code:
	/**
	 * Prepare the route instance for serialization.
	 *
	 * @return void
	 *
	 * @throws LogicException
	 */
	public function prepareForSerialization()
	{
		if ($this->action['uses'] instanceof Closure)
		{
			throw new LogicException("Unable to prepare route [{$this->uri}] for serialization. Uses Closure.");
		}

		unset($this->container);

		unset($this->compiled);
	}

but ,when the  app has some closure route,it means cant route cache?
has solution ?
change the app code to not use closure route,or do  some others like skip cache for closure  route but cache for normals?

Basically, you cannot use route caching at all if you have closures in your routes. Selective caching would defeat the object.

ok,thanks,so I will change code to not use closure  route at all

It is possible, with a little creativity, to serialize a Closure. The code should be modified to allow this. I might have to submit a PR for it

AFAIK, taylor tried it before and found out that having to serialize and unserialize closure reduce the performance that you could possibly gain from using route caching.

If you're not using any api func. , you can comment
/*
Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});
*/
in routes/api.php

Old thread but those are just sample routes. Delete them. This is covered in the docs.


Fix config file generator when oslo-config is not installed.

When oslo-config was not installed generate_config_file_sample.sh script
was failing without giving right reason.

LGTM


ut-core-V2-upgrade: Correct the error handlings in the video device

Checking of the handle is checked blindly without proper code cleanup of Init calls.
Adding the changes and commiting to have the proper code cleanup

this issue is closed.


Agent Hosted in VM Fails with "An error occurred: VS30063: You are not authorized to access https://dev.azure.com."

Having generic issue with Azure-Pipelines/VSTS/TFS?
Cross-link: https://developercommunity.visualstudio.com/content/problem/520839/agent-hosted-in-vm-fails-with-an-error-occurred-vs.html
Have you tried troubleshooting?
Yes, for the last 18 hours
Agent Version and Platform
vsts-agent-win-x64-2.149.2
OS of the machine running the agent?
Windows Server 2012
Azure DevOps Type and Version
dev.azure.com (formerly visualstudio.com)
If dev.azure.com, what is your organization name? https://dev.azure.com/mpneng or https://mpneng.visualstudio.com
What's not working?
I have been working on our build that we host in a vanilla Azure VM. Almost every build that I have run fails with the error "An error occurred: VS30063: You are not authorized to access https://dev.azure.com.". I have removed and re-installed the agents multiple times. Each time my build works fine until I hit a long-running task and it looks like an outbound https call (I'm assuming over 443) will randomly fail and cause the entire build to fail. Are these outbound calls to update the AZDO build status wrapped in a retry mechanism?
I am building using .NET Core sdk 2.1.505, NuGet 4.7.1 and using the Visual Studio build task (my solution is dotnet core except for a database project).
It usually will fail after my build and packaging is all done. After that I run my unit tests and integration tests and these will typically fail with the error "The operation was canceled."
When I look in Event Viewer the only thing I find from the agent is the error in the title. Please let me know where to look for further diagnostics.
Agent and Worker's Diagnostic Logs
Attached
Agent_20190406-194853-utc.zip

Please note that I have also tried switching back to https://mpneng.visualstudio.com and I am still seeing the error. I can clear the error logs and generate more errors if that would help.
My PAT shouldn't be randomly getting rejected by AAD. It's rather odd.

@keithhodomicrosoft can you ping me on skype or team 4/7? i am in EST timezone. I want to try something with you. :)

close as the issue resolved offline, there was an issue on the service side that causing this issue. The agent behaves correctly.


feat: Specific hover color for social icons

Fixes Issue #10112

Changes proposed

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[X] All new and existing tests passed.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

Screenshots
https://github.com/EddieHubCommunity/BioDrop/assets/128776976/6b6a1607-11ae-4c9a-80c0-5c81dde4c8fa

Note to reviewers

Hi @Rick-ftw
Actually the issue #10112 you have mentioned here & worked on was raised by me, and has not been assigned yet

@ritika728 oh😥, then should i close the PR or let it stay open .

@SaraJaoude Thanks for you kind information. As long as learned something it's no waste of time.


Add support for autoUnref.

From https://github.com/socketio/engine.io-client/commit/65516836b2b6fe28d80e9a5918f9e10baa7451d8
@darrachequesne/@mjwwit: Any idea for test strategy at this layer?

Thanks for this! I'll merge and let you know when I release it.


More tweaks to TypeScript type definitions.

With respect to the "Queue.Job = null" statement, apparently this is needed to do things like:
class MyJob extends Queue.Job { /* etc... */ }

It seems that 'null' is OK, but 'undefined' produces an error.

Will publish as soon as I can.
You changed the security permissions of the package.json file with that last commit though.
Revert that and I will merge.

How strange. I edited via the github editor.

No change and you removed the addition from the README
:)

OK I hope that worked.
I don't know why the file mode on package.json changed, I didn't intentionally change it.
With the README, my original intention was to remove the change from the PR, since I hadn't changed it. But for some reason my attempt to do this reverted the change entirely.
Sorry for the messy commit history, but all my attempts to squash ended up destroying changes.

Hey @viridia, I'm busy at the moment. Will work on this as soon as I can.

@viridia Published in v3.1.3.
I had to change the Queue.Job code to meet the StandardJS linter requirements.
Thanks again.

Documented here:
https://github.com/grantcarthew/node-rethinkdb-job-queue/wiki/Queue.Job
If you think that is good enough?

Looks great!


Ticking Entity Error with the Evolved Enderman

Whenever I go into my world upon spawn in my game freezes and i'm forced to end the process and every time i do this is what i get it seems to be caused by the Evolved Enderman i've updated to the latest versions of both your lib mod and the actual mod, i had to remove it because it's in my modpack and other people are going to more then likely get this too, can you please take a look at it

I think this is the same issue as #37, which was apparently fixed in TeamTwilight/twilightforest#768. Unfortunately, there's no new Twilight Forest release yet, but upgrading to the 3.9.974 Alpha fixes the issue.

yeah, this is fixed on their end..you just gotta use their alphas until they upload a new release


Unable to apt-get update on ubuntu-latest

Description
Hi, I'm wondering if this recent change #1816  could have bring some issue with ca-certificates:
This dockerfile (https://github.com/naubryGV/cpp-clang-check/blob/master/Dockerfile) was working pefectly fine yesterday, but now I'm getting those:
  W: http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease: No system certificates available. Try installing ca-certificates.
  W: http://security.ubuntu.com/ubuntu/dists/focal-security/Release: No system certificates available. Try installing ca-certificates.
  E: The repository 'http://security.ubuntu.com/ubuntu focal-security Release' does not have a Release file.

Not sure if it's the way to report those kind of issues.
Area for Triage:
Containers
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[* ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Being able to run apt-get without error
Actual behavior
apt-get update throws an error and the whole process have to stop
Repro steps
You can easily recreate, by trying to add my GitHub action to your workflow and run it.
https://github.com/naubryGV/cpp-clang-check

I can't reproduce it from my side.
Build Docker passes successfully on both ubuntu-latest and ubuntu-20.04 labels: https://github.com/maxim-lobanov/test-repo/runs/1419712497?check_suite_focus=true. Run stage fails due to lack of token but I guess it doesn't matter.
Please pay attention that the that work that you refer #1816 is not started yet. So it can't impact you.

Could you please share the link to the repo where you have repro for this issue?
Or attach screen of Set up job step for latest successful and the first failed build.
Example:

Thanks for the fast reply @maxim-lobanov.
Sorry for the confusion about #1816 I misunderstood the issue thread.
Here is the setup jobs when it failed:

And here is one when it worked:

The only change between the two is specify ubuntu-18.04 instead of latest, but I can see that there's the same OS version. I guess it was just an temporary issue, I will try again with ubuntu-latest and let you know

@naubryGV , Yes, it looks like ubuntu-18.04 is used for both builds.
Also, please pay attention on Version line. Both builds use 20201108.1 image version. It means that both builds are run on identical image.

Ok, so it was just a temporary hiccup, it's working now - go figure! Closing now - Thanks @maxim-lobanov


Make ImageReader(Crafter) accept numpy images as input

To me as an application developer, it would be useful to load ndarray images into the flow and apply image crafters on these images.

Hi, Florian! Great to see u! Is it what you are looking for?
import numpy as np
from jina.flow import Flow

input_data = np.random.random((3, 8))

f = Flow().add(uses='_logforward')

with f:
    f.index_ndarray(input_data)

reference: https://docs.jina.ai/chapters/io/index.html#usage-of-index-ndarray

I will close this issue, we discussed in the PR that this functionality should not be part of ImageReader. The Flow already accepts inputing np arrays and working with them


Support for Django >1.8 ORM changes fixes #30

model._state flag holds information to make the router db works

Thanks!

Just published 0.6.10 which includes this change. Thanks again! :sparkles:


There is an error, when I tried to load the scripted fasterrcnn_resnet50_fpn model

There still is an error, when I tried to load the scripted fasterrcnn_resnet50_fpn model
environment:
python : 3.7
pytorch : '1.4.0a0+829499e',
torchvision : '0.5.0a0+a44d55d'
code:
    import torch
    import numpy as np
    from PIL import Image
    from torchvision import transforms
    from torchvision.models.detection import fasterrcnn_resnet50_fpn

    model = fasterrcnn_resnet50_fpn(pretrained=True)
    im =Image.open('./imgs/street.jpg')
    transform = transforms.Compose([
        transforms.Resize((500, 500)),
        transforms.ToTensor(),])
    im_input = transform(im).unsqueeze(0)
    model.eval()
    predictions = model(im_input)
    traced_model = torch.jit.script(fasterrcnn_resnet50_fpn(pretrained=True).eval())
    torch.jit.save(traced_model, r'./rcnn.pt')
    load_model = torch.jit.load(r'./rcnn.pt')   # error here

Traceback (most recent call last):
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/cuda100/.vscode-server/extensions/ms-python.python-2019.11.50794/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/main.py", line 45, in
cli.main()
File "/home/cuda100/.vscode-server/extensions/ms-python.python-2019.11.50794/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/../ptvsd/server/cli.py", line 362, in main
run()
File "/home/cuda100/.vscode-server/extensions/ms-python.python-2019.11.50794/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/../ptvsd/server/cli.py", line 204, in run_file
runpy.run_path(options.target, run_name="main")
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/cuda100/daokun/RCNN/questsion.py", line 17, in
load_model = torch.jit.load(r'./rcnn.pt') #error here
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/site-packages/torch/jit/init.py", line 235, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError:
Variable 'last_C' previously has type None but is now being assigned to a value of type int
:
File "/home/imc/anaconda3/envs/pytorch_source/lib/python3.7/site-packages/torchvision-0.5.0a0+a44d55d-py3.7-linux-x86_64.egg/torchvision/models/detection/rpn.py", line 220
# for the objectness and the box_regression
last_C = torch.jit.annotate(Optional[int], None)
for box_cls_per_level, box_regression_per_level in zip(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...  <--- HERE
box_cls, box_regression
):
Serialized   File "code/torch/torchvision/models/detection/rpn.py", line 408
box_regression_per_level0 = _156(box_regression_per_level, N, A, 4, H, W, )
_162 = torch.append(box_regression_flattened, box_regression_per_level0)
last_C = C
~~~~~~ <--- HERE
if torch.isnot(last_C, None):
last_C0 = unchecked_cast(int, last_C)
'concat_box_prediction_layers' is being compiled since it was called from 'RegionProposalNetwork.forward'
Serialized   File "code/torch/torchvision/models/detection/rpn.py", line 18
features: Dict[str, Tensor],
targets: Optional[List[Dict[str, Tensor]]]=None) -> Tuple[List[Tensor], Dict[str, Tensor]]:
_0 = torch.torchvision.models.detection.rpn.concat_box_prediction_layers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
_1 = uninitialized(List[Dict[str, Tensor]])
features0 = torch.list(torch.values(features))

Hi,
Can you try again with master from today? I've just fixed an issue with in https://github.com/pytorch/vision/pull/1430/commits/6e7bc18ead7af3eeaed732e32982eef95537d191 which should fix this error

It works，thank you for your work. And I want to use scripted code on mobile  Android. Is that possible?

@dao-kun exporting it to mobile is in the plans, but I'm afraid this is not yet supported, as discussed in https://github.com/pytorch/vision/issues/1489#issuecomment-554509386
@dreiss would there be a recommended way (as of today) of allowing users to export Mask R-CNN operators to mobile?

It's not very urgent for me, anyway, thank you again for your wonderful work!

Not yet, but we're looking at it.

Hello, @dreiss @fmassa, any update on mobile Mask R-CNN? Thanks!

@jjbouza it's not yet ready, but we are looking into make it work, maybe for the 1.6.0 release of PyTorch (but it's not set to stone and it could slip to follow-up releases)


'GoError: unexpected EOF' when running behind corporate proxy

Hi,
I've just made my first xk6 extension which was very fun! Basically it allows you to talk to NATS from k6 scripts.
Everything is working fine on localhost (as always), however I see an error when running in our staging environment, where every outgoing HTTP request must go through our corporate proxy.
Extension code:
package nats

import (
	"context"

	"time"

	"github.com/loadimpact/k6/js/common"
	"github.com/nats-io/nats.go"

	"github.com/loadimpact/k6/js/modules"
)

func init() {
	modules.Register("k6/x/nats", new(Nats))
}

type Nats struct{}

type Client struct {
	client         *nats.Conn
	defaultTimeout time.Duration
}

func (r *Nats) XClient(ctxPtr *context.Context, natsServer string, timeoutMS int) interface{} {
	rt := common.GetRuntime(*ctxPtr)

	conn, err := nats.Connect(natsServer)
	if err != nil {
		panic(err)
	}
	var timeout time.Duration
	if timeoutMS == 0 {
		timeout = time.Millisecond * 5 // 5 second default timeout
	} else {
		timeout = time.Millisecond * time.Duration(timeoutMS)
	}
	return common.Bind(rt, &Client{client: conn, defaultTimeout: timeout}, ctxPtr)
}

func (c *Client) Request(subject string, payload string) (string, error) {
	msg, err := c.client.Request(subject, []byte(payload), c.defaultTimeout)
	if err != nil {
		return "", err
	}
	return string(msg.Data), err
}

func (c *Client) Publish(subject string, payload string) error {
	return c.client.Publish(subject, []byte(payload))
}

Which gets built into a binary:
$ xk6 build v0.31.1 --with github.com/username/xk6-nats-bridge="/home/username/go/src/github.com/username/xk6-nats-bridge"

Used in a script:
import { check } from 'k6';
import nats from 'k6/x/nats';
import * as faker from 'faker/locale/en_US';

export let options = {
  vus: 10,
  duration: '30s',
};

const natsTimeoutMS = 2000;
const natsServer = 'nats:4222';
const natsClient = new nats.Client(natsServer, natsTimeoutMS);

export default function () {
  const want = 'sample data'
  const payload = faker.name.findName()
  const subject = 'testSubject';
  var got = natsClient.request(subject, payload)
  check(got, {
    'Correct data received from NATS': (data) => data === want
  })

  const reportingSubject = 'reports.loadTest';
  natsClient.publish(reportingSubject, 'Tested OK!');
}

The script get bundled with webpack to include
When running the custom binary the proxy settings are set as env vars:
$ export http_proxy=http://proxy.domain.com
$ export HTTP_PROXY=http://proxy.domain.com
$ export https_proxy=http://proxy.domain.com
$ export HTTPS_PROXY=http://proxy.domain.com
$ k6 run main.js

The code works fine when running on my local kubernetes cluster (no proxy), but fails on another cluster that uses the proxy.
It fails with the following error:
time="2021-03-23T16:21:43Z" level=error msg="GoError: unexpected EOF\n\tat github.com/loadimpact/k6/js/common.Bind.func1 (native)\n\tat file:///main.js:1:3972(90)\n" executor=constant-vus scenario=default source=stacktrace

I know that xk6 is bleeding edge and experimental, but any pointers on what goes wrong, or how to increase logging will be much appreciated.

Hi @lhotrifork ,
I have no experience with nats, but from this docs it seems it is not HTTP based but just build on top of tcp. This means that setting HTTPS_PROXY will not help you.
Given this issue and PR, you should be able to tell the nats to go through a proxy by setting a custom dialer.
Hope this helps you.
I will close this as I don't think this is about the development of k6 or anything that we can do. You are very much welcome though to open a thread on the community forum where I and others can still help you.


Custom Object ID + drafts broken as of v1.5.8

Bug Report
Collection with a custom ID field and drafts enabled causes mongoose error and cannot load documents.
 MongoServerError: PlanExecutor error during aggregation :: caused by :: Failed to parse objectId '1' in $convert with no onError value: Invalid string length for parsing to OID, expected 24 but found 1
    at Connection.onMessage ([...]/node_modules/mongoose/node_modules/mongodb/src/cmap/connection.ts:438:20)

Problem relates to this change
https://github.com/payloadcms/payload/commit/a054cf098c2a90eb0abe0985f8f727115da7f21d#diff-fda4a0dfbc0329383be41bac8db00b2721d9f42f9ce22fe3f7bba0987750c9d3R105
Steps to Reproduce

Create a collection with custom id and drafts enabled

const TestCol = {
  slug: 'mytest',
  versions: {
    drafts: true
  },
  fields: [
    {
      name: 'id',
      type: 'number'
    },
    {
      name: 'foo',
      type: 'text'
    }
  ]
}

Create a document
Load the collection page
See mongoose error in console and no documents visible

Note, reproduction may require creating document on an earlier payload version, then updating the version to 1.5.8 or 1.5.9.

Hey @jcro128 good call. We have a fix brewing along with some VERY good DX improvements. Likely going to release a canary version tmrw that you can test out.
Keep an eye out. I’ll close this once the version is released 👍


Package view and nav changes

Summary

Utilizes @tailwindcss/typography to deliver better out-of-the-box typography support for readme files.
Moves theme changer to drawer on mobile

Thanks a ton for doing this PR (likely from the conversation on Discord) but I appreciate it!
I'll get to testing as soon as I can here to take a more in depth look, but at a glance this looks awesome!


It cannot be used without loading settings_interface

IF I comment this line
IN webui  modules/ui.py line 1765
tagcomplete cannot work.
# interfaces += [(settings_interface, "Settings", "settings")]

Is it a bug or an optimization?
I want to using it without settings_interface
Thanks.

The extension currently needs the settings interface since it watches / reacts to changes to the autocomplete related settings. I didn't consider that some might not use the settings interface, I can have a look at making it work without it later.
Just some small addendum: If you just want to prevent setting changes on a shared instance or similar, you can use the --freeze-settings command line argument when launching the webui instead of commenting out the line. In that case the extension should already work.

The extension currently needs the settings interface since it watches / reacts to changes to the autocomplete related settings. I didn't consider that some might not use the settings interface, I can have a look at making it work without it later.
Just some small addendum: If you just want to prevent setting changes on a shared instance or similar, you can use the --freeze-settings command line argument when launching the webui instead of commenting out the line. In that case the extension should already work.

Thanks for your reply.
As you said, I will share the instance with others, and I don't want them to change some of the Settings, so my previous practice was comments.
'--freeze-settings' still displays the Settings interface after use, this is not good, for the front interface is not very beautiful, hope you can fix. Thank you very much!

I have added some safety checks to skip listeners if the settings are missing.
One thing to note is that it will still work with anything you've added to the quicksettings bar, since that isn't reliant on the settings tab itself.

I have added some safety checks to skip listeners if the settings are missing. One thing to note is that it will still work with anything you've added to the quicksettings bar, since that isn't reliant on the settings tab itself.

It work！！！！！
Thank you very much！！！


realm clarification

In step 4 where Identifier and Reply URL specify realm, please make a note that if the customer is in the aws0/us0 realm, they should NOT specify a realm(the integration won't work).
All other realms (us1, us2 etc) do require this parameter.
Thank you
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8afbcd9e-e943-7cb8-0f51-d3b956979da4
Version Independent ID: ddf91550-2028-c9db-d153-7cb3f2c4eeb4
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with SignalFx - Microsoft Entra
Content Source: articles/active-directory/saas-apps/signalfx-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@narmendariz
Thanks for your feedback! We will investigate and update as appropriate.

@narmendariz
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@jeevansd
Can you please check and add your comments on this doc update request as applicable.


Implement proper update mechanism

This continues where #57 ended.
Updating is more automated, and is done on a more fine-grained level. Buffers and textures can be updated without re-creating the pipeline (and vice versa).

[x] Implement a mechanic so that each render function can invalidate the pipeline when a certain attribute of wobject/geometry/material is set. I think it makes sense to let the render function decide, because that's the part that knows ...
[ ] Agree on the approach/implementation of the above.
[x] Buffer and texture resources have a versionflag instead of a dirty flag, to help with detecting updates.
[x] The renderer works with all of the above!
[x] Fixes that the uniform buffer holding the wobject matrix was never updated.
[ ] Now make sure to only upload it when needed (because it slows things down).
[ ] Would be nice to let those meshes in the instanced mesh example rotate ...
[ ] I'd love a way to only draw when needed. It's silly that having an idle figure open causes my fans to kick in...

I'd love a way to only draw when needed. It's silly that having an idle figure open causes my fans to kick in...

I'd say that is already supported? Example: https://github.com/pygfx/pygfx/blob/master/examples/volume_slice2.py
I guess you could fully automate it, if you were able to fully observe any and all changes to the scene graph and were able to detect if any of those changes should trigger a redraw. But that's very hard. It's why I wrote observ, too. I think it should be solved in the GUI/application logic, just like we do in the example I linked above.
Or do you have some clever idea that would simplify this problem? :)

I think you're right. Any change originates from somewhere, and that's where a new draw should be requested. There are some examples that request a new draw from the animate function. It would be nice to be able to limit that to a certain fps Similar to JS requestAnimationFrame.
If we end up in a state where we fully observe when the renderer needs to make any updates to wgpu objects, then we might be able to detect when a new draw is needed automatically. But we'll see if that happens.
An example with observ would be nice!

Quite happy with the current state. WorldObject's, Materials, and geometry have a versionflag that is bumped when the "structure" changes, i.e. when the pipeline needs to be rebuild. The Textures and buffer have a versionflag that is bumped when the data is updates, i.e. when new data must be uploaded.
Let's rename versionflag though, as it's not pep8. We could do version_flag, or data_version, update_count, update_nr. We could also use a different names for wobject/material/geometry and texture/buffer. Thoughts @Korijn ?

How about revision or shorter rev?

Ready from my end.


Regex went outside block comment

Explanation
Pico uses informations from a block comment placed at the top of files, like this:
/*
Title: Hello World!
Description: This is a normal post, form hello-world.md
Author: User
Date: 2013/01/01
*/

Some plugins may use value from that block comment, ie: Plugin Pagination uses Date value for filter.
Problem
The problem rises when a .md file is supposed not containing certain value, but somewhere within content lies similar syntax.
In this example, Date value:
/*
Title: About
Description: This is a page, from about.md
Author: User
*/

### Lorem
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.

### Text File Markup

Text files are marked up using [Markdown](http://daringfireball.net/projects/markdown/syntax). They can also contain regular HTML.
At the top of text files you can place a block comment and specify certain attributes of the page. For example:

/ *
Title: Welcome
Description: This description will go in the meta description tag
Author: Joe Bloggs
Date: 2000/01/01
*/

Then, the Plugin will count this Page as Normal Post, because it finds the post containing Date value.
Suspect
It's probably caused by regex in:
File : Pico/lib/pico.php
Function : protected function read_file_meta($content)
Code :
    foreach ($headers as $field => $regex){
      if (preg_match('/^[ \t\/*#@]*' . preg_quote($regex, '/') . ':(.*)$/mi', $content, $match) && $match[1]){
        $headers[ $field ] = trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $match[1]));
      } else {
        $headers[ $field ] = '';
      }
    }

Please take a look at this. Thanks a lot.
Cheers.

#67, #130, #131, & 483334170f268f76a028bd6615f633760c855bb4


change DB and collection name

Short description outlining key changes/additions
JIRA Ticket Number
Type of change

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[ ] I have added unit tests for new code that I have added
[ ] I have added/updated functional tests where appropriate
[ ] The code follows our coding standards

An exhaustive list of peer review checks can be read here

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!


docker-multinode: how to access master and how to change api server config

I have the master up and running, but I'm very confused about how to access it.  None of the containers are exposing ports and neither 8080 or 8443 is available.  Also, how can I change the API server config?  I want to get OpenIDConnect integration working.

Hi @mlbiam! It might look a bit confusing when the ports aren't exposed, but that's because they're attached to the host network (--net host), so ports are automatically opened on 8080 and 6443.
You should just be able to run kubectl get po straight away :)
Right now, it's unfortunately very hard to customize the apiserver's config, but we're working on improving the UX for that. Now you
a) Exec into the kubelet container and edit /etc/kubernetes/manifests-multi/master.json or
b) Build a customized gcr.io/google_containers/hyperkube-amd64 image with a new config file.

Thanks @luxas I think the initial problem I had was related to running the build on CentOS7, there were a bunch of errors in firewalld related to iptables.  When I couldn't get that working I switched to Ubuntu and was able to get everything (mostly) working.  Trying to get the dashboard working now.
As for customizing the config, I was able to:

Fire everything up with ./master.sh
Once up and running, copy the /etc/kubernetes directory to the host
Customized common.sh adding -v /etc/kubernetes:/etc/kubernetes:rw to KUBELET_MOUNTS

That way I can edit /etc/kubernetes/manifests-multi/master-multi.json to get the OIDC flags on the API server.  That got me 85% of the way.  The next problem I ran into is I need to be able to copy the CA certificate for my OIDC identity provider.  This is where it gets kinda squirly.  I can't find an effictive way to do this.  So far I've had to:

Make my changes to master-multi.json
./master.sh
Get the container id for the API server
Find the data mount
./teardown.sh
copy the CA file to the data mount for the api server
./master.sh
Make sure not to clear out the kubelt directory

this works, but is a real pain because the data mount changes every time I change the master-multi.json the data directory changes.  If there was a common mount point in all the containers this would be much easier.

You should just be able to run kubectl get po straight away :)
...
a) Exec into the kubelet container and edit /etc/kubernetes/manifests-multi/master.json

As someone who is new to both Kubernetes and docker - this bewildered me for a bit as I had used kubectl from other guides.
It took me a while to figure out after finding this bug that I wanted:
sudo docker exec -i -t 90bc9a369703 /bin/bash
And I poked around in various '(s)bin' directories on the filesystem only to then find it in the root directory and not in $PATH!


Billion demo improovements

Reduce data points generation time by using parallel calculations.
Check x64 mode and treesReady flag. Notify user about errors.
I need some help with MessageBox text messages in this PR.
Additionaly smal fix to signalConst demo to make it look better.

This looks great! Let me know when it's ready to merge 👍

I need some help with MessageBox text messages in this PR.

I'll take a closer look at this shortly. Aside from this, is it ready to merge?

I'll take a closer look at this shortly. Aside from this, is it ready to merge?
I tested this, just request you to check for correct English in messages.


TileMap Navigation map synchronization error because of different cell_size

Godot version
4.1.dev.custom_build [e709ad4d6407e52dc62f00a471d13eb6c89f2c4c]
System information
Godot v4.1.dev unknown - NixOS 23.11 (Tapir) - Vulkan (Forward+) - integrated AMD Radeon Graphics (RADV RENOIR) - AMD Ryzen 7 4700U with Radeon Graphics (8 Threads)
Issue description
I expected that a TileMap with two navigation layers simply works. But when running the project the following error is thrown:
ERROR: Navigation map synchronization error. Attempted to update a navigation region with a navigation mesh that uses a different `cell_size` than the `cell_size` set on the navigation map.
   at: update_polygons (modules/navigation/nav_region.cpp:118)

Steps to reproduce

Create TileMap root node
Add a second layer to the TileMap
Add TileSet to the TileMap
Add two navigation layers to TileSet
Drag res://icon.svg into the TileSet tiles to create an atlas out of it.
Select top left tile and reset to default shape for both navigation layers.
Add the top left tile somewhere on the TileMap
Run the project

Minimal reproduction project
TileMapNavigationBug2.zip

Duplicate of #79468

Duplicate of Navigation region 3D not syncing #79468

See there for the solution

I have a few questions to that:

What are the correct values for which project settings for my provided reproduction project? Could you maybe quickly try it please because I tried setting all settings containing cell_size to 1 and all to 0.25 and both didn't seem to work.
In the project settings for navigation/2d/default_cell_size I can't set decimal numbers but only integers. Is this intended?
Could the error message show the differing values so you know which value you need to set to which value? Because currently it's more blind guessing.
I would expect that this seemingly super basic setup would work by default and not fail with this unclear error message.

CC @smix8


Create "Contacts" page.

While running PortScanner through UI, the below page will be displayed.
In the sidebar, contacts and about pages are not yet built.
Build a contact.html page for the same. Details of contributors/admin (as listed in README.md) and GitHub repository link can be added in contact.html.
For about.html see this issue -> #135

Hi could I work on this?

Can I work on this issue under GSSoC'21? Kindly assign it to me.

@jeenashetti Yes it's similar, please go ahead!

is the issue still up for grabs?

Could I create an additional instructions.html page?
This will provide instructions for users when they use PortScanner.

Can I work on this page under hacktoberfest 2021?

@Dcode-k Yes sure, go ahead. Let me know how you wish proceed,

@Kashish121 https://preview.colorlib.com/theme/bootstrap/contact-form-12/
Is this type of contact page is okk.

is this still present to solve if yes  I would like to continue ?


"flutter doctor" does not use proxy！

run "flutter doctor"
flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on Manjaro Linux 5.15.85-1-MANJARO, locale zh_CN.UTF-8)
Checking Android licenses is taking an unexpectedly long time...[☠] Android toolchain - develop for Android devices (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ Exception: Android toolchain - develop for Android devices exceeded maximum allowed duration of 0:10:00.000000
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.3)
[✓] Proxy Configuration
[✓] Connected device (2 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

My proxy settings
cat /etc/profile.d/proxy.sh

export NO_PROXY=localhost,::1,<IP_ADDRESS>,LOCALHOST
export https_proxy=http://<IP_ADDRESS>:7890
export http_proxy=http://<IP_ADDRESS>:7890
export all_proxy=socks5://<IP_ADDRESS>:7890

env |grep proxy;env |grep NO_PROXY;

all_proxy=socks5://<IP_ADDRESS>:7890
http_proxy=http://<IP_ADDRESS>:7890
https_proxy=http://<IP_ADDRESS>:7890
NO_PROXY=localhost,::1,<IP_ADDRESS>,LOCALHOST

Specify to use proxy to run "sdkmanager --licenses"
~/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --licenses  --proxy=http --proxy_host=<IP_ADDRESS> --proxy_port=7890
[=======================================] 100% Computing updates...
All SDK package licenses accepted.

@windf17
Your issue looks similar to below already filed ones, so I suggest you to follow-up in them for further updates.
https://github.com/flutter/flutter/issues/35598
https://github.com/flutter/flutter/issues/95804
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.


Detect redundant ScopedTypeVariables extensions

This might be somewhat complicated, but if keeping track of foralled variables in scope during parsing, one may detect when those are never used in their scopes.

I'm not a fan of this idea since scanning for which forall'd variables are contained in an expression both sounds expensive and using forall as a matter of style is sometimes done. I also think that ScopedTypeVariables has other subtle effects, but I'm not sure on that.


1.7.0 breaks Cucumber with DATABASE_URL

After upgrading from 1.6.2 to 1.7.0 I get the friendly (thanks for that) safeguards error when running cucumber features on CI (where it uses DATABASE_URL):
ENV['DATABASE_URL'] is set to a remote URL. Please refer to https://github.com/DatabaseCleaner/database_cleaner#safeguards (DatabaseCleaner::Safeguard::Error::RemoteDatabaseUrl)
/gems/gems/database_cleaner-1.7.0/lib/database_cleaner/safeguard.rb:21:in `run'

So I went ahead and tried following the instructions in the README section.
First, tried allowing this the Ruby way, inside features/support/env.rb (which is the only place I saw DatabaseCleaner in my code):
begin
  # This is the only line I added, everything else was already here.
  DatabaseCleaner.allow_remote_database_url = ENV['CI']
  DatabaseCleaner.strategy = :transaction
rescue NameError
  raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
end

That didn't work, so I tried the environment variable approach, and configured it on Travis:

That didn't work either. Only downgrading to 1.6.2 works.
Am I doing something wrong or is it indeed an issue?

you're probably using DatabaseCleaner call somewhere earlier in the suite. In one of the before hooks maybe? look at the complete backtrace

The only place I am calling DatabaseCleaner from my own code is in features/support/env.rb
DatabaseCleaner.strategy = :transaction


ocx:EndCut / I-Beams

For I-Beams, for one end section, we have two flanges (upper and lower one), we can have different endcut parameters for each flange.

For example, no endcut for the lower flange and endcut for the upper one.
For the time being,  this configuration is not managed in the current version of OCX schema.

That is correct. Propose to bring this op for discussion.


penv-601 added metrics

- What I did
added metrics
- How I did it
- How to verify it
- Description for the changelog

Codecov Report

Merging #173 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   72.48%   72.47%   -0.01%
==========================================
  Files          55       55
  Lines        3853     3859       +6
==========================================
+ Hits         2793     2797       +4
- Misses        901      903       +2
  Partials      159      159

Impacted Files
Coverage Δ

etl/controller/metrics.go
0.00% <ø> (ø)

etl/extractor/metrics.go
0.00% <ø> (ø)

etl/controller/controller.go
95.91% <100.00%> (ø)

etl/controller/pulsemaintainer.go
86.61% <100.00%> (+0.21%)
:arrow_up:

etl/extractor/platform_impl.go
79.35% <100.00%> (+0.26%)
:arrow_up:

api/handlers.go
85.50% <0.00%> (-0.06%)
:arrow_down:

etl/storage/storage_metrics.go
0.00% <0.00%> (ø)

etl/storage/postgres_metrics.go
0.00% <0.00%> (ø)

etl/storage/storage.go
84.01% <0.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


allow GBA

please im begging

I was thinking about it but GBA has a multiple much larger palettes. This means huge quantization will make it impractical, with GBC the amount of colors is a lot less. Also increased screen dimensions will be difficult, as well as requiring either costly compression when sending frames or changing the request size limit in ComputerCraft settings.
I'm leaving this open since I'm still somewhat considering it as a proof of concept but don't get your hopes up

also im running into an issue with line 53 of the mineboy.lua, it can't seem to find the monitor attached to the pc

Is the monitor (and wired modems) connected? How are you specifying the monitor ID? Try through the direct ID instead of directions. I'm closing the issue but you can still comment

Everything is connected properly and setup as intended. I may be able to provide video if needed.

Commented on wrong issue lol. Found error and fixed, I just forgot to turn on modems


Sm/registry-completeness-bug

What does this PR do?
refactor some of the registry scripting stuff
fix a test that should not have been passing (wrong metadata coverage report)
add new 21 types that this unblocked
What issues does this PR fix or reference?
@W-10758273@

✅  Reviewed code
🆗  Ran yarn metadata:preview- Output displayed for v55 but confusing Slack Webhook Error. Could used a better message
✅ yarn test:registry passed
✅ yarn update-registry ran without any new entries
🆗 yarn update-supported-metadata added one new entry (MarketingAppExtAction).


Update Cartopy to 0.20

Unfortunately there's a bug in the version we have that's causing me some headaches - details here. The real urgency for me is on the D100 side, which is why I filed it there, but it's also a problem here, might as well fix it in both places...

Cartopy has been updated in conda-forge to 0.20.0, 27 minutes ago!

Resolved!

Wonderful, thank you so much!!!


fix(Modal): Give Modal programmatic focus instead of close button

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

📬Published Alpha Packages:@codecademy/gamut@55.23.1-alpha.41d384.0@codecademy/gamut-kit@0.6.420-alpha.41d384.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://667c31c176cc4b6939b9940b--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.23.1-alpha.94e463.0@codecademy/gamut-kit@0.6.420-alpha.94e463.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://668d40670dd7fa6d19ada602--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.23.1-alpha.e06527.0@codecademy/gamut-kit@0.6.420-alpha.e06527.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://668d5068bfe56b891eb5054c--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.25.4-alpha.5a10df.0@codecademy/gamut-kit@0.6.425-alpha.5a10df.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://669140650f9f5a252501ef0b--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.25.4-alpha.17cfae.0@codecademy/gamut-kit@0.6.425-alpha.17cfae.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://669181e7b61ecd0a4ff3c1cb--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.25.4-alpha.a48cd1.0@codecademy/gamut-kit@0.6.425-alpha.a48cd1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://669192ea9c1981624c6b3e75--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.25.4-alpha.5def8d.0@codecademy/gamut-kit@0.6.425-alpha.5def8d.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://66919c81951df54f991e0377--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@55.25.4-alpha.008789.0@codecademy/gamut-kit@0.6.425-alpha.008789.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6693401a2ae3bdcf0c3aa1f2--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@56.0.1-alpha.cea96c.0@codecademy/gamut-kit@0.6.426-alpha.cea96c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://669abb2cf8996d92aec649b1--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@56.0.1-alpha.0259bc.0@codecademy/gamut-kit@0.6.426-alpha.0259bc.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://669eadc2cc801e2d19fcd688--gamut-preview.netlify.appDeploy Logs


Matrix Chain Multiplication

Do the checklist before filing the issue:

[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a bug fix?
[x] Is this an enhancement?
[x] Is this a feature request?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

Give your answer below:

To find the least number of operations needed to multiply a chain of matrices together. For example, given 4 matrices A, B, C, D, there can be multiple ways of multiplying them, such as:
(ABC)D = (AB)(CD) = A(BCD) ...
Validation: Input taken should be an array of positive integers, otherwise it should throw an error.
Input: An array with number of rows of the respective matrices.
Output: Minimum number of operations.
M.matrixChain([40, 20, 30, 10])  //26000

//Validations

M.matrixChain(12) //Error: not an array
M.matrixChain(10, -20, 40, 10) //Error: not positive integers

I would like to work on this


feat: resize quadrants

[!NOTE]
This is still a WIP

Hopefully fix #40 and #21

@roelvangils @coreORB wanna give it a try before I release it? leave any feedback here
Download it here: SwiftShift.zip
There's a new option in the menubar that enables that behavior
https://github.com/pablopunk/SwiftShift/assets/4324982/b1080134-61cc-423b-8782-3989521358a2

It's working great! It's much better solution, than mine.
Only thing I've noticed - on resizing to the right window will stop at the edge of screen, but when resizing to the left window can be resized beyond the screen edge. IMO it's low priority feature request.
Thank You for this, it's sooo convenient :)

@coreORB ha, that's right. I have no idea why, since I'm not limiting neither of those.
Ok seems good enough to release it. I've been trying it without quadrants and it doesn't seem to disturb the regular resizing, so I'll merge it and release it


chore: separate test branches

Without this, updates to Dockerfile can be combined with updates to test/ and be given the wrong semantic commit prefix


iterate over fields in a row

Hi,
Sometimes I need to get all result fields in another format, say json or something else. In that case it would be nice if I could iterate over the fields in a row object. Let me explain that by an example:
#include <sqlpp11/sqlpp11.h>

int main(int argc, char **argv) {

    // db connector
    auto config = std::make_shared<sqlpp::postgresql::connection_config>();
    sqlpp::postgresql::connection db(config);

    // could be ciere::json::value (see: https://github.com/cierelabs/json_spirit)
    ciere::json::value result;
    dbtable::users m_users;
    for(const auto &row: db(select(all_of(m_users)).from(m_users).unconditionally())) {

        // Here is the row object
        result["id"] = row.id;
        result["name"] = row.name;
        result["lastname"] = row.lastname;
    }

    // iterate over a row (runtime)
    for(const auto &row: db(select(all_of(m_users)).from(m_users).unconditionally())) {
        for(auto &field: row) {
            result[field.name] = field.value;
        }
    }

    return 0;
}

The above example iterates over a row at runtime, but as we know all fields at compile time it would be nice to generate a template function which iterates over the fields in a row object.
Is there a possibility that this could be implemented?
Regards, Matthijs

Hi Matthijs,
The row type is a bit similar to a tuple. Each field has its own type. Therefore it would be difficult to iterate over the fields with a for-loop.
It should be quite easy to write some similar to std::get, though. Or some kind of apply-method that can be called with a functor that does something for each field.
I'll need to think about this in a bit more detail...
Best,
Roland

Hi Matthijs,
Please take a look at develop. I just pushed a change that allows you to do the following:

You provide some callable, for instance:

struct to_cerr
{
  template <typename Field>
  auto operator()(const Field& field) const -> void
  {
    std::cerr << get_sql_name(field) << " = " << field << std::endl;
  }
};

You apply the callable to each result field of a row like this:

  for (const auto& row : db(select(all_of(t)).from(t).unconditionally()))
  {
    for_each_field(row, to_cerr{});
  }

There are two versions of for_each_field, one takes a const reference (used here). The other takes the callable by non-const reference, allowing you to modify the callable, e.g. incrementing a counter.
Please be aware that this is not thoroughly tested yet.
Let me know what you think.
Cheers,
Roland

Hello Roland,
I've tested your commit and the few tests I did works like a charm!
for (const auto& row : db(select(all_of(t)).from(t).unconditionally()))
{
  for_each_field(row, [](const auto &field) {
    std::cout << get_sql_name(field) << ": " << field.value() << std::endl;
  });
}

I will test it in my production environment and let you know.
Nicely done!
Regards, Matthijs

Hi Matthijs,
Thanks for the feedback! I am looking forward to using C++14, too :-)
Best,
Roland

Hi Matthijs,
I guess it works fine?
Please open a new issue otherwise :-)
Cheers,
Roland


Add custom config for token file

Changes for https://github.com/spring-cloud/spring-cloud-vault/issues/617

Thank you @dragneelfps for addressing the open request #617
@mp911de - Can you please help in review of above PR? This would be helpful in one of the tasks I am working on currently.


Campaign Location Display

When viewing a campaign under the http://localhost:48408/Campaign/2 url should the location address be displayed on the page somewhere?
At the moment I cannot see this exposed in the UI except in the admin areas. There is a map link from the campaign listing page (although that itself might be broken too) but in the details page I think it would be useful to at a glance see the primary location perhaps?

Agree it should show there.  We should mock up display to get feedback as well as will need to think about overall geo issues like in #530

Having checked this - It looks done so I'm closing this. UI and design will be covered in other issues


Use name() instead of toString() in EnumStringConverter.

This PR is a proposal to fix #755 . It is my first contribution and I tried to follow the contribution guidelines. Please be kind if I missed something ;)

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

Thanks looks fine!

Nice. Glad I could help!


Exec $(NSwagExe_Core30) not nswag in builds

Updated NSwag to latest version
changed nswag build to reference variablised .net core 3 exe which avoids having nswag in %PATH%

Fixes #174
Refer to https://github.com/RicoSuter/NSwag/issues/2432

Thanks a lot Matt, that's great. 👍


Reconsider Architecture/Approach to PCL Support

Creating this issue to centralize actions/discussions related to it.  See https://github.com/net-commons/common-logging/issues/67#issuecomment-62976921 for comprehensive coverage of the background, history, challenges surrounding this.
If anyone has any input/suggestions/etc. on this points raised in https://github.com/net-commons/common-logging/issues/67#issuecomment-62976921 please offer them here -- all ideas are welcome (as always!)

Just circling back on this; with the release of 3.0.0.GA https://github.com/net-commons/common-logging/tree/3.0.0.GA this strategy is now officially in the wild for formal consumption now.

Hi Steve,
I just tried to add Common.Logging.Portable to my Xamarin PCL Project, but this didn't work. Before I could add the old Common.Logging.Core. What am I missing?

The issue you're posting to is CLOSED so we have opened a new issue https://github.com/net-commons/common-logging/issues/78 on your behalf for further investigation into this.  All follow up will occur on that new issue number from this point.


release v0.11.2

What this PR does / why we need it:
release v0.11.2
Special notes for your reviewer:
Does this PR introduce a user-facing change?

LGTM


fix: interpret skip_libraries in sv_calling

Coverage: 84.925% (-0.02%) from 84.947% when pulling 5c639a36f044428430624ec349baa2debe574633 on fix-skip-libraries-sv-calling into 573c72fd2c99df7c533837eb9af98c6a84031594 on main.


Changes lost due to ci build copying old version

Docs Build status updates of commit 978fbe5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-5.8.0/install-az-ps.md
:white_check_mark:Succeeded
View (azps-5.8.0)

docs-conceptual/azps-5.8.0/toc.yml
:white_check_mark:Succeeded
View (azps-5.8.0)

docs-conceptual/azps-5.8.0/troubleshooting.md
:white_check_mark:Succeeded
View (azps-5.8.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Laravel Mix v6 not compiling React correctly for IE11, SCRIPT5022: Minified React error #31

Laravel Mix Version: 6.0.6
Node Version (node -v): 12.18.3
NPM Version (npm -v): 6.14.6
React version: 16.13
OS: Windows

Description:
I used to use laravel-mix v5 and using mix.react() which works fine on IE.
My dependencies are:
  "dependencies": {
    "@babel/preset-env": "^7.12.11",
    "@babel/preset-react": "^7.12.10",
    "prop-types": "^15.7.2",
    "react": "^16.13.1",
    "react-app-polyfill": "^2.0.0",
    "react-dom": "^16.13.1"
  }

My babel settings are:
module.exports = {
    presets: ['@babel/preset-env', '@babel/preset-react'],
  };

And I have react-app-polyfill imported in App.js (The first level of my react app)
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';

On IE11 it shows blank page with error: SCRIPT5022: Minified React error #31;
Any help is appreciated! 🙏

I am still not sure what was the issue. Is Laravel mix 6 incompatible with react-app-polyfill?
I found another workaround, I dropped react-app-polyfill and used promise-polyfill + unfetch, now seems correctly compiled.

I am still not sure what was the issue. Is Laravel mix 6 incompatible with react-app-polyfill?
I found another workaround, I dropped react-app-polyfill and used promise-polyfill + unfetch, now seems correctly compiled.

Glad you found a solution.
I would need a little more setup help to reproduce this and let you know if there's a Mix bug here. Not much to go on at the moment.

Glad you found a solution.
I would need a little more setup help to reproduce this and let you know if there's a Mix bug here. Not much to go on at the moment.


Winget install broken

Type (choose one):

Bug

NPE version: Latest / None since the installation fail, around mid April 2023, can't tell when it start breaking
OS version:
❯ cmd /c ver
Microsoft Windows [Version 10.0.25324.1000]

Installed from: Winget
❯ winget --version
v1.5.441-preview

In case of a BUG:

What is the current result?
The installation does not work

What is the expected result?
The installation should work

Please post full exception details in case of an Exception (message, stacktrace, inner exceptions).

❯ winget install "NuGet Package Explorer"
Found NuGet Package Explorer [9WZDNCRDMDM3] Version Unknown
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
Agreements for NuGet Package Explorer [9WZDNCRDMDM3] Version Unknown
Version: Unknown
Publisher: Claire Novotny LLC
Publisher Url: https://github.com/NuGetPackageExplorer/NuGetPackageExplorer
Publisher Support Url: https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues
Description:
  IMPORTANT: This app works with Windows 10 Pro and Home.  This app performs with core functionality on Windows 10 S but binary enumeration and plugins do not work.

  This app allows browsing NuGet packages from an online feed and viewing contents of the packages. NuGet is a package management tool in Visual Studio. More information on NuGet can be viewed at http://docs.nuget.org.
License: ms-windows-store://pdp/?ProductId=9WZDNCRDMDM3
Privacy Url: https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/blob/main/PrivacyPolicy.md
Agreements:
Category: Developer tools
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license

The publisher requires that you view the above information and accept the agreements before installing.
Do you agree to the terms?
[Y] Yes  [N] No: Yes
Verifying/Requesting package acquisition...
Verifying/Requesting package acquisition failed: server error  <=========

Are there any workarounds?
NO: Not with WinGet since the issue is with Winget

Is there a version in which it did work?
Yes several month Ago i can't tell the version though because I simply don't remember.

Is there a package on Nuget.org which shows the bug?
unrelated

More:
It seems like it would be a good idea to set a humanized Package Id and a real version if that's ever possible:
❯ winget search "NuGet Package Explorer"
Name                   Id           Version Source
----------------------------------------------------
NuGet Package Explorer 9WZDNCRDMDM3 Unknown msstore

Not ideal at all:

Id: 9WZDNCRDMDM3 (Id should be identificable - does not contain space - does not required escaping / quote)
Version: Unknown (Should match the actual version)

Better:

Id: NuGet.Package.Explorer or NuGetPackageExplorer
Version: 6.0.64 (the actual version of the release tab here)

unsure if tracked
unsure if fixed
for other reader: no i don't know if it got fixed without feedback


Tweak heading and copyright range

Thank you.

Sadly, now it should be updated again to include 2020 !


#3 added config class, removed framework dummy

Coverage remained the same at 100.0% when pulling c4f7050edbcf5403fad47de82094935464811ad0 on 03-config into 6c59e16da66588329daa3f385499869876bbd2f7 on 03-paypal-init.


Sudoku Game

Description
Added a Sudoku Game(GUI) in python.
Fixes #1663

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x ] My code follows the style guidelines(Clean Code) of this project
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ x] I have created a helpful and easy to understand README.md
[x ] My documentation follows Template for README.md
[ ] I have added the project meta data in the PR template.
[ ] I have created the requirements.txt file if needed.

Project Metadata
If there is no-file/nothing to fill the below fields with, then type: none
Example: If no requirements.txt needed/present, then type none in Requirments.
Category:

[ ] Calculators
[ ] AI/ML
[ ] Scrappers
[ ] Social_Media
[ ] PDF
[ ] Image_Processing
[ ] Video_Processing
[ x] Games
[ ] Networking
[ ] OS_Utilities
[ ] Automation
[ ] Cryptography
[ ] Computer_Vision
[ ] Fun
[ ] Others

Title: <write script title here>
Folder: <Sudoku_Game>
Requirements: <type the name of text file containing the required to install python packages, type None if no file required>
Script: <sudoku.py>
Arguments: <enter any arguments that the script needs but - separeted like: h-c-m>
Contributor: <smty2018>
Description: <Sudoku Game>

@avinashkranjan please review it and merge it if no problems.

@avinashkranjan please review it and merge it if no problems.


fix language factory possible languageCode collision

when running test, when have enough iteration (eg: ->repeat(50)) there is a possibility of hitting UniqueConstraintViolationException
changing from ->unique()->languageCode to ->slug() fixes this as its not a fixed set of language codes

Thanks @wychoong
Not sure this is entirely needed, In your loop could you not just override the code yourself?


Element position 'absolute' when attached to 'fixed' target

I'm using a target with 'position : fixed' but I've noticed something strange on element positioning.
I'd expect the element position to be always fixed (as far as the target is) but:

when I enable it, tether sets the element position to 'absolute'
if I scroll the body position changes to 'fixed' (after a short while)
if I resize the window (or disable/enable) the position changes back to 'absolute'

On some browsers (IE, Edge, Safari) this is noticeable and annoying.
It happens also on tether.io in the examples with "click to show".

The problem affects mobile browsers too (tested on Safari iPad). Page scroll affects element position. This should not happen when all the involved objects (target and constraints) have fixed position, am I wrong?

All right, it seems there are 2 different problems:

the move function should use fixed positioning when the target or one of his parents has fixed positioning. This fixes the problem on IE & Firefox and partially on iOS.

on iOS getBoundingClientRect returns incorrect values during scrolling and resizing (when orientation is changed or navigation bar is shrank) if the target has fixed positioning. This can be solved debouncing the position function in such edge cases.


Correct the casing of acadYear in getUserDetails query

amogus, looks like they're not being fetched either then


Feature/dataset admin form

Changes

Created django view to render an admin form at /datasets/admin/<dataset id>
Created the form to allow admin users to update a datasets

If the user is not an admin the form will not allow them to perform the update
An error will show if the user tries to supply a blank name

Screenshots
User successfully updates the dataset

Form when visibility is set to RESTRICTED

Form when visibility is set to PUBLIC

User tries to supply no name

Non-admin tries to perform update

LGTM once you async as @Samad198 suggests


Tweak Stepper component

The stepper component contains some default CSS that adds some unnecessary padding.
Adding padding-inline: 0 to the ol element fixed the initial spacing.
before:

after:

additionally, the stepper does not properly center due to the final element still containing flex-grow: 1, setting the last item of the stepper to have flex-grow: 0 fixes this.
before:

after:

Example code:
<div class="stepper-container">
  <Stepper ... />
</div>

<style>
	.stepper-container {
		max-width: 600px;
		margin: 0 auto;
		width: 100%;
	}
	/* remove when UnicornUI updates w/ fix */
	:global(.stepper-container ol) {
		padding-inline: 0;
	}
	:global(.stepper-container li:last-child) {
		flex-grow: 0;
	}
</style>

result:

Thanks for catching this and giving the tweaks!


Gaussian Mixture Model - Documentation

I'm a gssoc'21 participant and would like to add this in your repo.
@geekquad @ashwani-rathee Please assign this issue to me.

Please create a separate folder for this task.
You are assigned the task to create codebase for Gaussian Mixture Model

Thank you for assigning.

I am a participant GSSOC'21
I would like to contribute in this

No updates on this,this needs to be reassigned

No updates on this,this needs to be reassigned

Hey if permitted I am ready to take up this issue as I have pretty good knowledge about Gaussian Mixture Model.

@vinc3nati Go ahead

Hey @ashwani-rathee do I need to implement the code as well ?

Hey @ashwani-rathee I have completed the code implementation of Gaussian Mixture Model as well so should I push it ? or the documentation is what expected ?


Py3.7 travis builds downgrade to python 3.6.7 to satisfy OE dependency

https://travis-ci.org/openforcefield/openforcefield/jobs/475624199#L1024
@dgasmith suggests that this can be avoided using conda-env, which will compute/resolve dependencies ahead of time.

To keep this up-to-date, I've switched to installing OE with pip in #212 to get the Travis tests to pass.

This should be resolved imminently as the py37 release candidates for the OpenEye toolkit were posted a week ago:
https://anaconda.org/OpenEye/OpenEye-toolkits/files


Expose the /metrics endpoint for collectors like prometheus.

Expose the traefik /metrics endpoint for collectors like prometheus via the command line arg --web.metrics.prometheus
The prometheus buckets are also made configurable, again via a command line flag --web.metrics.prometheus.buckets

Tested on kubespray kubernetes cluster on AWS.
Contributions from @kevinjqiu. Thanks Kevin!

@krancour - Would appreciate it if you could review this PR.

/ok-to-test

/assign

/retest

LGTM please approve if all is good.
cc: @kubernetes/charts-maintainers

/lgtm

@gdmello @kevinjqiu thanks for this awesome addition – I just started looking for this feature today!
Could you please add a few rows to README.md to describe the new values? It is otherwise not clear that Prometheus is supported by the chart, at least for those who does not go further than scrolling through / CTRL+F.
That should probably go to a new PR because the chart version is already 1.11.3 :–) I suspect yours would be 1.11.4 unless someone else submits another PR quickly. WDYT?

@kachkaev - Thanks for the suggestion! I agree it is needed. I'll create a PR for this - not sure which release it will fall under.

@kachkaev - Documentation PR https://github.com/kubernetes/charts/pull/2077


Add in-memory message-passing

For connections within a single process that don't have any connections outside of process, utilize ZeroMQ in-memory message passing.

I think this might have been in 1.0.

This happened when we added brokers. It was in 1.0.


Roll Packages from 330581face4b to df88c814248d (7 revisions)

https://github.com/flutter/packages/compare/330581face4b...df88c814248d
2024-09-14<EMAIL_ADDRESS>[webview_flutter] Improve flaky scroll tests (flutter/packages#7621)
2024-09-13<EMAIL_ADDRESS>Bump deps (flutter/packages#7357)
2024-09-13<EMAIL_ADDRESS>[flutter_adaptive_scaffold] Use improved MediaQuery methods (flutter/packages#7565)
2024-09-13<EMAIL_ADDRESS>[many] Update example android apps to target SDK level 34. (flutter/packages#7587)
2024-09-13<EMAIL_ADDRESS>[pigeon] adds support for non nullable types in collections (flutter/packages#7547)
2024-09-13<EMAIL_ADDRESS>[flutter_adaptive_scaffold] Adds additional slot animation parameters (flutter/packages#7411)
2024-09-13<EMAIL_ADDRESS>Roll Flutter from 303f222e17e3 to 2d30fe448cd4 (21 revisions) (flutter/packages#7646)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Broken resource - exploded when a new file with existing name was added

Thanks @alvacouch
I have a new broken resource that had all the files deletes from it when I tried to upload a new version of a file, but a file with the same name already existed.   https://www.hydroshare.org/resource/7a77f525667b42f69cdc3f8db18e1280/
The data has disappeared and even in edit mode, there is no way to attempt to add in new files except to drag and drop.
I tried to recreate this issue with a new composite resource, and the system worked as expected by giving an error, but no other files were deleted/removed.

Create new composite resource - add multiple files with similar version names

Edit Resource and Add a file with the same name (by accident!).  File Upload Failed Error Received.

What is the difference between this resource that is now broken https://www.hydroshare.org/resource/7a77f525667b42f69cdc3f8db18e1280/
and this resource https://www.hydroshare.org/resource/9c564489f08b48efa1851d796d426b6f/ that gives an error but does not delete the rest of the files?

I am closing this issue.  The Sauk Suiattle Watershed Observatory resource https://www.hydroshare.org/resource/7a77f525667b42f69cdc3f8db18e1280/ was one of the ones intensively tested in resolving file system problems with the current deploy and I believe that issues related to it are fixed.  @ChristinaB if you encounter any further problems with this resource (or other new resources) please create a new issue that documents them.


sfsu hook failed to work

Describe the bug
I putted Invoke-Expression (&sfsu hook) to my $PROFILE, but PowerShell 5.1 failed to recognize it.
To Reproduce
Steps to reproduce the behavior:

scoop install sfsu.
Added sfsu to $PROFILE like the image below

Exit and reenter PowerShell.
sfsu cannot be loaded and error is thrown.

Expected behavior
The hook should be set up, and all sfsu commands should be usable.
Full Output
If applicable, add the entire output to help our diagnosis of the problem.

Version [e.g. 1.4.8]

I can't seem to replicate the issue, can you add the output from just calling the sfsu hook command and what version you are using please?

I fixed it, thanks

I have the same issue. @dnx04 can you please tell me how did you fix this?
For me sfsu hook command returns nothing.

OK I fixed it too.
For those who have the same problem: this tool needs vcredist (Microsoft Visual C++ Redistributable) to be installed. I don't know which version exactly so I just installed all of them with scoop install vcredist and now all works as intended.


Paralellize alerts

Create a goroutine per alert that runs the alert independently.
If one alert takes a long time, it will not affect other alerts.
The gorutine will maintain the current state for the alert, and will manage all mutations to that state (template rendering, status updating). It can then merge that state into the "global" schedule state via thread-safe mechanism. Global state will be essentially read-only.
Dependencies will be slightly affected. Alerts will still run the expressions from depended-upon alerts in real-time, but if the depended-upon alert is unknown or unevaluated, we will rely on the last known state in the global state.

Added with #1231

Dependencies will be slightly affected. Alerts will still run the expressions from depended-upon alerts in real-time, but if the depended-upon alert is unknown or unevaluated, we will rely on the last known state in the global state.

does this change dependency semantics from "use current dependency status" (as it was before), to "use either the current dependency status or the dependency status of the previous run" ?
if so, i wonder if there's a nice way to solve this, perhaps still orchestrating an order in between otherwise parrallel running alerts.


Update dependencies

Update dependencies

Follow up work:

Remove GraphQL and other LW-specific code.
What are we using formatjs for? it's a huge library and it would be nice to get rid of it.
Upgrade tooltip.js.


Rhumb line generation fails with certain lines

Another rhumb line issue (see also #8042).
Rhumb line generation fails with certain lines. I suspect, but haven't fully confirmed, that these lines are "vertical" (normal to the Earth's surface). This bites anyone with these LineStrings in their GeoJSON.
My interpretation of the situation is that PolylinePipeline.numberOfPointsRhumbLine returns 1, and a one-point rhumb line is indeed generated by PolylinePipeline.generateCartesianRhumbArc, which PolylineGeometry.createGeometry is not expecting and does not handle properly.
Sandcastle example:
var viewer = new Cesium.Viewer("cesiumContainer");
var verticalRhumb = viewer.entities.add({
  polyline: {
    positions: [new Cesium.Cartesian3(-4136082.225644,2896505.853869577,-3883655.777889882),new Cesium.Cartesian3(-4136082.8717214135,2896506.306318757,-3883656.38862544)],
    arcType: Cesium.ArcType.RHUMB,
  },
});
viewer.zoomTo(viewer.entities);

This fails with error:
DeveloperError: Expected right to be typeof object, actual typeof was undefined
Error
    at new DeveloperError (https://sandcastle.cesium.com/CesiumUnminified/Workers/Check-6c0211bc.js:62:13)
    at Object.Check.typeOf.object (https://sandcastle.cesium.com/CesiumUnminified/Workers/Check-6c0211bc.js:281:13)
    at Function.Cartesian3.subtract (https://sandcastle.cesium.com/CesiumUnminified/Workers/Cartesian2-36f5627e.js:536:24)
    at Function.PolylineGeometry.createGeometry (https://sandcastle.cesium.com/CesiumUnminified/Workers/createPolylineGeometry.js:420:31)
    at createPolylineGeometry (https://sandcastle.cesium.com/CesiumUnminified/Workers/createPolylineGeometry.js:558:29)
    at createGeometry (https://sandcastle.cesium.com/CesiumUnminified/Workers/createGeometry.js:60:32)
    at callAndWrap (https://sandcastle.cesium.com/CesiumUnminified/Workers/createTaskProcessorWorker.js:61:25)
    at https://sandcastle.cesium.com/CesiumUnminified/Workers/createTaskProcessorWorker.js:107:9

Browser: Chrome 83
Operating System: Windows 10 18363

Thanks for digging deeper into this @atlight  - I believe this is the same issue as reported here: https://github.com/CesiumGS/cesium/issues/8764. There's a minimal code example there with a vertical line that shows the issue. I'm going to close this and link your notes to that issue.

Thanks @OmarShehata! Evidently my searching skills could use some improvement 😄