[SCVMM] Make the request body optional for VirtualMachineInstances/Stop

ARM (Control Plane) API Specification Update Pull Request
The VirtualMachineInstance/Stop is a POST action with optional body to skipshutdown. With the typespec update, we had made this as required payload. We want to relax this constraint to align /Start, /Restart and /Stop with no required payload.

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[ ] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[ ] Convert existing OpenAPI spec to TypeSpec spec (do not combine this with implementing changes for a new API version).
[x] Other, please clarify:

We want the body for the POST action on VirtualMachineInstances/Stop to be optional. We have gotten a behavior change with the TypeSpec upgrade. This field is optional in the earlier API version (like 2023-04-01-preview).

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

/azp run

Tracking WI

/pr RequestMerge

/pr RequestMerge

/pr RequestMerge


Curry the fuzzysearch method

This PR curries the fuzzysearch method if you pass only one argument. With it you can pass it to array.filter like so:
var stuff = ['cartwheel', 'boatwheel', 'wheels on the bus', 'car tire'];
var results = stuff.filter(fuzzysearch('car'));
console.log(results); // ['cartwheel', 'car tire']

The existing uncurried two argument API is exactly the same.

No thanks. You can do this externally.
stuff.filter(fuzzysearch.bind(null, 'car'))


ONNX: Gather for tensors of rank > 0.

Firstly thanks for candle, it's an impressive project and the speed at which updates are coming is really cool as a user!
I'm trying to use a speedyspeech onnx model in it right now and there's a failing op:

not yet implemented: implement gather for Tensor[dims 78, 128; f32] Tensor[dims 1, 16; i64] axis 0

I can provide my ONNX or assist via PRs if required (may need some pointers). Otherwise just wondering if there's any idea when Gather might fully land or if there are any difficulties in the implementation that might mean I should look for an alternative solution in the near term.

Ah, the ONNX bits are brand new and only support a subset of the operations. It would certainly be helpful if you can share the ONNX file that you tried to run so that we can see if we can make it pass all ops.

Sure here's the model speedyspeech.zip

did you ever get this running?

Not speedyspeech but whatever candle does it won't work with that exported model. Not even onnxruntime works because the version of torch they used can generate invalid onnx graphs that nothing can run

ah got it, thank you
I wonder if there's a cheaper tts in rust than piper (which doesn't run in candle as well but does in ort)
anyways, thanks


Hyundai / Kia Connect version: 3.20.6 fails since 2024-06-05

Hyundai / Kia Connect version: 3.20.6
Python version: 3.9
Operating System: Ubuntu

Description
My production code fails since 2024-06-05. For this, I'm using a small test program derived from eu_login_test.py. The code is as follows:
#!/home/pi/miniconda3/envs/kia/bin/python3.9
# -*- coding: utf-8 -*-

import os
from hyundai_kia_connect_api.VehicleManager import VehicleManager

def test_EU_login():
    username = 'xxx'
    password = 'yyy'
    pin = '000'

    vm = VehicleManager(region=1, brand=1, username=username, password=password, pin=pin)
    vm.check_and_refresh_token()
    vm.update_all_vehicles_with_cached_state()
    assert len(vm.vehicles.keys()) > 0
    print('VEHICLES: ', vm.vehicles)

test_EU_login()

This yields the following error:
(kia) pi@kia[~/kia/tests] ./login-test.py
Traceback (most recent call last):
  File "/home/pi/kia/tests/./login-test.py", line 18, in <module>
    test_EU_login()
  File "/home/pi/kia/tests/./login-test.py", line 13, in test_EU_login
    vm.check_and_refresh_token()
  File "/home/pi/miniconda3/envs/kia/lib/python3.9/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 130, in check_and_refresh_token
    self.initialize()
  File "/home/pi/miniconda3/envs/kia/lib/python3.9/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 74, in initialize
    self.token: Token = self.api.login(self.username, self.password)
  File "/home/pi/miniconda3/envs/kia/lib/python3.9/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 260, in login
    raise AuthenticationError("Login Failed")
hyundai_kia_connect_api.exceptions.AuthenticationError: Login Failed

Is this a known problem? Does the test program have to be updated?

Never mind; password issue.


from: can't read /var/mail/mmdet.apis

hi，guys，when I run  from mmdet.apis import init_detector
it turn out a error:
from: can't read /var/mail/mmdet.apis
what should l do

Please follow the Error report issue template.


2.3.0 no longer installs on older npm versions

Hi! It looks like PR #1753 added the line "lodash.create": "^3.1.1" to package.json, which means that mocha no longer installs with versions on npm that do not understand the ^ specifier. It's also the only non-exact version in dependencies. Can a version be published with that changed to an exact version, please?

Looks like an oversight.  I'll get on this

@dougwilson released as v2.3.1

@dougwilson do you know offhand which is the first version of npm that supports the caret?

It was added in npm 1.3.7, I believe. This means it was first available as part of the Node.js 0.10.16 bundle (previous versions on Node.js didn't provide out-of-the-box support for the caret).

Well, thank you for the update, but it looks like 2.3.1 still doesn't work, because there are some new sub dependencies on 2.3.0+ that are using the carets, for example, something is trying to install<EMAIL_ADDRESS>:(

Honestly I have no idea what to do about that.

The only solution here is to stop supporting people with just a minor release (not semver compliant, I know), or replace the lodash.create dependency altogether with a dependency that works on the same platform. The usage of lodash.create in the PR is dubious, as Node.js provides the feature in util.inherits out of the box.

The only solution here is to stop supporting people with just a minor release (not semver compliant, I know)

I'm not sure I understand this suggestion; can you reword?
It sounds like the only way out of this is:

Use something other than lodash.create
Release this as v2.3.2
Use lodash.create (if we wish) in v3.0.0

Right?  I mean, we simply can't use lodash.create if we want to support nodejs v0.10.16 out-of-the-box.
Since npm < v1.3.7 doesn't support carets, the only way you would have noticed this issue is if your Mocha dependency is set to *, < 3.0.0, > 2.0.0, or something else, because if you used a tilde you wouldn't have gotten from 2.2.x to 2.3.0.  So, instead of detective work--how did you notice this issue?  Is something preventing you from upgrading to npm v1.3.7?

I noticed this issue because I wanted to upgrade to mocha 2.3.0, not because it suddenly broke for me :) And yes, I don't have control over the version on npm on things like HP Helion (formally Stackato). That PaaS version I have available for Node.js work can use any version of node, but is stuck on only npm 1.3.5, and I don't have control over getting it upgraded.
This does not only mean I cannot upgrade to mocha 2.3.0, but also signals that I'm going to have to abandon mocha very soon if I want any updates at all, correct?

@dougwilson It'd be unfortunate if you abandoned Mocha.
A question that needs answering is:  do we hold Mocha back by refusing to use any dependency (or dependency-of-a-dependency) which happens to use a caret in its package.json?
I don't think that's good for this project.  Do you agree?
Alternately, do we commit to patching old minor versions, and add the overhead of maintaining separate branches?  I'm almost certain we don't have enough resources to handle that.
Have you attempted to contact HP?

The latest version of HP Helion has an updated npm, I believe, but corporate upgrade timelines are not close; I would not expect corporate to upgrade for at least another 6 months, so until then, I have no option.

A question that needs answering is: do we hold Mocha back by refusing to use any dependency (or dependency-of-a-dependency) which happens to use a caret in its  package.json ?

It depends on how much you care about supporting your user base. I maintain dozens of modules and none of them have a caret in their dependency tree, not only because companies still need support for this, but also because having carets in your dependency tree makes it that much more likely mocha will break overnight by an update of some sub sub sub dependency.

If you look in your bundle file, you already have a dependency that is using the Node.js util.inherits. Why not just use that?

Anyway, I have provided as much feedback as I can, I believe: the issue is I can no longer install 2.3.0 on the same setup I could install 2.2.x on, which is a bit lame.

It depends on how much you care about supporting your user base.

Mocha supported NodeJS v0.4.x until recently.  Historically, I think we're pretty sensitive to backwards compatibility.  However, I am not sensitive to the needs of large, slow-moving corporations, simply because I have no experience with them.  I hope if this situation arises in the future, you can notify us.
Better yet, planning ahead will serve us both better.
So I think what I'd like to do is use util.inherits() for now and address your issue.
I don't anticipate any new dependencies before v3.0.0 that would involve carets.  I think we can safely put the kibosh on that.
Mocha v3.0.0 may or may not follow the same guidelines.
Sound fair?

If this sounds good, I'll release again tomorrow so you can check things out on Tuesday, because you won't be working tomorrow, right?? :smile:

That sounds fair, but also if you so desire to do nothing, that is also fair, because I leave the decision to you, as you are an owner of the module, and I am simply a random commenter :)
Thank you for your attention on this, and though I may be the first to bring it up, I bet many more developers lay in silence oj these kinds of issues, either simply sticking to some old version of mocha, using some other testing project, or simply not writing tests at all (because, well, who cares about testing).
The main thing about testing frameworks, imo, is that they need to have the largest backwards support of anything, because if you have some software that you want to support Node.js 0.6 with, well, you have to have a test runner that also functions under Node.js 0.6 (currently I use mocha 1.x for that).

What's tough is that we're pretty blind to knowing how many users are trying to run Mocha under NodeJS 0.6.  Basically all we can do is ask in here and our Google group, and if nobody pipes up (and nobody does), then we just figure nobody cares enough.
If you have any suggestions on how we can gather that information and make more informed decisions about when to drop support for x, I'm all ears.

If you have any suggestions on how we can gather that information and make more informed decisions about when to drop support for x, I'm all ears.

I agree it I a hard problem I have struggled with myself. Typically no one ever speaks up until they find their support is gone :/ I did a lot of Perl 5 open source years ago and the versions to support were obvious: all versions 5.6+.
When I started with Node.js back at the end of 2009 it was a mess and then 0.6 came out, it was painful, we upgraded, settled on 0.6 minimum, and it stayed that way for long enough that even yo this day there are supported OSes that come with 0.6.
The minimum is a hard choice these days, and personally I support 0.8 unless I can get away with also supporting 0.6, then I will. 0.10 has been out for s long and has nice things compared to 0.8 (like streams2) I am getting more and more tempted to start making 0.10 my go to lowest. The problem right now, though, is there is nothing above 0.10 except for 0.12, which has a broken v8 version, and io.js which does not have the name buy-in to make corporate even consider it (especially when it's still iffy about Node.js itself).
And I guess /rant 😁


HTML

HTML
##User story
As a bootcamp student
I want the prework note to be structured on a webpage
so I can easily find and read information
##Acceptence Criteria
GIVEN a prework study guide website
WEHN I visit the website in my web browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

added html file


SLING-6506 - Tracer - Fixed query/plan correlation when union'd queri…

…es are followed by 1+ queries
Resolves: https://issues.apache.org/jira/browse/SLING-6506
Example output post patch (addressing erring use-case in SLING-6505 ticket)

/cc @chetanmeh if you can sanity check this, would be appreciated.

With the upcoming migration to git this repository will be deleted. If the pull request contains data that should be re-submitted I suggest that you save the changes locally and resubmit them after the migration, which will likely happen on Monday the 9th of October.


Replace linear layout Orientation with new Direction.

Added SizeMode for configuring the layout size.
Add new sample demonstrating the layout directions and alignments.
Fixes: https://github.com/google/gxui/issues/21

googlebot - go home, you're drunk.

More context


int(q * (1/q)) == 0  where q is float64

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.9
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
darwin/amd64
What did you do?
https://play.golang.org/p/AImFqQXfJv
What did you expect to see?
2009/11/10 23:00:00 q            = 0.911765
2009/11/10 23:00:00 1/q          = 1.096774
2009/11/10 23:00:00 q*(1/q)      = 1.000000
2009/11/10 23:00:00 int(q*(1/q)) = 1  // << this line

What did you see instead?
2009/11/10 23:00:00 q            = 0.911765
2009/11/10 23:00:00 1/q          = 1.096774
2009/11/10 23:00:00 q*(1/q)      = 1.000000
2009/11/10 23:00:00 int(q*(1/q)) = 0

q*(1/q) == 1 prints false because this number is very close, but not quite
1, therefore converting it to and int truncates it to 0.
On Sun, 10 Sep 2017, 15:37 Sam Nguyen<EMAIL_ADDRESS>wrote:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.9
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
darwin/amd64
What did you do?
https://play.golang.org/p/AImFqQXfJv
What did you expect to see?
int(q * (1/q)) == 1
What did you see instead?
int(q * (1/q)) == 0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21824, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA7NfJvn4ds1KVaqZS2jA8ibQaM6gks5sg3WIgaJpZM4PSNt1
.

@davecheney so you're saying that when it's printed as a float, it is rendered as "1.00000" even though internally it may actually be something like "0.999999999999".  Then when it's converted to int it gets truncated down to 0 ?

Yup!
On Sun, 10 Sep 2017, 15:57 Sam Nguyen<EMAIL_ADDRESS>wrote:

@davecheney https://github.com/davecheney so you're saying that when
it's printed as a float, it is rendered as "1.00000" even though internally
it may actually be something like "0.999999999999". Then when it's
converted to int it gets truncated down to 0 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21824#issuecomment-328322022, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA_WJ_lRnKgg2hbgqV3PBUbpIAregks5sg3pMgaJpZM4PSNt1
.

https://play.golang.org/p/qk3RTsuvuy
On Sun, 10 Sep 2017, 16:09 Dave Cheney<EMAIL_ADDRESS>wrote:

Yup!
On Sun, 10 Sep 2017, 15:57 Sam Nguyen<EMAIL_ADDRESS>wrote:

@davecheney https://github.com/davecheney so you're saying that when
it's printed as a float, it is rendered as "1.00000" even though internally
it may actually be something like "0.999999999999". Then when it's
converted to int it gets truncated down to 0 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21824#issuecomment-328322022, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA_WJ_lRnKgg2hbgqV3PBUbpIAregks5sg3pMgaJpZM4PSNt1
.

@davecheney thanks for the quick response


Set TTL to any path

Coverage increased (+0.01%) to 67.934% when pulling 20d7e42c7b409cd091181d5f37dbc5364c39dcfd on bigreybear:ttl_to_any_path into 42448cb80d1f949bc9dd7f642441c5bcabcb8e93 on apache:master.


Fix various error handling issues in DRBG code

some error handling issues and a few data race issues,
resulting from my code review.
Will need to be back-ported to 1.1.1

This fixes https://github.com/openssl/openssl/pull/7507#issuecomment-433856970

Is it correct that only the fix in RAND_DRBG_set() is related to #7507 (comment)? (I didn't compile

Yes, the threading issue, is unrelated and can be viewed as independent.
At least that one will be able to cherry-pick.
I can split this PR, it's no bit issue.

See #7523

Please revisit the commit message, it needs some rewording: "various error handling issues" is not accurate anymore, since you split off #7525. (applies to #7517 and #7519).

So, I changed the commit message.
But, now I see a new error handling issue in rand_drbg_new:
    if (RAND_DRBG_set(drbg, type, flags) == 0)
        goto err;

 err:
    if (drbg->secure)
        OPENSSL_secure_free(drbg);
    else
        OPENSSL_free(drbg);

There is a resouce leak, if  drbg_ctr_init fails here,
        if (!EVP_CipherInit_ex(ctr->ctx_df, ctr->cipher, NULL, df_key, NULL, 1))
            return 0;

then ctr->ctx will leak.

Just a quick thought, without digging too deep into the sources: Maybe it would be enought to change the error handling as follows?
    if (RAND_DRBG_set(drbg, type, flags) == 0)
        goto err;

 err:
    RAND_DRBG_free(drbg);

Then the uninstatiate call should free the leaked resource.

I tried this,
diff --git a/crypto/rand/drbg_ctr.c b/crypto/rand/drbg_ctr.c
index 894c77d..795eb3f 100644
--- a/crypto/rand/drbg_ctr.c
+++ b/crypto/rand/drbg_ctr.c
@@ -412,7 +412,7 @@ int drbg_ctr_init(RAND_DRBG *drbg)
         if (ctr->ctx_df == NULL)
             return 0;
         /* Set key schedule for df_key */
-        if (!EVP_CipherInit_ex(ctr->ctx_df, ctr->cipher, NULL, df_key, NULL, 1))
+        //if (!EVP_CipherInit_ex(ctr->ctx_df, ctr->cipher, NULL, df_key, NULL, 1))
             return 0;

         drbg->min_entropylen = ctr->keylen;

and it produces a leak, as expected, but also a lot of crashes in drbgtest.c

Yes, I think your suggestion should work.

Merged to master as fb9c3ff.  Thanks!


fix default value of modal input field to be the form change reason

Issue #, if available:
Description of changes:
Fix for two different bugs:

Updating the configuration was not updating the configuration table histroy automatically.
When saving changes in admin config, the expected changeReason is now set

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

closing this PR in favor of https://github.com/awslabs/mlspace/pull/124 which includes these changes


Add support for system colors.

Closes https://github.com/mergesort/Recap/issues/7
Screenshots show the result of moving from static hex colors to system colors:

Before
After

I made some updates to simplify the code a little bit by not introducing a new type, made some property naming updates, and updated the documentation a bit. What do you think @jverkoey?

gah, lgtm!

🥳🥳🥳🥳


ci: Split up Common and Module GHA tests into individual jobs

Instructions

PR target branch should be against development
PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

Split up Common and Module JS tests into individual jobs so we can re-run easier.

Testing Plan

[ ] Was this tested locally? If not, explain why.
N/A - this is a github action change

Reference Issue (For mParticle employees only.  Ignore if you are an outside contributor)

Closes https://go.mparticle.com/work/SQDSDKS-5360

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use node IP in advertised.listeners

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #900

License
Apache 2.0

What's in this PR?
Use node IP in advertised.listeners when hostnameOverride and nodePortExternalIP are not set
Additional context
When "hostNameOverride" and brokerConfig.nodePortExternalIP are empty and NodePort access method is selected the NodePortNodeAdddressType defines the external listener Address that shall be used in the advertised.listeners property.
If NodePortNodeAddressType is not provided the first non empty address is used in the following order:

ExternalIP
InternalIP

Checklist

[ x] Implementation tested
[x ] Error handling code meets the guideline
[x ] Logging code meets the guideline
[x] User guide and development docs updated (if needed)

Thank you for your effort to do this!

Hey @balassai, since this PR has been opened for a while, can you provide some updates on this?

A very useful function. I hope to see it on the main branch immediately！！

Im going to fix this PR and we can merge it.

Merged into the master
cc @Jcodelove


How can I update the batch size in imagenet console application?

Imagenet console application is running with default batch size of 1. How can I update it to run with batch size of 2?
Thanks
Susmitha

Do you have any update for my above request?
Thanks
Susmitha


Error following Azure quickstart

Hi, I've been working on getting an instance of the CoCo operator up and running on AKS. Now running into an issue trying to run the sample application where the CCA has some gRPC issue. This is visible in the logs of the cloud-api-adaptor-daemonset pod:
(.venv) os@cdev:~/code/opaque/ai/scripts/operator/cloud$ k logs pod/cloud-api-adaptor-daemonset-t4qpr -n confidential-containers-system
+ exec cloud-api-adaptor azure -subscriptionid f4b97aef-ef10-4d81-88da-0f6544771ed2 -region westus -instance-size Standard_DC2as_v5 -resourcegroup coco-testing-rg -vxlan-port 8472 -subnetid /subscriptions/f4b97aef-ef10-4d81-88da-0f6544771ed2/resourceGroups/coco-testing-aks-rg1/providers/Microsoft.Network/virtualNetworks/aks-vnet-30557922/subnets/aks-subnet -securitygroupid '' -imageid /subscriptions/f4b97aef-ef10-4d81-88da-0f6544771ed2/resourceGroups/coco-testing-rg/providers/Microsoft.Compute/galleries/caaubntcvmsGallery/images/cc-image/versions/0.0.1
cloud-api-adaptor version v0.6.0-dev
  commit: b5b55f2f4f5fb1a725d378677dec0adb2361bc26
  go: go1.20.5
cloud-api-adaptor: starting Cloud API Adaptor daemon for "azure"
2023/07/05 19:20:54 [adaptor/cloud/azure] azure config {SubscriptionId:f4b97aef-ef10-4d81-88da-0f6544771ed2 ClientId:********** ClientSecret:********** TenantId:********** ResourceGroupName:coco-testing-rg Zone: Region:westus SubnetId:/subscriptions/f4b97aef-ef10-4d81-88da-0f6544771ed2/resourceGroups/coco-testing-aks-rg1/providers/Microsoft.Network/virtualNetworks/aks-vnet-30557922/subnets/aks-subnet SecurityGroupName: SecurityGroupId: Size:Standard_DC2as_v5 ImageId:/subscriptions/f4b97aef-ef10-4d81-88da-0f6544771ed2/resourceGroups/coco-testing-rg/providers/Microsoft.Compute/galleries/caaubntcvmsGallery/images/cc-image/versions/0.0.1 SSHKeyPath:$HOME/.ssh/id_rsa.pub SSHUserName:peerpod DisableCVM:false InstanceSizes:[] InstanceSizeSpecList:[]}
2023/07/05 19:20:55 [adaptor/cloud/azure] instanceSizeSpecList ([{Standard_DC2as_v5 2 8192  0}])
2023/07/05 19:20:55 [adaptor] server config: &adaptor.ServerConfig{TLSConfig:(*tlsutil.TLSConfig)(0xc000591b80), SocketPath:"/run/peerpod/hypervisor.sock", CriSocketPath:"", PauseImage:"", PodsDir:"/run/peerpod/pods", ForwarderPort:"15150", ProxyTimeout:300000000000}
2023/07/05 19:20:55 [util/k8sops] initialized PeerPodService
2023/07/05 19:20:55 [adaptor] server started
2023/07/05 19:27:32 [podnetwork] routes on netns /var/run/netns/cni-d814137d-01fc-ee42-fa58-152bd4cd7ce5
2023/07/05 19:27:32 [podnetwork]     default via <IP_ADDRESS> dev eth0
2023/07/05 19:27:32 [adaptor/cloud] stored /run/peerpod/pods/9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218/daemon.json
2023/07/05 19:27:32 [adaptor/cloud] create a sandbox 9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218 for pod nginx-6c48b665d4-t27qq in namespace default (netns: /var/run/netns/cni-d814137d-01fc-ee42-fa58-152bd4cd7ce5)
Using default instance type ("Standard_DC2as_v5")
2023/07/05 19:27:33 [adaptor/cloud/azure] CreateInstance: name: "podvm-nginx-6c48b665d4-t27qq-9bf252c2"
2023/07/05 19:28:19 [adaptor/cloud/azure] created VM successfully: /subscriptions/f4b97aef-ef10-4d81-88da-0f6544771ed2/resourceGroups/coco-testing-rg/providers/Microsoft.Compute/virtualMachines/podvm-nginx-6c48b665d4-t27qq-9bf252c2
2023/07/05 19:28:19 [adaptor/cloud/azure] podNodeIP[0]=<IP_ADDRESS>
2023/07/05 19:28:19 [adaptor/cloud] failed to create PeerPod: the server could not find the requested resource (post peerPods.confidentialcontainers.org)
2023/07/05 19:28:19 [adaptor/cloud] created an instance podvm-nginx-6c48b665d4-t27qq-9bf252c2 for sandbox 9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218
2023/07/05 19:28:19 [tunneler/vxlan] vxlan ppvxlan1 (remote <IP_ADDRESS>:8472, id: 555000) created at /proc/1/task/10/ns/net
2023/07/05 19:28:19 [tunneler/vxlan] vxlan ppvxlan1 created at /proc/1/task/10/ns/net
2023/07/05 19:28:19 [tunneler/vxlan] vxlan ppvxlan1 is moved to /var/run/netns/cni-d814137d-01fc-ee42-fa58-152bd4cd7ce5
2023/07/05 19:28:19 [tunneler/vxlan] Add tc redirect filters between eth0 and vxlan1 on pod network namespace /var/run/netns/cni-d814137d-01fc-ee42-fa58-152bd4cd7ce5
2023/07/05 19:28:19 [adaptor/proxy] Listening on /run/peerpod/pods/9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218/agent.ttrpc
2023/07/05 19:28:19 [adaptor/proxy] failed to init cri client, the err: cri runtime endpoint is not specified, it is used to get the image name from image digest
2023/07/05 19:28:19 [adaptor/proxy] Trying to establish agent proxy connection to <IP_ADDRESS>:15150
2023/07/05 19:28:19 [adaptor/proxy] established agent proxy connection to <IP_ADDRESS>:15150
2023/07/05 19:28:19 [adaptor/cloud] agent proxy is ready
2023/07/05 19:28:19 [adaptor/proxy] CreateSandbox: hostname:nginx-6c48b665d4-t27qq sandboxId:9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218
2023/07/05 19:28:19 [adaptor/proxy]     storages:
2023/07/05 19:28:19 [adaptor/proxy]         mountpoint:/run/kata-containers/sandbox/shm source:shm fstype:tmpfs driver:ephemeral
2023/07/05 19:28:19 [adaptor/proxy] CreateContainer: containerID:9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218
2023/07/05 19:28:19 [adaptor/proxy]     mounts:
2023/07/05 19:28:19 [adaptor/proxy]         destination:/proc source:proc type:proc
2023/07/05 19:28:19 [adaptor/proxy]         destination:/dev source:tmpfs type:tmpfs
2023/07/05 19:28:19 [adaptor/proxy]         destination:/dev/pts source:devpts type:devpts
2023/07/05 19:28:19 [adaptor/proxy]         destination:/dev/shm source:/run/kata-containers/sandbox/shm type:bind
2023/07/05 19:28:19 [adaptor/proxy]         destination:/dev/mqueue source:mqueue type:mqueue
2023/07/05 19:28:19 [adaptor/proxy]         destination:/sys source:sysfs type:sysfs
2023/07/05 19:28:19 [adaptor/proxy]         destination:/dev/shm source:/run/kata-containers/sandbox/shm type:bind
2023/07/05 19:28:19 [adaptor/proxy]         destination:/etc/resolv.conf source:/run/kata-containers/shared/containers/9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218-bf92b69ebdd1bae2-resolv.conf type:bind
2023/07/05 19:28:19 [adaptor/proxy]     annotations:
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-log-directory: /var/log/pods/default_nginx-6c48b665d4-t27qq_523fd2b9-f840-459a-89b0-162ddf7439a2
2023/07/05 19:28:19 [adaptor/proxy]         io.katacontainers.pkg.oci.container_type: pod_sandbox
2023/07/05 19:28:19 [adaptor/proxy]         io.katacontainers.pkg.oci.bundle_path: /run/containerd/io.containerd.runtime.v2.task/k8s.io/9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-id: 9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-cpu-shares: 2
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-cpu-quota: 0
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-namespace: default
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-memory: 0
2023/07/05 19:28:19 [adaptor/proxy]         nerdctl/network-namespace: /var/run/netns/cni-d814137d-01fc-ee42-fa58-152bd4cd7ce5
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-name: nginx-6c48b665d4-t27qq
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.container-type: sandbox
2023/07/05 19:28:19 [adaptor/proxy]         io.kubernetes.cri.sandbox-cpu-period: 100000
2023/07/05 19:28:19 [adaptor/proxy] getImageName: no pause image specified uses default pause image: registry.k8s.io/pause:3.7
2023/07/05 19:28:19 [adaptor/proxy] CreateContainer: calling PullImage for "registry.k8s.io/pause:3.7" before CreateContainer (cid: "9bf252c2d522a965576720ee9e74f0350d2dcbc6dd555d551a329f607199b218")
2023/07/05 19:28:19 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:19 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:20 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:20 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:21 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:23 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:26 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:32 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:28:45 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:29:11 [adaptor/proxy] CreateContainer: failed to call PullImage, probably because the image has already been pulled. ignored: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:29:11 [adaptor/proxy] PullImage fails: All attempts fail:
#1: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#2: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#3: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#4: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#5: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#6: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#7: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#8: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#9: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
#10: rpc error: code = InvalidArgument desc = grpc.Image service does not exist
2023/07/05 19:29:11 [adaptor/proxy] DestroySandbox
2023/07/05 19:29:11 [adaptor/proxy] shutting down socket forwarder
2023/07/05 19:29:51 [adaptor/cloud/azure] deleted VM successfully: podvm-nginx-6c48b665d4-t27qq-9bf252c2
2023/07/05 19:30:21 [adaptor/cloud/azure] deleted disk successfully: podvm-nginx-6c48b665d4-t27qq-9bf252c2-disk
2023/07/05 19:30:26 [adaptor/cloud/azure] deleted network interface successfully: podvm-nginx-6c48b665d4-t27qq-9bf252c2-net

I confirmed that both the webhook and CoCo runtime are installed on the cluster just fine. Any idea what could be going on here?

I just encountered the same issue in IBM Cloud. I am investigating it now.

In my case, I built the pod VM image based on a wrong kata-containers branch. So, the kata-agent included in my pod VM image did not support peer pods. After rebuilding the pod VM image with the Kata Containers CCv0 branch, the problem is gone.
@octaviansima  How did you prepare your Pod VM image and set AZURE_IMAGE_ID?
https://github.com/confidential-containers/cloud-api-adaptor/tree/main/azure#build-pod-vm-image

The following error typically indicates wrong kata-agent without the code for image pull. So looks like the kata-agent is not built from the CCv0 branch
code = InvalidArgument desc = grpc.Image service does not exist

Thanks for the help, using that branch fixed that error but now I'm running into
 Warning  FailedCreatePodSandBox  22m                   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: remote hypervisor call failed: rpc error: code = Unknown desc = creating an instance : parsing pod node IP "<IP_ADDRESS>": %!w(<nil>): unknown

This repeats indefinitely as K8s attempts to launch another pod until I hit a VM quota limit on Azure

Looks like the code responsible for that error message was changed recently @yoheiueda https://github.com/confidential-containers/cloud-api-adaptor/commit/2af7abc010a6e8305013e16fc8b7c6617b965d64

Looks like I introduced a bug in the Azure provider by #1018. Sorry for the inconvenience.
I raised PR #1151 to fix the problem.

@octaviansima The fix has been merged. Could you please try it again?

Deploy unencrypted images works, thanks! However running into the following error in the pod logs for an encrypted image (following the same workflow from the quickstart):
Failed to pull image "docker.io/osima/encrypt-testing:encrypted_busybox":
rpc error: code = Unknown desc = failed to pull and unpack image
"docker.io/osima/encrypt-testing:encrypted_busybox": failed to extract layer sha256:feb4513d4fb7052bcff38021fc9ef82fd409f4e016f3dff5c20ff5645cde4c02:
failed to get stream processor for application/vnd.oci.image.layer.v1.tar+gzip+encrypted: exec: "ctd-decoder":
executable file not found in $PATH: unknown

I was also running into an error related to being unable to fetch decryption keys, and now I'm trying to test that that was solved by setting AA_KBC and KBC_URI before creating the pod VM image with make image. However, this new error seems to be higher up on the stack...

@octaviansima
I looked at the image w/ skopeo inspect docker://docker.io/osima/encrypt-testing:encrypted_busybox. It looks like it's a different sha than the one you posted above. it seems to have correct coco annotations.
for an image to work it needs to be encrypted with coco_keyprovider, which is accessed by ocicrypt-rs via GRPC api (here is a snippet from a workflow doing this). Similarly at image pull image-rs will call out to attestation-agent via GRPC.
$ skopeo inspect docker://docker.io/osima/encrypt-testing:encrypted_busybox | jq '.LayersData[0].Annotations."org.opencontainers.image.enc.keys.provider.attestation-agent" | @base64d | fromjson'
{
  "kid": "kbs:///default/image-kek/17d19f0e-6447-4a96-8e9e-cd22761934b5",
  "wrapped_data": "yrBr+zk/iMbdZBK9v82wf61rANPvHANHBSQ3D3pJ0mtXk3lEbQzOAJ5wfXyDztlgHKFBl4wowWrX7VpS6xFG5J3zo2CR0noDB9E+cOm13JeouKaELbvB4xnwQf60gt6EUyfPdqI0rCnMbVON/aPpcuPZzZHIUv9xLhp69zmHswxCHtdWObOMzKuE77DnGasJvmezukSP1OTHlLZ8sMx+nFokF/8bxzCEVgCUL5dzQcb2s0Pgp1c1yg8YF4SB4A68tZ58pYvfdy6t9YomCuxQ4lU=",
  "iv": "8g4fUKE7z/mF6YwB",
  "wrap_type": "A256GCM"
}

@mkulke I believe I am encrypting with coco_keyprovider -- my ocicrypt.conf is as follows:
{
    "key-providers": {
        "attestation-agent": {
            "grpc": "<IP_ADDRESS>:50000"
        }
    }
}

and I do notice this output from the KBS cluster when I call skopeo copy ...  --encryption-key provider:attestation-agent:cc_kbc::http://<IP_ADDRESS>:8080:
infra-kbs-1          | [2023-07-11T22:14:30Z INFO  actix_web::middleware::logger] <IP_ADDRESS> "POST /kbs/v0/resource/default/image-kek/83a09951-16c9-4ea8-aee7-d56b9be149f6 HTTP/1.1" 200 0 "-" "-" 0.000599
infra-keyprovider-1  | [2023-07-11T22:14:30Z INFO  coco_keyprovider::enc_mods] register KEK succeeded.

I wonder if it has anything to do with the root error in the logs exec: "ctd-decoder": executable file not found in $PATH: unknown

hmm, it looks it's falling back to some default decryption option. I think you do need to set AA_KBC and KBS_URI. The image annotation itself would not know which KBS to talk to (it has kbs:///default set) and w/o setting the AA_KBC params, attestation-agent might not start.
The respective kata-agent code is here
It's not trivial to test the image-decr functionality. the ttrpc/grpc endpoint in attestation-agent is an implementation of the ocicrypt plugin to decrypt layers, but you can check whether the attestation-agent process has been started w/ the correct configuration options.
So I'd recommend starting a peer-pod w/ an unencrypted image and shelling into the podvm. The attestation-agent process should be running on the podvm, also for unencrypted images.

When I create a VM from the generated image (I can't figure out how to SSH into a pod VM), attestation-agent process isn't running at all. ExecStart found in found in /etc/systemd/system/attestation-agent.service (/usr/local/bin/attestation-agent --getresource_sock <IP_ADDRESS>:50001 ), yields
/usr/local/bin/attestation-agent: error while loading shared libraries: libtdx_attest.so.1: cannot open shared object file: No such file or directory

and when I download those libraries:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: clean previous getresource socket file

Caused by:
    socket address scheme is not expected', app/src/main.rs:29:39


travis-ci has stopped compiling since highj project moved to highj/highj

I gave travis-ci access to highj and changed the link in README, seems to work now.


Setting Icon

Please when will a settings or gear icon be included

It has already been included - cog


Improve HdfsPositionedReadUnderFileInputStream with a heuristic

The heuristic works as follows :

it starts with a pread, because a lot of times the client only does a single large read, and we want to benefit from pread in that case.
if there are certain number of sequential reads in a row, we switch to buffered read mode. In this mode, preads are serviced via pread calls, and read calls are services by read calls. A sequential read is defined as a read that is within a movement limit of the previous read. This is to guard against workloads such as read, skip(2), read, skip(3) etc.
any non-sequential read, we change back to pread mode.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9455/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9476/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9479/
Test PASSed.

@calvinjia @madanadit  PTAL,thanks

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9482/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9483/
Test FAILed.

alluxio-bot, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9484/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9485/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9492/
Test FAILed.

alluxio-bot, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9494/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9495/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9496/
Test FAILed.

alluxio-bot, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9497/
Test PASSed.

alluxio-bot, merge this please


Sort system?

ISet as in https://github.com/agda/agda/pull/5439
Set as in https://proofassistants.stackexchange.com/q/1486/32, https://jesper.sikanda.be/posts/agdas-new-sorts.html, https://github.com/agda/agda/issues/5667
The good old Type

See also https://github.com/agda/agda/blob/20e0d1dbf7fd1d5e8051219e52967398392242b9/src/full/Agda/TypeChecking/Substitute.hs#L1503-L1669

Related: #203


⚠ Bofrost.lu has degraded performance

In 16db1e0, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1192 ms

Resolved: Bofrost.lu performance has improved in 19db22b after 9 minutes.


[AF-1688] Automatically update version on merge (provided tests green)

:v:
/cc @zendesk/vegemite
Description
Automatically updates the version on merge (provided tests green).
Similarly to https://github.com/zendesk/zendesk_app_framework/pull/852, if one merges a PR to zat with message major, minor, or other, this change will:

bump major|minor|patch --no-bundle # to safely bump zat

References

JIRA: https://zendesk.atlassian.net/browse/AF-1688

Risks

(Medium) Might muddy up our versioning and release history for zat.

We are no longer using Travis, and ZAT is now in maintenance mode.
If we do want to eventually implement this, we will need to carefully decide how to do this with GH actions.


chore: upgrade tiledb to 0.16.5

Reviewers
Functional:
Readability:

Changes

add
remove
modify

gtg


[SPARK-43548][SS] Remove workaround for HADOOP-16255

What changes were proposed in this pull request?
The pr aims to remove workaround for HADOOP-16255.
https://issues.apache.org/jira/browse/HADOOP-16255
Why are the changes needed?

Because HADOOP-16255 has been fix after hadoop version  3.1.2. Spark support hadoop version: >= 3.2.2 or >= 3.3.1
Make code clean.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.

cc @attilapiros @viirya @sunchao @pan3793 FYI

Hmm .. does that mean Hadoop 3.2.0 won't work with this?

Hm, we currently build Spark w/ Hadoop 3.3.0 by default it might be fine but I would also ask some more looks e.g., @srowen @mridulm @tgravescs @dongjoon-hyun

Spark currently only works with Hadoop 3.3.1+ at the moment, as we discovered in https://github.com/apache/spark/pull/40847. We can potentially make it work with Hadoop 3.2.2+ if there's a workaround for https://issues.apache.org/jira/browse/SPARK-40039 which uses Hadoop API that only exist in Hadoop 3.3.1+. It definitely won't work with Hadoop 3.2.0 due to some shaded client related issues.

Thanks for clarification. Lgtm2


docs: add project mentions & a leaderboard

Link:
https://github.com/OBOS-dev/obos
Score (KVM+q35):
[uACPI][INFO]: successfully loaded 1 AML blob, 1704 ops in 47ms (avg 35526/s)
Description:
"Hybrid Kernel with advanced driver loading"
CPU:
Intel i5-4570 (4) @ 3.600GHz

Link:
https://gitlab.com/mishakov/pmos
Score (KVM+q35, -smp 4):
[uACPI Log 3] successfully loaded 1 AML blob, 1726 ops in 2ms (avg 703007/s)
Description:
Microkernel-based operating system written from scratch with uACPI running in userspace
CPU:
AMD Ryzen 7 7840S (8) @ 3.30 GHz

Link:
https://github.com/ilobilo/ilobilix
Score (KVM+q35):
[info] successfully loaded 1 AML blob, 1705 ops in 1ms (avg 1294442/s)
Description:
Yet another monolithic/modular Linux clone wannabe. Currently under a rewrite.
CPU:
AMD Ryzen 5 Pro 4640g (6/12) @ 3.7 GHz

Link: https://github.com/rayanmargham/NyauxKC
Score (KVM+q35):
1835 ops in 101ms (avg 18009/s)
Description:
Nyaux is a monolithic UNIX-like multi-architecture kernel
CPU:
Intel® Core™ Ultra 7 265K

Link: https://github.com/mathewnd/astral
Score (KVM+q35):
acpi: [info] successfully loaded 1 AML blob, 1705 ops in 0ms (avg 2411598/s)

Description:
Operating system written in C which aims be POSIX-compliant.

CPU:
Intel® Core™ i5-13600K

Link: https://github.com/menix-os/menix
Score (KVM+q35):
[    0.002290] [      0] acpi: successfully loaded 1 AML blob, 1708 ops in 1ms (avg 1359883/s)

Description:
A minimal and expandable Unix-like operating system.

CPU:
AMD Ryzen 7 7700X

Link: https://github.com/proxima-os/proxima
Score (KVM+q35):
uacpi: info: successfully loaded 1 AML blob, 1705 ops in 0ms (avg 4635028/s)

Description:
A monolithic Unix-like operating system

CPU:
AMD Ryzen 7 5800X


Select Auto/Lan/Cloud individually for devices

Hello,
Cannot found a way to force some devices to use "cloud" (because connected on another lan sub-network) while other devices use "lan"
Thanks

Just setup 3 entries


Could Task.mapN launch all tasks at the same time?

Hello,
loadD : Cmd Msg
loadD =
    Task.map3
        (\a b c -> a + b + c)
        (Http.get (apiA) decodeA |> Http.toTask)
        (Http.get (apiB) decodeB |> Http.toTask)
        (Http.get (apiC) decodeC |> Http.toTask)
        |> Task.perform Api

I just wrote something like the code above and I expected all tasks to begin at the same time since neither depend on each other, I found out that mapN are implemented using lambdas and andThen.
Can it be done (would anything break?), should it be done (will it cause regression in certain cases?), and should I attempt to implement an update? I'm also absolutely fine with a response like "I haven't had the time to research this yet", in which case I'll come back with the research done if wanted
Thanks!

The trouble is that Task is not just for HTTP. It is for any kind of effect, so if there were ever a way to read and write files, you would definitely care that certain things happened before or after other things. This is true with HTTP as well (e.g. with PUT requests) but it is a less obvious scenario because it is less common overall.
Point is, it would clash with the intended design of tasks. There are other ways to accomplish parallel requests with API changes, but at the moment, the best way is (1) to have the endpoint provide the data you need in one request or (2) to have multiple commands that ask for the data however is needed. I understand that this could potentially be more convenient though.
In the future, questions like this work best on https://discourse.elm-lang.org/

Oops, forgot about the forum. Thanks for the answer
On Tue, Sep 18, 2018, 20:52 Evan Czaplicki<EMAIL_ADDRESS>wrote:

The trouble is that Task is not just for HTTP. It is for any kind of
effect, so if there were ever a way to read and write files, you would
definitely care that certain things happened before or after other things.
This is true with HTTP as well (e.g. with PUT requests) but it is a less
obvious scenario because it is less common overall.
Point is, it would clash with the intended design of tasks. There are
other ways to accomplish parallel requests with API changes, but at the
moment, the best way is (1) to have the endpoint provide the data you need
in one request or (2) to have multiple commands that ask for the data
however is needed. I understand that this could potentially be more
convenient though.
In the future, questions like this work best on
https://discourse.elm-lang.org/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/elm/core/issues/990#issuecomment-422506559, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACW65n4F_uUp5nPZB_l8wFIcnKRRKRotks5ucUDogaJpZM4WugOk
.


update fluent pom template

Folder restructuring in azure-sdk-for-java
https://github.com/Azure/azure-sdk-for-java/issues/5682
PR for keyvault
https://github.com/Azure/azure-sdk-for-java/pull/5378

I will need to fix autorest.java version in azure-sdk-for-jave first, before this PR is merged and released.

1.1.0 to 1.2.0 is due to @yaohaizh 's version bump in https://github.com/Azure/azure-sdk-for-java/blob/master/pom.management.xml

It can be merged now.
autorest.java version in azure-sdk-for-java is temporary freezed.

@jianghaolu
Hi Jianghao. Would you take a look on this PR? This is on Peter's requirement to resturcture generated mgmt sdk under azure-sdk-for-java.
1.1.0 -> 1.2.0 is due to Yaohai's upgrading version. https://github.com/Azure/azure-sdk-for-java/blob/master/pom.management.xml#L9
../../.. -> ../../../.. is due to folder structure change.

../../.. -> ../../../.. is no longer needed.


NameError: name 'selective_scan_cuda_oflex' is not defined

Thank you for your excellent work, I would like to ask if CUDA 11.8 supports ‘selective_scan_cuda_oflex’. I am using ‘conda install pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 pytorch-cuda=11.8 -c pytorch -c nvidia’ to install the environment. However, ‘ERROR: Could not build wheels for selective-scan, which is required to install pyproject.toml-based projects’ appears. Is there another solution here?

Have you solve this issue? I meet the same error!

I meet ，too


Adds domain-drains implementation for isolation-groups

What changed?

Adds persistence operations to persist isolation groups for a domain
Adds domain operations to admin API

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 0187a672-cab7-4534-8f7e-8a4a2151fae9

72 of 143 (50.35%)  changed or added relevant lines in 11 files are covered.
100 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.02%) to 57.199%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/domain/handler.go
27
31
87.1%

common/persistence/nosql/nosqlplugin/cassandra/domain.go
6
10
60.0%

service/frontend/adminGrpcHandler.go
0
4
0.0%

service/frontend/adminThriftHandler.go
0
4
0.0%

common/types/admin.go
0
9
0.0%

common/isolationgroup/isolationgroupapi/domain-api-handlers.go
0
19
0.0%

service/frontend/adminHandler.go
0
27
0.0%

Files with Coverage Reduction
New Missed Lines
%

common/isolationgroup/isolationgroupapi/domain-api-handlers.go
1
0%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

common/peerprovider/ringpopprovider/config.go
2
81.58%

service/frontend/adminGrpcHandler.go
2
4.48%

service/frontend/adminThriftHandler.go
2
63.08%

service/history/execution/mutable_state_util.go
2
35.95%

service/history/task/transfer_standby_task_executor.go
2
86.51%

common/task/fifoTaskScheduler.go
3
84.54%

common/persistence/serialization/parser.go
4
63.91%

common/persistence/serialization/thrift_decoder.go
4
57.14%

Totals

Change from base Build 0187a1ce-5ec4-4cbe-8d48-2aace2c172a8:
-0.02%

Covered Lines:
86365

Relevant Lines:
150991

💛  - Coveralls


Multi part fields

In search/filter forms, usually it is need to allow used to choose a range. It not clear from examples how to place a word/symbol between fields. May you please such example to the docs.

or

I've implemented something like this in my private usage of SUI, but havent brought it into the main lib. labels between fields are quite effective.


Authorization doc tweaks

Fixes #2735 (and a few typos along the way).

It looks like you opened this PR from a fork that does not match your username. This disables GitHub's "allow maintainers to push to PR branch" feature. I'll close and recreate this so I can target the docs change to the 2.3.x branch instead of main.


SkywalkingUI property undefined bug

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?

Skywalking 6.1.0, Windows 10,  JRE8

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

download Skwwalking 6.1.0 from apache.
click start.bat
enter http://localhost:8080 on Browser, enter admin and admin
Click Dashboard and Alarm button,  there will be some errors like the following

dashboard-service.ts:92 Uncaught (in promise) TypeError: Cannot read property 'getEndpoints' of undefined
alarm.ts:69 Uncaught (in promise) TypeError: Cannot read property 'items' of undefined

I reckon, it may be caused by no services in OAP.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

These are small bugs of UI. cc @TinyAllen I think we need to support when service or service instance is not there.

I find the same problem ￼, and I can see nothing after running skywalking oap&ui .￼

same above issue i am getting "Cannot read property 'getEndpoints' of undefined"

I found this problem too, I can see nothing after running skywalking oap&ui .￼


Sign binary with a distribution account

“FBSnapshotsViewer-0.2.0” can’t be opened because it is from an unidentified developer.

Thanks, apparently I forgot about it 😄

@marcelofabri could you check the 0.2.1 it should be signed.

It seems it worked! Thanks 👍


fix: mount chainlit app to correct path

Signed-off-by: San Nguyen<EMAIL_ADDRESS>

Actually I don't think this is required. The chainlit app is already prefixing the router with the root path

@sandangel Thanks for the contrib San, could you describe the specific issue you're addressing?
I think @willydouhard has a good point; the the app already listens on the mount point through the root path configuration option: https://github.com/Chainlit/chainlit/blob/0d043cbdce1fd577e57d4526e8eae50700b9b157/backend/chainlit/server.py#L178

@dokterbob I have an existing fastapi app and it mount another sub app on a different path. After mounting this chainlit app my subapp that is mounting on another path is not working anymore. This will fix that issue. I tested it creating my own mount_chainlit function and it's working.

Okay, turned out that if I mount to app.mount(path, chainlit_app) then the rover api path will become: /root_path/root_path/auth/config instead of /root_path/auth/config. I wonder if we have a better way to handle this.

Okay, turned out that if I mount to app.mount(path, chainlit_app) then the chainlit api path will become: /root_path/root_path/auth/config instead of /root_path/auth/config. I wonder if we have a better way to handle this.

Yeah that's the issue I anticipated having looked at the code.
I have found, however, that mounting chainlit after defining my app endpoints avoids the problem you (and I!) ran into.
I feel that being able to app.mount() chainlit (so mounting it as a FastAPI/Starlette app within another FastAPI/Startlette) would be preferable as it would be a much better developer experience but perhaps there are reasons why it has been done in this way (maybe because of the way websockets work?).
@willydouhard Are there any reasons why you chose to implement mount_chainlit() over exporting a Starlette app for people to app.mount() to a subpath?

I'm closing this in favour of my issue where we can discuss steps towards implementing a more structural solution.
As for now, keep in mind that that mount_chainlit() should be called after any other endpoints are set up.

Thanks, I will go with the workaround for now and wait for the proper fix.


Uploading a diet calculator using python GA

Program designed to select certain ingredients from a set list, based on a goal of calories/proteins for a week, using a genetic algorithm.

@RockLee444 Thanks for contributing.


New stuff that's missing

Blocks

[ ] Rich Text (including rich_text_section, rich_text_list, rich_text_quote, rich_text_preformatted)
[ ] Video

Elements

[ ] Datetime Picker
[ ] Email Input
[ ] File Input
[ ] Rich Text Input
[ ] URL Input
[ ] Workflow Button

Composition Objects

[ ] Workflow object { trigger: Trigger }
[ ] Trigger object { url: string, ?customizable_input_parameters: array{ name: string, value: string } }

Have given you repo access. Please feel free to contribute at will. I am not actively contributing to OSS right now.

Hi @jeremeamia,
Thank you for giving me access to the repository! To familiarize myself with the package’s architecture, I’ve opened a pull request for the video block. If you have the time, I’d really appreciate it if you could review the code with the package’s structure in mind.
Once the PR is approved and merged, I’ll move on to creating the rich text block and element independently.
Thank you for your guidance and for making this project available to the community! 😊


Improving API docs for call effect

Stating that normal functions can be used as well (as per #515)

thanks both!


Added the link to CRM Sample Solution

We need add a sample solution file to this to help customers get started soon. I am following with Alan to close this as well

Hi @mazharmicrosoft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


fix: normalize root path for vite plugins compatibility

Description:
In #1497, vite plugin named @vanilla-extract/vite-plugin uses absolute path to judge if a file path is startswith root path, but file path is normalized but root path is not.
Resolved: #1497

We can add a example for this plugin to make sure it works


Add fix for removing many to many relationship

Add a hidden field above the many to many relationship select, to make sure the field is always submitted.
This fixes the problem if you would want to delete all relations to the other object and this wouldn't work.

This looks like a good fix for solving this issue. Can we get this merged for the next version @fletch3555?

Hi @fletch3555,
What do I have to do to get this pull request reviewed and merged?
Kind regards

@emptynick Can you have a look at this?

Also fixed in #3016.
Merged into 1.x


Error when triggering  completion

Describe the bug
When i hit control-x-o to trigger some completions (from LSP), I get a nvim-cmp popup that has no text in it and an error. The completions are still in the popup if i move through them with ctrl-n or ctrl-p, but you can't read what they say.
Which version of Neovim are you using?
NVIM v0.9.0-dev-505+ga6b05cb75
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/Users/runner/work/neovim/neovim/build/cmake.config -I/Users/runner/work/neovim/neovim/src -I/Users/runner/work/neovim/neovim/.deps/usr/include -I/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include -I/Library/Frameworks/Mono.framework/Headers -I/Users/runner/work/neovim/neovim/build/src/nvim/auto -I/Users/runner/work/neovim/neovim/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info

To Reproduce
Steps to reproduce the behavior:
omnifunc is set to vim.lsp.omnifunc

Trigger completion with ctrl-x-o

Expected Behavior
it works
Screenshots

Noice Log

Noice log

Tue Dec 13 20:16:07 2022
An error happened while handling a ui event
...im/site/pack/packer/start/nui.nvim/lua/nui/tree/init.lua:456: String cannot contain newlines
stack traceback:
[C]: in function 'pcall'
...ite/pack/packer/start/noice.nvim/lua/noice/util/call.lua:144: in function <...ite/pack/packer/start/noice.nvim/lua/noice/util/call.lua:143>
[C]: in function 'nvim_buf_set_lines'
...im/site/pack/packer/start/nui.nvim/lua/nui/tree/init.lua:456: in function 'render'
...im/site/pack/packer/start/nui.nvim/lua/nui/menu/init.lua:336: in function 'mount'
...k/packer/start/noice.nvim/lua/noice/ui/popupmenu/nui.lua:209: in function 'create'
...k/packer/start/noice.nvim/lua/noice/ui/popupmenu/nui.lua:192: in function 'show'
...k/packer/start/noice.nvim/lua/noice/ui/popupmenu/nui.lua:224: in function 'on_show'
.../packer/start/noice.nvim/lua/noice/ui/popupmenu/init.lua:75: in function 'handler'
.../site/pack/packer/start/noice.nvim/lua/noice/ui/init.lua:158: in function <.../site/pack/packer/start/noice.nvim/lua/noice/ui/init.lua:157>
[C]: in function 'xpcall'
...ite/pack/packer/start/noice.nvim/lua/noice/util/call.lua:149: in function 'safe_handle'
.../site/pack/packer/start/noice.nvim/lua/noice/ui/init.lua:87: in function <.../site/pack/packer/start/noice.nvim/lua/noice/ui/init.lua:73>
[C]: in function 'complete'
...stalls/neovim/nightly/share/nvim/runtime/lua/vim/lsp.lua:2152: in function 'handler'
...stalls/neovim/nightly/share/nvim/runtime/lua/vim/lsp.lua:1391: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>

noice config

require("noice").setup {
  cmdline = {
    enabled = true, -- disable if you use native command line UI
    view = "cmdline_popup", -- view for rendering the cmdline. Change to `cmdline` to get a classic cmdline at the bottom
    opts = { buf_options = { filetype = "vim" } }, -- enable syntax highlighting in the cmdline
    icons = {
      ["/"] = { icon = " " },
      ["?"] = { icon = " " },
      [":"] = { icon = ":", firstc = false },
    },
  },
  messages = {
    backend = "mini",
  },
  notify = {
    backend = "mini",
  },
  lsp = {
    message = {
      view = "mini",
    },
  },
  views = {
    cmdline_popup = {
      position = {
        row = 1,
        col = "50%",
      },
    },
  },
  routes = {
    {
      filter = {
        event = "msg_show",
        kind = "search_count",
      },
      opts = { skip = true },
    },
    {
      filter = {
        event = "msg_show",
        kind = "",
        find = "written",
      },
      opts = { skip = true },
    },
    {
      filter = { find = "Scanning" },
      opts = { skip = true },
    },
  },
}

I could not reproduce this, but probably did fix it. Let me know if the problem would still exist. If so, please provide a minimal.lua. see the wiki


Really exit Emacs? (y or n)

is there a variable i can set to avoid this message every time i exit emacs?

This is not a default. I suppose you use something like spacemacs ?
Try (setq confirm-kill-emacs nil). Not really related to this package ;)

i guess i meant to ask this on to the doom emacs team and accidentally posted here. thank you though, your fix works.


Spear Pillar Dialga/Palkia have their encounter type marked as "Sinjoh Ruins"

Fixed in bfaf2ac757be18a9a81e8d19fe264a3cc6f6f098 and released in v0.10.15.


rpc: add ExtendedTransaction type

In reth, we have quite a few places in the code where we are using WithOtherFields<Transaction> and this is quite cumbersome to manipulate and a little bit long to write/read.
https://github.com/paradigmxyz/reth/blob/05f862af41e74319ba00a1254d3a74192d304cce/crates/rpc/rpc/src/txpool.rs#L34
As a consequence an ExtendedTransaction could be useful for easier manipulations.

this type is on it's way out anyway https://github.com/paradigmxyz/reth/pull/9774


improvement Support grouping_sets rewrite when query rewrite by materialized view

Proposed changes
this depends on  https://github.com/apache/doris/pull/35897
Support grouping_sets, cube, rollup query rewrite by materialized view, if mv group by fields contains all the group by fields in query.
For example as following:
mv def

CREATE MATERIALIZED VIEW mv_1 BUILD IMMEDIATE REFRESH AUTO ON MANUAL DISTRIBUTED BY RANDOM BUCKETS >2 PROPERTIES ('replication_num' = '1') AS
select
o_orderstatus,
o_orderdate,
o_orderpriority,
sum(o_totalprice) as sum_total,
max(o_totalprice) as max_total,
min(o_totalprice) as min_total,
count(*) as count_all,
bitmap_union(
to_bitmap(
case when o_shippriority > 1
and o_orderkey IN (1, 3) then o_custkey else null end
)
) as bitmap_union_basic
from
orders
group by
o_orderstatus,
o_orderdate,
o_orderpriority;

the query following  can rewrite successfully by mv above

    select o_orderstatus, o_orderdate, o_orderpriority,
       grouping_id(o_orderstatus, o_orderdate, o_orderpriority),
       grouping_id(o_orderstatus, o_orderdate),
       grouping(o_orderdate),
       sum(o_totalprice),
       max(o_totalprice),
       min(o_totalprice),
       count(*),
       count(distinct case when o_shippriority > 1 and o_orderkey IN (1, 3) then o_custkey else null end)
       from orders
       group by
       GROUPING SETS ((o_orderstatus, o_orderdate), (o_orderpriority), (o_orderstatus), ());

if query group by fields is sub of mv group by fields, and the query aggregate function extends RollupTrait
it can also rewrites successfully, for example query as following.
this is applicable for CUBE, ROLLUP

       select o_orderstatus, o_orderdate,
       grouping_id(o_orderstatus, o_orderdate),
       grouping(o_orderdate),
       sum(o_totalprice),
       max(o_totalprice),
       min(o_totalprice),
       count(*),
       count(distinct case when o_shippriority > 1 and o_orderkey IN (1, 3) then o_custkey else null end)
       from orders
       group by
       GROUPING SETS ((o_orderstatus, o_orderdate), (o_orderdate),());

run buildall


Fixed "check" dependency

Missing check dependency throws error when<EMAIL_ADDRESS>is used inside custom package.
ReferenceError: Match is not defined
W20150918-13:01:49.705(6)? (STDERR)     at Schema.checkSchemaDefinition (packages/jagi_astronomy/packages/jagi_astronomy.js:344:8)
W20150918-13:01:49.705(6)? (STDERR)     at new Schema (packages/jagi_astronomy/packages/jagi_astronomy.js:356:25)
W20150918-13:01:49.705(6)? (STDERR)     at Object.Astro.createClass.Astro.Class (packages/jagi_astronomy/packages/jagi_astronomy.js:477:18)
W20150918-13:01:49.706(6)? (STDERR)     at Package (packages/ribbedcrown:astro-test/lib/model.js:1:1)

Thanks! Merged


bug:  Example outdated? (Interface changed?)

What version of fxamacker/cbor are you using?
v1.5.1
Does this issue reproduce with the latest release?

I did the following, directly from your example code:
        type Animal struct {
                Age    int
                Name   string
                Owners []string
                Male   bool
        }
        animal := Animal{Age: 4, Name: "Candy", Owners: []string{"Mary", "Joe"}}
        b, err := cbor.Marshal(animal)

What did you expect to see?
No compile errors
What did you see instead?
./client.go:16:25: not enough arguments in call to cbor.Marshal
        have (Animal)
        want (interface{}, cbor.EncOptions)

I was using v1 :(


Remove dead code

This was not used - I think a leftover after a refactoring

Codecov Report

Merging #50 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   58.77%   58.77%
=======================================
  Files          11       11
  Lines         638      638
=======================================
  Hits          375      375
  Misses        234      234
  Partials       29       29

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 3f71d07...1ccdbed. Read the comment docs.


Adjust getOffset output in Columnar classes for trimmed element blocks

ColumnarArray constructor stores the underlying element block in ArrayBlock after a getRegion invocation. getOffset method in this class does not account for this, and instead returns indices pointing to original element block (without the trimming).
We need to access these offsets in #901 ,  and incorrect offset values cause failures in cases where offsets[offsetsOffset] is not zero. Another approach is to account for this in accessors of this class.  But I think that making indices from getOffset consistent with getElementsBlock is a reasonable choice.

Merged. Thanks!


[interop][SwiftToCxx] add support for invoking methods in generic structs & unify function and struct generics

This adds support for calling methods in generic structs from C++.
Some prerequisite patches:

unifying the generic model between functions and structs in C++
Using a struct type traits for type metadata accessor to allow partial specializations for type metadata accessor for generic structs.

Properties, initializers and more testing to be added in future patches

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test macOS platform


Added better logging for datafile download failures.

TEST:

https://phabricator.optimizely.com/D17761 has already been tested 1-2-3
with WiFi turned off/on in midst.
8 iOS test suites PASSED


A few UI things

Hello, I've been playing around with this for a couple days and it's brilliant, really great idea.
Just a few UI things from a user standpoint (my own at least.)
Don't show the user's bubble until they make a choice or type input.
Don't show the input bar unless the answer requires textual input.
Some sort of indication the data is being sent at the end.
If you take a look at https://azumbrunnen.me/ the UI is brilliant and seems very human.
Thanks for releasing the code, beautiful work.

@tipcircle thanks for your feedback! Thoughts on your feedback.

We had logic before as you described, but it seemed to static as you only had the "thumbnail" showing before typing anything. So we need some kind of indication, we are up for suggestions.
This one as you mention in the other issue is related to filtering of input buttons, but I will implement some logic that removes input bar if all buttons are visible.
This is per. design up the implementor. But in v.0.9.3 there is a subtle indicator at the submit button showing a load state (spinning outline)

Agree, azumbrunnen is lovely!

Agree. Up for suggestions :)
It's important that a user is able to complete a CF form without having to remove your hands from the keyboard. Could be optional though.
We could look at more obvious indicators. Up for suggestions.

1: I guess I see this like FB Messenger bots. No bubble or user thumb until user sends a message. There are either answer buttons or text input, when the user sends, the bubble and thumb show. I think it depends on what the user is used to and most users have FB messenger and use it.
2: Optional would be cool.
3: Maybe a typing indicator then a "finished" or "thank you" message?
Again, this is just from my own standpoint as a user and some things I found confusing.

Another thing I wonder about is why not start the conversation at the top of the form container?

@tipcircle use cf-context for the form element if you wan't to append it into the form element.

Right, I mean have the "bot" opening message start at the top of whatever container it's in. Probably just a css thing?

@tipcircle correct, you can align elements to top by setting:
.. .conversational-form-inner{     justify-content: flex-start; }


Moderation Commands & Features

Planned moderation related stuff:

Ability to ban, kick, mute and warn other users (mod only)
Ability to see if the user has been banned from other servers (owner only)
Listing of banned/kicked/muted/warned users (everyone, configurable by administrators)

As said on the Hack Week server, there are a lot of good Moderation bots out there. There is no need right now to add the feature.

Reopening this because @RohanJnr wants to work on this.

ty


Add emit within dropzone

Tried adding a button within dropzone  and emit callback fn.
Callback/emit seems to work but it opens the file explorer when button is clicked.
Is there a way to unbind click listener from that child button?

Hi,
Could you show me some code snippet  that I can know the issue and  fix it?
Thank you.

Hi, This is the sample rough snippet, just typed this on top of my head.
<template>

    <input v-bind="getInputProps()" type="file" name="file" />

Upload here

    <Thumbnail class="upload-icon"/>
    <button @click="$emit('remove')"> x </button>  <== emit is triggered, but the open-file explorer pops-up

</template>

To imagine the use-case, once the file is dropped on the dropzone, it will have a thumbnail, and within that thumbnail, i have a "remove" button, which supposedly removes the file that was dropped.

Hi,
it may work by using @click.stop, like <button @click.stop="$emit('remove')"> x </button> .
Thanks.

It worked. Thanks!


Add a README file to the repo

Currently, this repo does not have a README file at its root. There should be a README file similar to the one in godot-demo-projects, and also, the README file here should link to godot-demo-projects and vice versa.

Closing as fixed. There are now README files in the root of the repo, the language folders, and each project.


Convert optional constants to enum

This PR fixes an issue where optional constants were always set. The change is to treat optional constants as single-valued enums.
Fixes https://github.com/Azure/autorest.java/issues/918

@weidongxu-microsoft - added a new flag optional-constant-as-enum


api-net-core-6-mongo-db

[Enter feedback here]

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

ID: 5240866d-d0a1-f0dd-7b2c-203e1d69bc4b
Version Independent ID: 83a5cb3b-23bc-4f0c-cd1c-1d1ffeb1131a
Content: Create a web API with ASP.NET Core and MongoDB
Content Source: aspnetcore/tutorials/first-mongo-app.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @wadepickett
Microsoft Alias: wpickett

@aarongabrielcy, hi, you may have forgotten to enter the feedback information above that details what this is about.  It was left blank.  Can you provide some more specific information?


Pivot() with data coming from a JSON and exporting current state of pivottable

First of all, this is a superb utility. A big Thanks for making this:)
Need help on these 2 matters:
So, i have an internal dashboard for my company

On the homepage i just want a summary, ie no customization options for the table( the customizable-PivotUI() tables will be under dedicated tabs).

So, on the home page i simply want a table with:

cols: ["Week"],
rows: ["category"],
aggregatorName: "intSum",
vals: ["live_listings"],
rendererName: "Table"

This is easily done in PivotUI.
But all i want is a simple table as shown in "simple.html" but data coming from JSON and not defined in the code within [ and ]. Is there a way to import JSON data with Pivot()?
And 2nd: Also, when somebody uses customizable options to reach particular state, is there a way by which  we can allow the user to download/export/save table in that format? i mean the data will obviously come from my own database, but i want user to be able to store the snapshot of the table(not a screenshot of course) into a CSV or any excel format?
Please help.
Thanks.

Glad you like this library!

for your first concern, yes, you can load JSON data via AJAX-style calls (see example: http://nicolas.kruchten.com/pivottable/examples/mps.html)

for your second concern, you can use the onRefresh parameter to capture the settings of pivotUI() for later re-renderings (see example: http://nicolas.kruchten.com/pivottable/examples/onrefresh.html)

Thank you for your response.
But there seems to be a mismatch in what i want and what it is producing.
My JSON data(see the highlighted values, in 1000s)

My code:

OUTPUT:

The values in the output have to be in 1000s right? Maybe it is still printing the count() and not intSum() is it?

Yes, you are not passing in an aggregator to pivot(). If you look at the Parameters page you will see that pivot() and pivotUI() do not take the same parameters. Specifically, pivot() does not take aggregatorName but rather aggregator which is a function, not a string. This page contains more information on Aggregators and the built-in ones and how to use them: Aggregators.

Thanks i referred to the parameters page but i am not able to figure out
what to pass exactly as a parameter.
Can you please give me a small example? what i want to do is:
Call the pivot()
Using the renderer intSum of data field C
Cols A
Rows B
I tried several things, none of which seem to work!
I also tried this:
I used PivotUI() instead of Pivot() and set all the default parameters
which works fine but i don't want to let the user to see all the drag and
drop functions for a particular page(it is supposed to have only the
summary). So can I simply Hide all the top rows and side columns with
options of renderers, fields, etc?
Also for my 2nd concern, i can implement the cookie to store the state of
the table but how do i export it to a CSV? i think this will empower your
utility to even larger extent, as often, we need to work on data on this
utility and then export the data and apply functions like linear regression
etc in excel. So how do i export the data?

We would love if you could help us.
On Sun, Jan 11, 2015 at 11:24 PM, Nicolas Kruchten<EMAIL_ADDRESS>
wrote:

Yes, you are not passing in an aggregator to pivot(). If you look at the
Parameters https://github.com/nicolaskruchten/pivottable/wiki/Parameters
page you will see that pivot() and pivotUI() do not take the same
parameters. Specifically, pivot() does not take aggregatorName but rather
aggregator which is a function, not a string. This page contains more
information on Aggregators and the built-in ones and how to use them:
Aggregators
https://github.com/nicolaskruchten/pivottable/wiki/Aggregators.
—
Reply to this email directly or view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/274#issuecomment-69503567
.

Okay, i finally figured out how to pass the parameters.
Can you tell me why this doesn't seem to work? It produces no output?
            <script type="text/javascript">
            $(function(){
                  $.getJSON("live_listings.json", function(mps) {
                        $("#output").pivot(mps, {
                                  cols: ["Week"],
                                  rows: ["cat"],
                                  $.pivotUtilities.aggregators.intSum(["properties_added"])
                     });
                });
             });
        </script>

Your javascript is not valid... on the line which contains $.pivotUtilities.aggregators.intSum(["properties_added"]) you need to prepend aggregator:
:)

Tried that already. Produces no output with intSum() but with Sum() it does have floating values.

OK. You're mixing up aggregators and aggregatorTemplates.
Here's the line you need if you want to use the predefined english-locale "Integer Sum":
aggregator: $.pivotUtilities.aggregators["Integer Sum"](["properties_added"])

If you want to be able to control formatting you can use:
aggregator: $.pivotUtilities.aggregatorTemplates.sum()(["Age"])`

while passing in a formatting function into the sum() call to e.g. get integers only.
The "Integer Sum" aggregator is itself defined using the sum() aggregator template.

Got it. So sorry, goofed it up completely. Again thanks, this is such a good library for customization.

No sweat. Is everything working now? The aggregator system is very flexible but pretty confusing as well, so don't feel bad.

Yes, All that part is sorted but i recently realized something that i fee is a bug.
So i have this large data set which i was viewing date-wise and hence obviously table had a huge number of rows.
When i changed my renderer from  table to  line chart , i guess the div was now re-sized to the table size. This isn't desirable is it? I mean, the graph dimensions(in terms of pixel area) should remain the same, only the table should grow and shrink?
I guess a workaround will be to re-size the renderer area div at the start of each function call for each renderer

Yes, All that part is sorted but i recently realized something that i fee is a bug.
So i have this large data set which i was viewing date-wise and hence obviously table had a huge number of rows.
When i changed my renderer from  table to  line chart , i guess the div was now re-sized to the table size. This isn't desirable is it? I mean, the graph dimensions(in terms of pixel area) should remain the same, only the table should grow and shrink?
I guess a workaround will be to re-size the renderer area div at the start of each function call for each renderer

OK, I'm going to re-close this issue so that you can create a new one... I'm trying to keep one issue per issue :)
Also, I'm afraid that I don't understand the new problem you're reporting... In the new issue, can you please try to re-explain, perhaps with a screenshot?
thanks.


ListItemTag with MD3 Theme

Fixes 4372 .

Changes proposed in this Pull Request:

Update ListItemTag
Copy doc file in MD3 Theme

Screenshots / Screen Recording (if applicable)

To Test:

cd MD3
run yarn start ios

Any specific feedback you are looking for?

why did the list item tags span full width in your screenshot?

why did the list item tags span full width in your screenshot?

Not sure I think it is because I am wrapping it inside the Text component, let me debug more and fix it.

why did the list item tags span full width in your screenshot?
Fixed. Please check.

visually seems fine (didn't check the code)

@JeffGreiner-eaton  or @daileytj  can anyone please review these changes on Android?

looks good on android

looks good on android

Thank you!!


Always open this document...

The check box 'Always open this document with this application' does not do anything.
If checked then the file doesn't open and there is no effect on the file also. Tried with .txt file

Please retry with the latest experimental ISO, does the issue persist there?

Yes it exists with the latest build also
On Sun, 18 Jun 2023, 17:26 probonopd, @.***> wrote:

Please retry with the latest experimental ISO, does the issue persist
there?
—
Reply to this email directly, view it on GitHub
https://github.com/helloSystem/launch/issues/25#issuecomment-1596116884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAHHHSI3HBGGDHSYR3EIPTXL3UFPANCNFSM6AAAAAAZK25PT4
.
You are receiving this because you authored the thread.Message ID:
@.***>

It will be interesting to see whether https://github.com/helloSystem/launch/commit/c13df719aca9ff990bfe45cc5b64d03ae8b65559 fixes this.
ISO build 0H348 and later should have it.


Steam avatar doesn't update on steamdb when changed on steam

Steam avatar doesn't update on steamdb when changed on steam

It basically doesn't update avatar for the current session whenever you sync your profile.

I made it update avatar for your session straight away whenever your profile gets synced.


Auto Escape Keywords like "end"

Describe the bug
end is interpreted as keyword by postgres
To Reproduce
Create an entity with a field called "end"
Expected behavior
It works

fixed in release 0.6.1


Trying to help with debugging...

So yesterday I build the app from source and run it via npm in Devmode.
Everything is running fine until 99.91% sync, then Memory usage spikes and hardfaults rise, at one point performance monitor showed over 33GB commited memory. My system freezes completely (16GB DDR4, Ryzen 9 3900X) for a while and console becomes red.

I created a Lighthouse Report in which vendor.js and the unreliable "unload" event listener raises attention, since I see vendor.js in all the app logs uploaded here.
DeFI_Lighthouse.zip
I hope it contributes to debugging in someway.

Hi @Kracht , thanks for your insightful feedback & logs, could you send this to Windows: sync stops at 99%+ > node is disconnected , we would like to keep same issues in one thread. Thank you.

Hi @Kracht , thanks for your insightful feedback & logs, could you send this to Windows: sync stops at 99%+ > node is disconnected , we would like to keep same issues in one thread. Thank you.


Failed to resolve assembly: 'FFImageLoading.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'

Hi there!
I created a brand new Xamarin.Forms (<IP_ADDRESS>7436) .net Standard Project. Created a Content Page, installed FFmageLoading.Forms, FFImageLoading.Svg.Forms, FFImageLoading.Transformations. Version is 2.3.6. Using Visual Studio 2017 15.6.7
I do just have an iOS Project, showing the References correctly (did unload the Android Project for now since I just want to build it sometime later). The iOS App works in general (LivePlayer / Simulator).
Created a ContentPage and added this:
xmlns:ffimageloading="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms
But I can't get it to work - I always get this error:
Failed to resolve assembly: 'FFImageLoading.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
I tried to change the assembly name to Xamarin.FFImageLoading.Forms (since that's the referenced assembly name) but it makes no difference.
I did add the following line to AppDelegate.cs:
FFImageLoading.Forms.Touch.CachedImageRenderer.Init();
Directly using CachedImageRenderer.Init(); did not work - had to state it fully qualified ...
I don't understand what I'm doing wrong here - is there a way to help?
Thanks in advance!
P.S: Or is this (just) an issue when using LivePlayer (using the most recent from the beta program ...)? Because the build succeeds but once I try it in Live Player, I get the above mentioned error?!

Did you try newest prerelease version?

Excellent! It works now - thank you!

I facing this issue with version <IP_ADDRESS>2.
How to fix it!
Thank!


Updated WebSocketServer to be able to stop and start multiple times.

Handle unexpected RuntimeExceptions, without shutting down the whole
server.

right now there are too many changes/commits on this pull requst. Cant get a good commit out of this


Getting a wired behavior  bug with activity indicator

When I load my app and if go to my photo tabs which loads images from my redux store activity indicator is showing but does not go away attached gif showing the issue

I don't think it's getting the correct events

Make sure you rebuild the app if you just updated. I'll try out something like this and see if I have any issues.

Yes I rebuild the app but still getting this issue

Same here

+1

+1

Same here. I tried to debug it some more.
These are the events that are dispatched when:
I load the image for the first time:

onLoadStart - once
onProgress - multiple times
onLoad
onLoadEnd
the indicator disappears

When I reload the app and view the image: - This image is loaded from cache I assume

onLoadStart - once
the indicator stays on screen

Strange behavior:

When I add the onLoadEnd event with an empty handler like so: onLoadEnd={() => {}} the indicator does disappear when I re-view the image.

Proposed solution
Maybe it is a good idea to make the api/event dispatching consistent by also firing the onLoadEnd, and the onLoad when appropriate, event when the image is loaded from cache. These changes will also benefit components and issues like: https://github.com/oblador/react-native-image-progress/issues/55
Let me know what your opinions are so we can fix this :)

Any update on this?  @DylanVann

@DylanVann Yesh this still exists. Especially on IOS 9, the spinner wont just go away even if I add the empty onLoadEnd{() => {}}.
P

@AlmogRnD  Try this. Somebody make a PR
https://github.com/DylanVann/react-native-fast-image/pull/74/files
Also can you suggest something on how to implement placeholder images (on similar lines as loading spinner)

my solution
<FastImage
  key={source && source.uri}
  source={source}
  style={StyleSheet.absoluteFill}
  onLoadStart={() => this.onLoadStart()}
  onProgress={e => {}}
  onLoad={() => this.onLoad()}
  onError={() => {}}
  onLoadEnd={() => {}}
/>

Fixed with https://github.com/DylanVann/react-native-fast-image/pull/74 ,
Sorry it took so long.


feat(DataTable): add support for object paths as keys

Sometimes the required data to show in a DataTable are located in deep levels of an object; currently, this component requires to use direct keys to a certain value, with this PR you can use object paths to access deep properties of an object avoiding to re-format it.
<DataTable
  rows={changes}
  headers={[
  {
    key: 'service',
    header: 'Service',
  },
   {
    key: 'baseline',
    header: 'Baseline',
   },
   {
     key: 'data.previousValue',
     header: 'Previous value',
   },
   {
     key: 'data.updatedValue',
     header: 'Updated value',
   },
]}

Hi @devniel! 👋 Thanks so much for taking the time to make this PR 😄
With respect to added functionality, we try to suggest that one creates an issue first just to make sure it's a direction we want to take with the project, or that it aligns with future functionality of a component.
DataTable in particular is one that is likely to see changes alongside the new APIs coming out of React that could change its component API. Would you mind sharing more details about how solutions for this in user-land might not work out well? Just trying to understand more about the motivation here 👍

Hi,
Sorry, I'll create an issue next time.
My motivation was to avoid re-formatting my object data just to fulfill the DataTable requirements, I also realized that having the data with many levels of deep makes it easy to understand when checking the headers, maybe in the future it will be useful when having sub columns.
<DataTable
 rows={changes}
 headers={[
 {
   key: 'service',
   header: 'Service',
 },
  {
   key: 'baseline',
   header: 'Baseline',
  },
  {
    key: 'col1.subcol1',
    header: 'Previous value',
  },
  {
    key: 'col1.subcol2',
    header: 'Updated value',
  },
 {
    key: 'col1.subcol3',
    header: 'Another value',
  },
]}

No problem at all 😄
So, if I understand correctly, the main thing here is around ergonomics when passing props? In other words it'd be preferable to use key to describe access in an object versus having the consumer call map to transform for DataTable?

Hi @joshblack, yes, exactly that. Sometimes the data ready to be shown are already organized in deep levels in an object and I can't imagine 'flatting' my object with keys like categoryA__subcategoryA__propertyC just for DataTable.

@devniel do you have an example of a good nested structure for this use-case? Would love to take a look and add it to Data Table docs if appropriate. Just wanted to see what kind of options we have here for these types of data 😄
As an aside, thanks so much for your patience going through this thread! 🙏 Really appreciate your time and involvement here!

The Github events API results have at least two levels depth in its JSON structure : https://api.github.com/events
It could be used like this:
<DataTable
  ref={(e) => {this.dataTable = e}}
  rows={data}
  headers={[
    {
      header: 'Actor ID',
      key: 'actor.id',
    },
    {
      header: 'Actor Login',
      key: 'actor.login',
    },
    {
      header: 'Actor URL',
      key: 'actor.url'
    },
    {
      header: 'Repository Name',
      key: 'repo.name',
    },
    {
      key: 'repo.id',
      header: 'Repository ID'
    },
    {
      key: 'repo.url',
      header: 'Repository URL'
    },
    {
      key: 'type',
      header: 'Event'
    }
]

But having it in one level is kind of simple, I was playing and added a way to use subheaders
<DataTable
  ref={(e) => {this.dataTable = e}}
  rows={data}
   headers={[
    {
      header: 'Actor',
      subheaders: [
        {
          header: 'Id',
          key: 'actor.id'
        },
        {
          header: 'login',
          key: 'actor.login'
        },{
          header: 'url',
          key: 'actor.url'
        }
      ]
    },
    {
      header: 'Repository',
      subheaders: [
        {
          key: 'repo.name',
          header: 'Name'
        },
        {
          key: 'repo.id',
          header: 'Id'
        },
        {
          key: 'repo.url',
          header: 'URL'
        }
      ]
    },
    {
      key: 'type',
      header: 'event',
    }
  ]}

preview: https://kind-noether-f23dd7.netlify.com/
source: https://github.com/devniel/datatable-example/blob/master/src/App.js
*I have used the data directly, otherwise I would have had to create a rows array with one-level depth objects full of camelCase properties.

@devniel at one point does it become cumbersome to map a data object to the flat structure required right now by Data Table?

Apart from traversing my data and creating another object with the flat structure, it's not a problem, object-path could also be used in that mapping making it easier.

@devniel this might be something that we'll want to keep in user-space for a bit with the changes to v10 coming. Definitely worth revisiting down the road, but for now we'll try and keep this area minimal.
Thank you so much for taking the time to make this PR, we really appreciate your time and effort here 🙏 Going to close this for now, but we should definitely take a look at this again in the future 👍