Credit Transactions | Revise sentence on View screen for Draft and Reviewed PVRs |1|

https://trello.com/c/cP2F7w2L/760-credit-transactions-revise-sentence-on-view-screen-for-draft-and-reviewed-pvrs-1
This card is to remove the last portion of the sentence on the View screen for PVRs that have a status of Draft or Reviewed.
For PVRs, we want to remove the ", effective on Director's approval." portion of the sentence on the View screen. This part of the sentence really only makes sense for Credit Transfer Proposals, and is primarily used to inform fuel suppliers that the transfer does not occur until the Director approves it. The PVR creation and review process in TFRS is an internal one; therefore, it is not necessary to state that they will be "effective on Director's approval".
Example screenshot attached.
Note: we still want the sentence to provide the actual approval date once it has been approved by the Director. Using the attached screenshot as an example, once the Director approves the Part 3 Award, we want the sentence to say:
"An award of 4,000 credits earned by TFRS Fantastic Fuels for the completion of a Part 3 Agreement milestone(s) has been approved, effective Month DD, YYYY."

 Credit Transactions | Revise sentence on View screen for Draft and Reviewed PVRs |1|


Model popup using AJAX to show current contents and icon change

Laravel Version: 9
PHP Version: 8.0.9
Laravel-admin: 1.8.17

Description:
I am using Grid Column Model to load Related Notes, but unfortunately it has 2 issues

Icon for Column is always Clone icon, there is no way to change it

All popup data is loaded with page load, how to load it using AJAX on Icon click, so latest records can be shown.

Steps To Reproduce:
`$grid->column('notes',  __('Notes'))->display(function ($title, $column) {
$notes = $this->notes()->with('admin:id,name')->take(10)->orderBy('id','desc')->get()->map(function ($note) {
//return $note->only(['id','description','admin_user_id' , 'created_at']);
return [$note->id,nl2br($note->description ."\n\r\n\rBy ".$note->admin->name ." @ ".date("d/m/Y h:i A",strtotime($note->created_at)))];
});
//  dd($notes->flatten()->toArray());
// Otherwise it is displayed as editable
if(count($notes)>0){ //Show Icon, and show Notes in model popup if count greater than 0
return $column->modal('Latest Notes', function ($column) use($notes) {
return new Table(['ID', 'Description'], $notes->toArray(),['table-striped']);
//return new Box('No Information', 'There is no note to show');
});
}else{
  return "-";//Donot show Icon
}

});`

Was curious about this too and here's what I've found. $grid->column('files')->model($title, $callback = null); accepts two arguments, and the $callback one can be an actual \Closure that returns a string/Renderable (as in the docs' example), or a name of the class that implements \Illuminate\Contracts\Support\Renderable.
In the last case, no render will be called during the Grid render, but ajax load using admin.handle-renderable will be made on the icon click.
It will pass to your Renderable the "key" (primaryKey / id) of the current row, and everything else is just similar to what you do in the callback with tiny adjustments.
For example to c
class PostFilesRenderable implements \Illuminate\Contracts\Support\Renderable {
    public function render() {
        $files = File::query()->select(['id', 'path'])->where('post_id', request('key'))->get()->map(function() {
        });
        $table = new \Encore\Admin\Widgets\Table(['ID', 'Path'], $files->toArray());
        return $table->render();
    }
}

Your controller's grid:
$grid->column('files')->model('Files', PostFilesRenderable);

As to "fa-clone" icon change - it's hardcoded into resources/views/components/column-modal.blade.php. But you can override this view if you really need it, as described here.
In your app/Admin/bootstrap.php:
app('view')->prependNamespace('admin', resource_path('views/vendor/laravel-admin'));

You need to follow the same dir structure, so for admin::components.column-modal (from Encore\Admin\Grid\Displayers\Modal@display) you need to create file in views/vendor/laravel-admin/components.column-modal with the same content as in original + your modifications.
Example of the first 3 lines edited:
@if ($value == 0)

          {{ $value }}

@else
     ---
@endif

OR you can just simply don't display anything for the column if you don't want to, depending on the original value:
$grid->column('files')->model('Files', PostFilesRenderable)
    ->display(function (string $c, Grid\Column $column) {
        return $column->getOriginal() ? $c : '---';
    });

Hi @alexoleynik0 thanks for these directions, it help me in achieving goal. I was busy, when you suggest. Today i spare time to implement it.
but there are a couple of things that i face, so i wants to share, it may help others.
1. $grid->column('files')->model('Files', PostFilesRenderable);
 here model should be modal

2. modal accept class i.e. instead of PostFilesRenderable we have to write PostFilesRenderable:class
regarding icon instead of copying view i use the struct you provided to control display
$grid->column('files')->model('Files', PostFilesRenderable)
    ->display(function (string $c, Grid\Column $column) {
        return $column->getOriginal() ? $c : '---';
    });

in my case for notes i also count notes available as notes_count, as follow
$grid->column('notes_count',  __('Notes'))->modal(__('Notes'),ShowNote::class)
  ->display(function (string $c, Grid\Column $column) {
  if($column->getOriginal()==0){ //if notes_count is 0
    return '-';
  }
        return str_replace('fa-clone','fa-eye',$c); //replace icon with your icon of choice
    });

Thank you for your help.


VSCode 1.83.0-1695954371 major graphical glitch (on Linux with AMD GPU)

Does this issue occur when all extensions are disabled?: Yes

Package: code-insiders
Version: 1.83.0-1695954371
Priority: optional
Section: devel
Maintainer: Microsoft Corporation<EMAIL_ADDRESS>Installed-Size: 382 MB
Provides: visual-studio-code-insiders

OS: Pop!_OS 22.04 LTS x86_64
Host: MS-7D53 1.0
Kernel: 6.4.6-76060406-generic
CPU: AMD Ryzen 5 5600X (12) @ 3.700GHz
GPU: AMD ATI Radeon RX 6700/6700 XT / 6800M
Memory: 32007MiB

Steps to Reproduce:

Open VSCode Insiders

Side-by-side comparison:

With code-insiders --disable-gpu:

Please see https://code.visualstudio.com/updates/v1_82#_update-highlights-for-chromium and try the deletion of GPU cache it recommends.

That worked for me. Thanks!

https://github.com/microsoft/vscode/issues/190437


support please

ISSUE TYPE

Bug Report

SUMMARY

ANSIBLE-NAVIGATOR VERSION

CONFIGURATION

LOG FILE

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

ADDITIONAL INFORMATION

@BosskurMH No info here, what can we help with?


Allow Flux to create PodMonitors.

Since we allow Flux to create ServiceMonitors, there is no reason not to allow PodMonitors as well.
On my local module (created before you added the eks-namespaces module here), I also allow AlertManagers and Prometheuses, but I don't know whether you want to do that here.

I did not know those existed ^^
https://github.com/coreos/prometheus-operator/issues/2738


⚠ Secret Website 3 has degraded performance

In e71850c, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 6176 ms

Resolved: Secret Website 3 performance has improved in 2ed58d6 after 9 minutes.


Issue sending data correctly over USART in debug mode

I'm seeing a weird problem when I try to interface two STM32 Nucleo boards using a UART.

The application consists of a server and a client that sends strings to each other in non-blocking mode. (https://github.com/titanclass/embassy-start)

I have wired up the boards with common ground and just an RX/TX cable. It's one Nucleo H7432zi board and one F767zi board.

I'm using the USART2 and DMA.

When running in debug mode I see sporadic errors, sometimes I see the server receiving the string with a leading zero. Sometimes the client receives nothing.
I have been using the trace debug level to check what data that goes in and out, and the receiving side seems to get a bit of garbage, the data looks fine when sending it.
When running in release mode, or in blocking mode, I have not seen these errors.
It feels like some timing error or some baud rate error.
Server:

Client:

One thing that was discovered after posting this. On the server-side, the buffer used for RX and TX was the same, when using a separate buffer it seems to work reliably in debug mode also.

Make sure you're configuring RCC to clock from HSE. The default is HSI, which is less precise which can cause issues if there's differences between the two boards, as UART is asynchronous.
Can you check with a logic analyzer on the wire, to see if the data looks OK or not?

@Dirbaio I will have a look at how to configure the RCC to clock from HSE.
I have unfortunately no access to a logic analyzer at this point.


Pub/Sub has no way to track errors from the subscriber thread.

Presently if you subscribe and an error occurs in the consumer's thread there's no way to respond to the error on the main thread.
It just logs the exception and hangs:
Exception in thread Consumer helper: consume bidirectional stream:
Traceback (most recent call last):
  File "/Users/jonwayne/.pyenv/versions/3.6.0/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/Users/jonwayne/.pyenv/versions/3.6.0/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/jonwayne/workspace/python-docs-samples/pubsub/cloud-client/env/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_consumer.py", line 248, in _blocking_consume
    self._policy.on_exception(exc)
  File "/Users/jonwayne/workspace/python-docs-samples/pubsub/cloud-client/env/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/policy/thread.py", line 135, in on_exception
    raise exception
  File "/Users/jonwayne/workspace/python-docs-samples/pubsub/cloud-client/env/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_consumer.py", line 234, in _blocking_consume
    for response in response_generator:
  File "/Users/jonwayne/workspace/python-docs-samples/pubsub/cloud-client/env/lib/python3.6/site-packages/grpc/_channel.py", line 363, in __next__
    return self._next()
  File "/Users/jonwayne/workspace/python-docs-samples/pubsub/cloud-client/env/lib/python3.6/site-packages/grpc/_channel.py", line 357, in _next
    raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.NOT_FOUND, Resource not found (resource=my-subs).)>

It seems that consumer.open should return a future. This future could be used to both block the main thread to consume message and pass through exceptions.
So the current sample:
def receive_messages(project, subscription_name):
    """Receives messages from a pull subscription."""
    subscriber = pubsub_v1.SubscriberClient()
    subscription_path = subscriber.subscription_path(
        project, subscription_name)

    def callback(message):
        print('Received message: {}'.format(message))
        message.ack()

    subscriber.subscribe(subscription_path, callback=callback)

    # The subscriber is non-blocking, so we must keep the main thread from
    # exiting to allow it to process messages in the background.
    print('Listening for messages on {}'.format(subscription_path))
    while True:
        time.sleep(60)

Could instead be:
def receive_messages(project, subscription_name):
    """Receives messages from a pull subscription."""
    subscriber = pubsub_v1.SubscriberClient()
    subscription_path = subscriber.subscription_path(
        project, subscription_name)

    def callback(message):
        print('Received message: {}'.format(message))
        message.ack()

    future = subscriber.subscribe(subscription_path, callback=callback)

    print('Listening for messages on {}'.format(subscription_path))
    # The subscriber is non-blocking but returns a future that allows us
    # to block the main thread and allow messages to process in the
    # background. This effectively blocks forever unless an error
    # occurs in the subscriber thread in which case it'll be
    # re-raised here.
    future.result()

I think I agree with this but it is worth asking: Is there any situation where there are multiple exceptions? Futures can only have single resolutions.
I do think it is fine to have a future that never has a result (or only gets one if you explicitly close), but I am operating under the assumption that when the exception occurs, we will cause that thread to exit and set the exception on the future.

I think that any exception that bubbles to the top of the consumer thread
is a thread ending exception, so there should be only one.
The rest of your comment matches my understanding.
On Mon, Aug 28, 2017, 10:07 PM Luke Sneeringer<EMAIL_ADDRESS>wrote:

I think I agree with this but it is worth asking: Is there any
situation where there are multiple exceptions? Futures can only have single
resolutions.
I do think it is fine to have a future that never has a result (or only
gets one if you explicitly close), but I am operating under the assumption
that when the exception occurs, we will cause that thread to exit and set
the exception on the future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3888#issuecomment-325556432,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUczQJq3yTWzMB1tJG97X3U-w8WS_cks5sc5yLgaJpZM4PE4py
.

A workaround would be to override the default Policy used by the Client. For instance:
class Custom(Policy):
    def on_exception(self, exception):
        try:
            return super(Custom, self).on_exception(exception)
        except:
            # handle consumer exceptions here, for instance reject a promise or
            # set threading.Event to communicate the failure to the main thread.
            raise

Having a future to check on would be a whole lot cleaner probably. At least it would be clear that control was being passed around, whereas having the on_exception() is vague and requires understanding the internals some.
We've had to do something similar because we see this error which never seems to recover (running in google container engine):
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, OS Error)>
I'm inclined to believe that a connection broke or shutdown, causing a socket to trigger an "OS Error".
This is not the only error we see, but since they show up sporadically it's hard to know which ones wedge us and which are properly handled.  For example DEADLINE_EXCEEDED is "normal" and processing goes on.
To work around the wedging, our code does something like this. We set a variable to indicate to the outer loop that the client might be bad.
class OurPolicy(thread.Policy):
    """
    We occasionally see errors that google code doesn't recover from, so we
    set a flag that let's the outer thread respond by restarting the client.

    grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, OS Error)>

    """
    _exception_caught = None

    def __init__(self, *args, **kws):
        logger.info(f'Initializing our PubSub Policy Wrapper')  # noqa
        return super(OurPolicy, self).__init__(*args, **kws)

    def on_exception(self, exc):
        # If this is DEADLINE_EXCEEDED, then we want to retry by returning None instead of raise-ing
        deadline_exceeded = grpc.StatusCode.DEADLINE_EXCEEDED
        code_value = getattr(exc, 'code', lambda: None)()
        logger.error(f'Caught Exception in PubSub Policy Wrapper: code={code_value} exc={exc}')
        if code_value == deadline_exceeded:
            return
        OurPolicy._exception_caught = exc
        # will just raise exc
        return super(OurPolicy, self).on_exception(exc)

def get_publisher_client():
    return pubsub_v1.PublisherClient(
        batch_settings=types.BatchSettings(max_latency=0.001, max_messages=1))

def get_subscriber_client():
    return pubsub_v1.SubscriberClient(policy_class=OurPolicy)

then our listener can tell when we've hit an exception that would wedge our server, and instead it restarts the client:
class Worker(object):
   [..lots deleted..]

    def listen(self):
        logger.info('Listening, press Ctrl+C to exit.')
        subscriber = get_subscriber_client()
        subscription_path = subscriber.subscription_path(NOTIFY_PROJECT, self.subscription_name)
        while True:
            if not self.sub_client:
                logger.warning('Restarting pubsub subscriber client')
                self.sub_client = get_subscriber_client()
            self.sub_client.subscribe(subscription_path, callback=self.message_callback)
            try:
                # The subscriber is non-blocking, so we must keep the main thread from
                # exiting to allow it to process messages in the background.
                logger.info(f'Listening for messages on topic {self.topic_name} @ {subscription_path}')
                while True:
                    time.sleep(1)
                    if OurPolicy._exception_caught:
                        exc = OurPolicy._exception_caught
                        OurPolicy._exception_caught = None
                        raise exc
            except KeyboardInterrupt:
                logger.info('Stopped listening for tasks.')
                break
            except Exception as e:
                logger.exception(e)
                self.sub_client = None
                from raven.contrib.django.raven_compat.models import client
                client.captureException()

That said, I'm not sure if we should add some mutexes here and be more thread-safe.  Also this may have other issues since it's unclear if the old client ever shuts down cleanly.  There's nothing in the API docs about it, and python can be lazy about this kind of resource cleanup, especially since worker threads may linger with a reference to the old client object.
https://googlecloudplatform.github.io/google-cloud-python/latest/pubsub/publisher/api/client.html


Possible to Sponsor the Community Edition?

I understand that there is a premium edition to this software, but I would like to sponsor the community edition. Would that be possible?
I am only using it for labs and development ATM but I do have my eye on the Premium for future projects with production deployments. In the meantime I would like to be able to do what I can out of pocket to help with the CE.

Thank you for offering, but individual sponsorships are not possible at this time. Community edition feature development is largely on hold right now, and accepting sponsorships could lead to unrealistic expectations from users.
Although Skeema is used by several hundred companies and installed over 30,000 times per month, only a tiny percentage are subscribing to the premium products so far. As a result, all feature development energy is strictly going towards the premium products right now. These products need to become more appealing to a larger percentage of the user base, so that Skeema will have a sustainable revenue stream from corporate customers. Without this, it will not be possible for Community Edition development to continue.
In other words, subscribing to the premium products is the way to support Skeema. In addition to the Premium CLI (starts at $99/month for the Plus tier), there's also the separate development/CI-focused SaaS product Skeema Cloud Linter which is only $59/month per GitHub organization. Thank you for your future consideration.

accepting sponsorships could lead to unrealistic expectations from users.

@evanelias
Expectations or no, Skeema is under no obligation to satisfy such expectations on a community driven open source product. There will always be members of any community with unrealistic expectations -- it cannot be helped.
I only wish to sponsor because I understand the difficulty in maintaining such community projects, not because I expect additional features. I would hate to see the project die, or become archived and unusable without important bug fixes and updates before I even get a chance to finish testing/tinkering with it and convince a client to let us use it professionally.
So if revenue is an issue, why turn down free money? It is not feasible for me to pay Premiums on tools that I am not using in any way that generates revenue on my end, however myself and many others I'm sure would be more than willing to fork over some pocket money to support continued maintenance something we find exceptional, or even just enjoy tinkering with.
Given the amount of interest surrounding skeema/skeema it has the potential to inspire a good deal of sponsorship. Many projects on GH bring in tens and even hundreds of thousands of dollars in sponsorship.
I understand it may not be possible right now, but please give me an @ if that ever changes.
Thank you for sharing your considerable feats in engineering. I wish that I could do more to support the project.

First, let me say I understand you have good intentions with your post. But frankly I find this discussion extremely frustrating and draining.
I'm trying to run a business here. The premium products are very competitively priced relative to the other two main commercial tools in this space. Despite this, you seem to be signaling that this price does not make sense for your use-case at this time. This is perfectly understandable. But you're also saying you'd be happy to pay "pocket money" instead in order to support ongoing maintenance; and furthermore, you are signaling that you expect many other users would be interested in this model, despite them not being interested in the premium products.
Indirectly, this would seem to mean that the premium products are overpriced, and/or not compelling in functionality. Maybe this is the case, but if so the solution would be to focus more time on improving the premium products, which is precisely what is already happening.
Database automation is time-consuming, and generally it pays well. My time is valuable, and I don't work for pocket change. I am not interested in developing or maintaining database automation software under a pay-what-you-wish sponsorship model, nor is it feasible for me to reduce the prices of the premium products below their already-modest levels. I also do not believe a sponsorship model would amount to a meaningful revenue stream; from what I've seen the vast majority of GitHub Sponsors projects take in massively less than you are suggesting here. I'm familiar with several projects that are much more popular than Skeema, but take in under $1k/month. That simply isn't enough revenue to make any impact whatsoever on the continued viability of the Community edition.
I personally haven't derived much of any benefit from the existence of the Community edition to date, and it does not make sense for me to continue pouring my time into it indefinitely. I've already put the equivalent of 2.5 years of unpaid full-time work into the Community edition. Enough is enough. If it doesn't start driving a meaningful conversion rate to the premium products, or driving consulting business, or driving support contracts, then it's a nonviable product and I really can't justify spending any more time on it.
If you would like to support Skeema but the premium products aren't a fit at this time, "spreading the word" is always appreciated -- blogging, tweeting, word-of-mouth, etc.

@evanelias
I seem to have struck a nerve. Perhaps I should have chosen my wording more carefully, or simply let you be. It is your project after all.
It is certainly viable. We just just don't start many new projects (we just do a few big ones) and I wasn't aware of it at the start of the last, and am not in a position to be able to replace everything already in place.
I've only recently became aware of the project and have been tinkering around with it and have been very impressed.
It's not overpriced nor am I meaning to suggest it is. It's just soon. And I don't blog and I don't tweet and I don't intend for donations to take time away from working on the premium products. I don't handle marketing. I do handle purchasing.
By "pocket money" I was referring more to the source than the quantity. You may surprised to find that I have much more budgetary freedom when it comes to sponsoring open source projects than purchasing licenses. Not that it matters at this point. I wish you all the best, and good luck in your endeavors.


Changelog?

Hi everything,
I am packaging wolfictl for openSUSE, as I found it highly interesting and wanted to play around with it.
However, wolfictl currently does not have release, only tags. So, is there a changelog of some kind that I failed to find? Only having the list of commits is not really valuable.
Thanks in advance,
Johannes

Hi @johanneskastl, thanks for reaching out!
Wolfictl is mostly an internal dev tool, it's not really intended for general use. If folks find it useful, that's great! But we add and remove functionality pretty often without notice, so it doesn't quite fit the profile of a typical OSS tool, and it's not something we intend to support outwardly.
I hope that makes sense!

Sorry for the late reply, I missed your comment.
I agree that it kinda makes sense, although I think that a changelog or an automated list of changes in the release could be useful for internal users, too. Especially if functionality is added and removed...
Anyway, closing this for now.
Have a nice weekend!


Test failed on makefile error didn't update GitHub job status

https://jenkins.product-os.io/job/leviathan-genericx86-64-ext/251/console

I think that https://github.com/balena-os/leviathan/pull/463  might fix this


Fix angular allowed commit types

Motivation and Context
Allowed types were wrong according to https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#commits
Usage examples
Does not apply.
How Has This Been Tested?
Tested manually.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Couldn't run tests.. npm i && npm t fails with missing dependencies.

your reference is angular.js not angular. see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#type

Thanks for contributing!
Seems I pulled the trigger on changing to the Angular (vs Angular.js) conventions too early.
You PR reverts the breaking change introduced with the version 4.3.0to 5.0.0 update, see the BREAKING CHANGE section here:
https://github.com/marionebl/commitlint/releases/tag/v5.0.0
The reference commitlint now uses is here
https://github.com/angular/angular/blob/master/CONTRIBUTING.md#type
If you want to continue using the previous commit types you can install @commitlint/config-angular@4 for now.
We probably should make the transition smoother by

By republishing @commitlint/config-angular@4 as @commitlint/config-angular-legacy
Backporting the subject-tense change to legacy

What do you think?
Related

https://github.com/conventional-changelog/conventional-changelog/pull/249
https://github.com/commitizen/conventional-commit-types/pull/7

Follow up with Angular project https://github.com/angular/angular/issues/20537

Yes probably the transition was too early, the conventional-changelog projects also need to adapt. Perhaps we could create an umbrella issue there to track progress to what needs to change.
Regarding the drop of chore,  we kind of lost the type for maintenance operations which is unfortunate. I wonder what to use now.
About creating the legacy + backporting, I absolutely agree!

I created this issue here to keep track of our progress:
https://github.com/marionebl/commitlint/issues/146


Wasmer Freezes Up

Hi,
When I try in Wasmer I get no response:
@cemalgnlts ➜ /workspaces/codespaces-blank $ time wasmtime riscv-node.wasm
Welcome to Node.js v18.16.0.

Type ".help" for more information.
> .exit
.exit

real    0m13.176s
user    0m10.205s
sys     0m0.213s

@cemalgnlts ➜ /workspaces/codespaces-blank $ time wasmer run riscv-node.wasm
^C
real    0m39.833s
user    0m0.087s
sys     0m0.143s

@cemalgnlts ➜ /workspaces/codespaces-blank $

You need to pass --no-stdin to avoid blocking (e.g. wasmer out.wasm -- --no-stdin echo hello). AFAIK (as mentioned in https://github.com/ktock/container2wasm#wasi-runtimes-integration-status ), wasmer doesn't seem to support non-blocking stdin (i.e. select syscall on stdin) so this needs to be fixed for making stdio work on wasmer properly.

Yes, it works now, thanks.


Alias variables

When there are physical conversions between components, we often have things like
x.comp1.out = fun(x.comp2.in)

However, when solving differential equations, we must have the same number of states as the number of equations, so we cannot actually introduce the new x.comp2.in variable without adding the trivial algebraic equation
du[i] = x.comp1.out - fun(x.comp2.in)

I wonder if we can add some kind of mechanism such that x.comp2.in directly returns fun(x.comp1.out).
Possible syntax:
x = ComponentArray(
    comp1 = ComponentArray(out=1),
    comp2 = ComponentArray(in=AliasVar(UpperLevel().comp1.out, fun)),
)

where UpperLevel signifies that comp2 array must keep a reference of the upper level ComponentArray x.

This is something I've wanted to implement for a while, and even made up a quick prototype for a few months back. It's nice for state-space modeling too because you can have a C*x + D*u output signal. Also, activation functions for NNs.
This syntax is better than the one I had, too. Although, my preference would be to have the function as the first argument.
Time permitting, I'm going to try to get something working within the next few days. There are a few changes that will have to be made to get this working, but nothing that will require too much major surgery.

I think the first time I read this I missed the significance of the fact that it's looking at the upper level. Most of the use cases I have for alias components are applying functions to components within the same level.
So really this is two separate issues:

We need to have alias components
Those aliases should have a way to reference the components above them

I'd like to have a way to accomplish #1 without having to have a ThisLevel, but I'm not sure that's possible while still having #2.
My original thoughts were something like:
x = ComponentArray(
	a = 1,
	b = 2,
	c = AliasVar(x -> x.a + x.b)
)

So AliasVar would always take in a function of one variable, which is the ComponentArray that holds the AliasVar (in this case x). Maybe a way of accomplishing both would be something like:
x = ComponentArray(
    comp1 = ComponentArray(out = 1),
    comp2 = ComponentArray(in = AliasVar(x -> fun(UpperLevel(x).comp1.out))),
)

It's a little more verbose for this case, but it handles the first case without having to introduce a ThisLevel. Also, I think this makes it more straightforward to understand for the case where you might want to go even higher level like UpperLevel(UpperLevel(x)).


Pass through props to input field

Such as autoFocus, spellCheck, etc. Has defaults for a few of them, but should allow them to be customized.

Could also be solved by just allowing custom components for each piece of the query assist. That might be a good option for styling as well.

Implemented in https://github.com/timberio/react-query-assist/pull/16.


BraceStyle AlwaysNewLine for extern blocks

extern blocks can now get an opening brace on a new line

add test case for extern blocks

I also made sure that there are no trailing spaces for the extern "C" line after formatted.
fixes issue #4428

Example extern formatting for brace_style: AlwaysNextLine:
Source:
extern "Rust" {
    fn foo(x: i32);
}

extern "cdecl" {}

extern "fastcall" {/* f*/}

Target:
extern "Rust"
{
    fn foo(x: i32);
}

extern "cdecl" {}

extern "fastcall"
{
    /* f*/
}


feat: Sort ratings into rating buckets

It would be nice to sort ratings into rating buckets.
These buckets could be as broad as "investment grade" and "sub-investment grade". Or they could contain the main rating categories:

AAA
AA (AA+/AA/AA-)
A (A+/A/A-)
BBB (BBB+/BBB/BBB-)
BB (BB+/BB/BB-)
B (B+/B/B-)
CCC (CCC+/CCC/CCC-)
CC
C
D

Hi @a-vester , I would like to know if there still a requirement for this feature. and how would you like the rating to be divided further.


Problem on Android export with insert

Android seems to have an issue with the PATCH Http verb, which is necessary for Easy Tables' Update. Investigating
source: http://answers.unity3d.com/questions/1230067/trying-to-use-patch-on-a-unitywebrequest-on-androi.html

Unity has acknowledged that this is a bug, waiting for a hotfix

Unity has responded that this is by design, due to Android http client implementation that forbids PATCH.
http://androidxref.com/6.0.1_r10/xref/libcore/luni/src/main/java/java/net/HttpURLConnection.java#273
http://androidxref.com/6.0.1_r10/xref/libcore/luni/src/main/java/java/net/HttpURLConnection.java#680
Investigating potential other workarounds (apart from doing an Easy API call on Android just for Updates)

Azure team response: http://stackoverflow.com/questions/39023937/trying-to-use-patch-on-a-unitywebrequest-on-android-and-getting-unsupported-pro
Unity team response: http://answers.unity3d.com/questions/1230067/trying-to-use-patch-on-a-unitywebrequest-on-androi.html
So, apparently PATCH is not going to work with Unity on Android. Implemented a workaround which requires EASY APIs, check these two gists: https://gist.github.com/dgkanatsios/b380d1ae4195b6592c1337c63c56b2ea

This is how the Mobile Services SDK for Android handles PATCH - wonder if Unity could do the same workaround for UnityWebRequest...?
HttpPatch class

The Mobile Services team opted to use the Apache HttpClient for Android  instead of the native Android Http client, probably for this very reason. Unity could potentially use that, but I think that this would require some refactoring on their side.


Dashboard-Resource: Create Folder functionality not working

Go to REsource tab
in Objects tab, click Create Folder button
Provide folder name and click Ok Button
Nothing happens.. No success page/message.. No error message/page

@satya-gorli Which version you used to do this test? I used the latest code of development branch to test, it works fine, please update the code and test. Thank you.

Latest Docker Image

I used Master not Development branch

@satya-gorli Please check with latest development and let us know if this issue persists.

@satya-gorli , pls check and confirm

Working fine with latest


feat: add Jira

Source: https://community.atlassian.com/t5/Jira-questions/Is-it-quot-JIRA-quot-or-quot-Jira-quot/qaq-p/681163

Thanks but this tool is not capable of converting JIRA to Jira as you might have const JIRA_TOKEN = ''. I will update the guideline soon.


Should "inverse_of: nil" be restricted to HABTM?

See https://github.com/mongoid/mongoid/issues/2513
Right now, Mongoid silently allows other types of associations, such as belongs_to, to use "inverse_of: nil". This apparent misuse has been creeping into a code base I work on for some time (see also https://github.com/mongoid/mongoid/issues/1434). However, I've not noticed any negative effects. I even tried applying it to some of the associations in the models used by Mongoid's specs, and it didn't seem to cause any failures. Therefore: is it really restricted to HABTM? What is the effect when used on a belongs_to?
If it really should be restricted, should Mongoid raise an error if it sees inverse_of being used inappropriately? That would be backwards incompatible, of course.

inverse_of: nil is also valid on belongs_to relations - we should restrict to both.


Re-enabling test_operator.test_binary_math_operators (#11712)

Test passes on CPU and GPU (10000 runs)
Description
Fix issue: #11712
Re-enabling test_operator.test_binary_math_operators with random seed.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[X] Changes are complete (i.e. I finished coding on this PR)
[X] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[X] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[X] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Comments

@marcoabreu Should be good for merge

Sorry, I'm currently swamped with high priority tasks and I don't have time to review your task or assist with inqueries.


Rename libs' plugins

Due to jest tests complaining with Identifier 'jest' has already been declared on the jest file exporting it.

Hey @vabatta, I'll leave approved PRs open for you to merge unless I'm sure they're done and merging them will unblock other work 😄 👍


[FLOC 3632] Update the Full Install information

Fixes 3632
The current wording allowed the user to believe that the installation of the plugin was a separate page - this is no longer true, as the Plugin installation is now an optional step in the node services instructions.

Lovely, thanks! Merge when passes doc tests.


Gate the package score breakdown to staging until we announce it

Thinking on release/announcement planning, this would be better going live in production next week along with the blog post.
So close, and yet so far, @cyndichin! 🫨

Deploying as 2.92.3


publish site script

@nwangtw This is the script that would need to be executed after the make buildsite command.  Please review.

Seems the build keeps exceeding the allotted time limit.  I'll try and kick it off again.
The job exceeded the maximum time limit for jobs, and has been terminated.


[Feature] Add CC Donation Modal to the CC Global Components

Problem
We have previously used Google Tag Manager to define a donation appeal pop-up. Following from this (comment)[https://github.com/creativecommons/project_creativecommons.org/issues/186#issuecomment-984545850],
@brylie suggested that:

Alternatively, this might be a good addition to the cc-global-components collection, since it is just JavaScript, HTML, and CSS.

[x] Develop a component for the Donation Modal
[x] Set a cookie when the user closes the modal (by clicking close or outside of the modal)
[x] The cookie should expire after five days

Description
Adding the Donation Modal to the CC Global Components is advantageous given that it will be distributed via CDN making it easier to deploy on any of the CC Web properties.
Implementation

[x] I would be interested in implementing this feature.

Closing this, issues related to this would have been resolved in the new Vocabulary, currently in development within index-prototype


Add CV to my README file - Adam Friedmann

Hi Adam,
As you develop this folder to include more additions, you should add a section here to include your Portfolio. Not needed now, but keep it in mind.
Great Job!!


try building aarch64-unknown-linux-gnu target

What :computer:

First thing updated with this PR
Second thing updated with this PR
Third thing updated with this PR

Why :hand:

Reason why first thing was added to PR
Reason why second thing was added to PR
Reason why third thing was added to PR

Evidence :camera:
Include screenshots, screen recordings, or console output here demonstrating that your changes work as intended

Notes :memo:

Any notes/thoughts that the reviewers should know prior to reviewing the code?

merged in upstream


Update eap-ms-chapv2-connection-properties.md

Https is not supported in EAP schema target namespaces.

@zaricvlado : Thanks for your contribution! The author(s) have been notified to review your proposed change.


New Premium Ad

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[ ] I did a clean install of SpotX as described in the FAQ

Сountry of your account
United States of America
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify:

Spotify for Windows <IP_ADDRESS>3.g6cf4d40c

- Windows:

Windows 11 Home 22H2 22621.608
Windows Feature Experience Pack 1000.22634.1000.0

- PowerShell:

5.1.22621.608

📝 Description

Install the latest SpotX
Say no to all optional blocks
look in the top left corner
Observe ad

📸 Screenshots

Clean install
Please, next time, don't just tick off the checkboxes, but do what is written there.

Clean install
Please, next time, don't just tick off the checkboxes, but do what is written there.

I did!! I'll do it again...

Clean install
Please, next time, don't just tick off the checkboxes, but do what is written there.

I did!! I'll do it again...

@amd64fox I used the script to uninstall Spotify, and then redownloaded it and logged in, then I ran the main install.bat and I still see the new little Premium thing that I showed in the ScreenShot Above...

Where do you see in the FAQ that you need to install the client yourself, log into your account and only then install SpotX?
The FAQ lists the following sequence:

Remove the client with a patch
restart PC
run the SpotX installation
and only now log into the client

What is difficult to do in the order in which you are asked?

Where do you see in the FAQ that you need to install the client yourself, log into your account and only then install SpotX?
The FAQ lists the following sequence:

Remove the client with a patch
restart PC
run the SpotX installation
and only now log into the client

What is difficult to do in the order in which you are asked?

That worked... I'm just confused as to why it matters if you install Spotify from the patch or the official site and why it matters if I sign in first or not...

sometimes when such errors appear, it is important to follow exactly the sequence that is written in the FAQ
in most cases it doesn't matter


GH-256 separation of local setup logic

What
To speed up local dev work this PR separates provisioning of the kind clusters from deployment onto those clusters
How
This PR contains 3 commits with different purposes each:

Separation of the local setup logic into two make targets
Introduction of the attempt to clean up resources from kind clusters rather than removing kind clusters themselves. Allow for much faster redeployment if needed
Changes in docs to reflect those changes.
I've left old command in place as they are still could be used and they should be working just like before. Plus I've left the old make local setup in the readme to showcase that it is still can be done. The make command, however, will tip that you could use other targets.
And a style point for prompting user to run controller to make sure MGC cleans up DNS record in case of the make local-cleanup-mgc. Relevant to the #335

Verification
Will take a while :laughing:

The "old" scenario:
make local setup followed by make local-cleanup  after success

I've messed up the MGC scenario
You could follow this how-to doc up to the point of placing gateways.
Run the make local-cleanup-mgc MGC_WORKLOAD_CLUSTERS_COUNT=1
followed by the make local-setup-mgc MGC_WORKLOAD_CLUSTERS_COUNT=1 and ensure that gateway can be deployed again to the data plane cluster

hm, seems like I was to slow on that front. There are similar changes in #362

/hold
for now. This work might be delayed by the quick-start script. I'll unhold PR after the team discussion.

/wip

/unhold

I've tried the lastest copy and verifying everything works as before with the quickstart script. 👍

There are quite a few things in these scripts that should really be optional i.e. argocd, dashboards, submariner etc.. It would be nice to be able to specify a minimum required set of dependencies that need installed on each cluster for mgc to work.

The #414 will address the "we are installing it all" situation for the local setup

/label tide/merge-method-squash

tide/merge-method-squash

/label tide/merge-method-squash

/lgtm
/approve


Linux fails to check for new version

When I start WorldMuncher, a box appears with the New World and Open World buttons (neither of which work), along with the text "Checking for New Version..."
I can exit that prompt, at which point I get a lovely window where none of the buttons work.
Presumably, this is dues to the program not being able to check for a new version. This might be due to a bug in the Linux version (it works fine on Windows), or an inability to check for new versions.

Just confirmed this is in fact something being wonky with the Linux version. Windows works fine without network access.

Yeah, this is a known issue possibly related to a native module (not sure, haven't tested yet). I tested Windows and Mac and both worked.
Can you check the .rpm version for me?
Also, sorry for the slow reply. I'm writing my new novel at the moment so I'm a bit swamped with that. Will 100% be fixing this in the next version. It MIGHT just be a build issue, so I will check that and update accordingly.

No, I can't check the rpm because I don't use fedora.
On Sun, Jan 22, 2017 at 3:57 AM Randall Fitzgerald<EMAIL_ADDRESS>wrote:

Yeah, this is a known issue possibly related to a native module (not sure,
haven't tested yet). I tested Windows and Mac and both worked.
Can you check the .rpm version for me?
Also, sorry for the slow reply. I'm writing my new novel at the moment so
I'm a bit swamped with that. Will 100% be fixing this in the next version.
It MIGHT just be a build issue, so I will check that and update accordingly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/digiwombat/WorldMuncher/issues/2#issuecomment-274318292,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIOq7vfO6GZCjXlI5sCOpavP9dwpWphvks5rUxoOgaJpZM4LlzW2
.

No worries. I need to set up a fedora install at some point, but I've done some checking (hilarious timing, since I just clicked to address this), it's an electron-rebuild issue (module-mismatch).
Rebuilding now in Linux proper instead of using WSL, which seemed to be a large part of the problem, weirdly.

Builds updated. Linux builds work now.
Whew. Sorry, but hey! BashonUbuntuonWindows doesn't work for building these out it seems like.

:tada:
On Sun, Jan 22, 2017 at 9:20 AM, Randall Fitzgerald <
<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/digiwombat/WorldMuncher/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/digiwombat/WorldMuncher/issues/2#event-931998004, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIOq7v9jzVLxbPAPw4AIQRP0-MlKRu5cks5rU2XAgaJpZM4LlzW2
.


Practice Exam 7 Q 26

hi, @PyFaNNy
Thank you for bringing this to our attention. We apologize for any confusion this may have caused. We have reviewed Practice Exam and made any necessary corrections to ensure the accuracy of our content. If you have any further questions or concerns, please feel free to reach out to us. Good luck with your Cloud Practitioner studies!


Fix a race condition in the speed command

The timer alarm sets run = 0, while the benchmark
does run = 1 in the initialization code.  That is
a race condition, if the timer goes off too early
the benchmark runs forever.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Discovered this, while testing the last patch.
reproduce:
gdb --args openssl speed -evp rc4-hmac-md5
and set a breakpoint on RC4_set_key.
Wait 3 seconds, there, continue, see speed run forever.
Funny thing: thread sanitizer does not detect this race condition.

Pushed to master and 1.1.1 branch.  Thanks!


update layout if font is changed

Hi @Igor-Palaguta, I'd love to incorporate this fix! Did you get a chance to read my comments?

Hello @JaviSoto, please use this https://github.com/JaviSoto/JSBadgeView/pull/48


Custom basemap URL instructions incorrectly suggest that you need to escape curly braces

In fact, escaping curly braces in the URL will not yield the desired result and the basemap will not load.

Thanks, the backslashes shouldn't be there. Their appearance looks to be caused by bug yahoo/react-intl#1158 in the internationalization library we're using. It works correctly in development mode (no backslashes) but not in production mode. I'll see if we can come up with a workaround until that bug is fixed.


Check if new repo name is used everywhere

not tsb-trees-fronteend to giessdenkiez-de

can this issue be closed @ff6347?

Yes


[stable/mariadb] Inject passwords from secret via volume

Is your feature request related to a problem? Please describe.
As a DevSecOp, I don't want have administrative private credentials easily discoverable.
See: https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/
But more importantly: https://blog.alcide.io/secret-hunting-in-kubernetes
...or: https://sysdig.com/blog/7-docker-security-vulnerabilities/
Describe the solution you'd like
Secrets made available to the specific container only via dedicated volume will reduce the risk of leaking sensitive information to a potential attacker.
Describe alternatives you've considered
The chart currently employs environment variables, so there is no alternative, yet.
Additional context
One way to get the credentials:
$ docker inspect 01b626b32e19 | jq -r '.[0].Config.Env[]' | grep -i 'password'
MARIADB_MASTER_ROOT_PASSWORD=m3uCM4MakdF645e
MARIADB_REPLICATION_PASSWORD=4c7BY0vKbBwwt61

...or:
$ kubectl exec fxa-db-oauth-mariadb-master-0 -c metrics -- env | grep -i 'password'
MARIADB_ROOT_PASSWORD=YP0QcmIGKNJOG52

Hi @enote-kane
We already support this feature on other charts (such as PostgreSQL). As you can see in the link below, there's a parameter named usePasswordFile you can use to consume this credentials from files mounted in the container (instead of environment variables)

https://github.com/helm/charts/tree/master/stable/postgresql/README.md

Would a solution like this work for you?

Yes, the usePasswordFile should yield the desired behavior. However, the naming is somewhat non-intuitive. I would think of a parameter like injectSecretsAsVolume which clearly relates to secrets and how to apply them.

Hi @enote-kane
I just created a PR addressing this issue. Please feel free to take a look when you have a chance.


AttributeError

Hi
I just reinstalled my raspberry and now when I try to setup the pychromecast I get an attribute error
chromecasts = pychromecast.get_chromecasts()
AttributeError: 'module' object has no attribute 'get_chromecasts()
I used gitclone and in Pychromecast folder i ran "sudo pip install -r requirements.txt" with no problems.
Requirement already satisfied: requests>=2.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied: protobuf>=3.0.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 2))
Requirement already satisfied: zeroconf>=0.17.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))
Requirement already satisfied: six>=1.9 in /usr/lib/python2.7/dist-packages (from protobuf>=3.0.0->-r requirements.txt (line 2))
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from protobuf>=3.0.0->-r requirements.txt (line 2))
Requirement already satisfied: netifaces!=0.10.5 in /usr/local/lib/python2.7/dist-packages (from zeroconf>=0.17.7->-r requirements.txt (line 3))
Going crazy here knowing It worked perfect on my other 2 devices..

This is the test script Im trying to run
from future import print_function
import time
import pychromecast
chromecasts = pychromecast.get_chromecasts()
[cc.device.friendly_name for cc in chromecasts]
['Dev', 'Living Room', 'Den', 'Bedroom', 'Daniel Chrome']
cast = next(cc for cc in chromecasts if cc.device.friendly_name == "Daniel Chrome")
Wait for cast device to be ready
cast.wait()
print(cast.device)
#DeviceStatus(friendly_name='Daniel Chrome', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('df6944da-f016-4cb8-97d0-3da2ccaa380b'), cast_type='cast')
print(cast.status)
#CastStatus(is_active_input=True, is_stand_by=False, volume_level=1.0, volume_muted=False, app_id=u'CC1AD845', display_name=u'Default Media Receiver', namespaces=[u'urn:x-cast:com.google.cast.player.message', u'urn:x-cast:com.google.cas$
mc = cast.media_controller
mc.play_media('http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', 'video/mp4')
mc.block_until_active()
print(mc.status)
MediaStatus(current_time=42.458322, content_id=u'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', content_type=u'video/mp4', duration=596.474195, stream_type=u'BUFFERED', idle_reason=None, media_sessio$
mc.pause()
time.sleep(5)
mc.play()

Pychromecast no longer supports python 2.
This would work:
pip install PyChromecast==1.0.3 zeroconf==0.19.1
Alternatively, there's pychromecast_legacy (I haven't tested this).

Ran pip install PyChromecast==1.0.3 zeroconf==0.19.1 without problems and still get error.
Tried  pychromecast_legacy too but its the same error

Does the script you're trying to run have the filename pychromecast.py? Additionally, do you maybe have a file called pychromecast.py lying around somewhere?
If you have such a file somewhere, then python will load the content of that file instead of the pychromecast library when you type import pychromecast

Oh fu**...
Shuld have seen that myself :P
Yes I had a folder named pychromecast from when I installed the files.
Just removed it and everything worked like before!
Thanks for the quick respons tho. Saved me from going insane.
Have a nice weekend guys :D


Typo in the doc example for rewrite rule

Describe the bug
The written example has a typo
Reproducing
1- Go to https://comby.dev/docs/advanced-usage#rewrite-expressions
2- Compare the second paragraph dict(:[args]) => :[args] with the associated playground
Expected behavior
A clear and concise description of what you expected to happen.
I expect the rewrite= to be the same as the one in the associated playground
It should be written dict(:[args]) => {:[args]} instead of dict(:[args]) => :[args]
Additional context
I wasn't able to find a github repo for the documentation, so this is the next best place I suppose. :sweat_smile:
Have a nice day :smile:

Good eye! Thanks. Fixed here: https://github.com/comby-tools/comby.dev/commit/6983968b628976298209abc77190e281932a25e7.


Nginx Image for Static Apps

Nginx Image for Static HTML Apps or Single Page Applications(React,Angular)
I have tested build @ https://hub.docker.com/r/prashanthmadi/azure-nginx/

This is great!  Over the past 5 years the web has made a huge transition back towards static generated web sites. Even GitHub pages themselves run off static generated frameworks like Jekyll.  Nginx is by far the best Linux web server today.  It seems as if one of the first Azure Web Services for Linux would have been to host static sites and expanding to Node, Express etc after.  Either way, this will bring Complete support to how the industry is moving today.  I believe Azure should also enable this as a core option for Web App Services (Linux) to bring adoption from OSS community into Azure.  Thanks Prashanth for helping here.


feat: support for AMD SEV-SNP

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Yes ✅: v4.66.0

Is your request related to a problem? Please describe.
Amazon EC2 now supports AMD Secure Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP), a feature on AMD EPYC™ processors, on M6a, C6a, and R6a instance types.

Describe the solution you'd like.
Being able to deploy EC2 Instances running AMD Secure Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP) through this tf module.

Describe alternatives you've considered.
None

Additional context

This issue has been resolved in version 5.1.0 :tada:


review: sample_geometric_exp_fast

Towards #2069

#2117  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite

sample_geometric_exp_fast.pdf


Conflict with embedded WordPress posts

Reported by https://masto.ai/@cybeardjm.
Steps to reproduce:

1 - embed a WP post (copy/paste URL)
2 - save draft / preview => the embed is here
3 - embed a Mastodon post (using embed code in "custom HTML" block) => in Edit mode, both are visible
4 - save draft / preview => the Mastodon embed is fine, styled with the embed plugin, BUT the WP embed is now only a link to the post.

This was fixed with https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin/commit/b3be62ed70d61ee001949b33816e7898c8ca44cc and https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin/commit/b6ea5d29b27d42090066b9f60156ded73ed69d29, but the issue is still present when the Classic Editor plugin is enabled.


problem about _anchor_target_layer

gt_argmax_overlaps = overlaps.argmax(axis=0)
gt_max_overlaps = overlaps[gt_argmax_overlaps, np.arange(overlaps.shape[1])]
gt_argmax_overlaps = np.where(overlaps == gt_max_overlaps)[0]
Since we got the gt_argmax_overlaps in the first line, why should we count it again in the third line?

Overlaps is a two dimensional matrix. each cell shows the amount of overlap between generated box and actual groundtruth Box. If you take argmax from one axis you will get the groundTruth Box which is maximally overlapped with that specific box. Likewise, if you take the argmax from second axis you will get the generated Box which is maximally overlapping with the given groundTruth Box. He got the first one from line 51 and second one from line 53. Finally in line 55 he wanted the boxes which are maximally overlapped Box with the groundYTruth Box as well as the same box should be overlapped with Generated box. Its the intersection of both outputs of line 51 and 53. I think the name of the variable on line 55 is confusing. Other than that, Nothing is wrong. I hope You understand what it meant.


Should UAVCAN Motor parameters be in the documentation?

The XML output of our generated parameter doc injects this file of UAVCAN Motor Parameters (which presumably goes to QGC).
This is not included in the documented Full parameter reference (markdown). Is this a bug? (ie should I add this?)

The entire thing is worth reviewing in detail. Last I tried the uavcan parameter sync wasn't working correctly anymore. FYI @mhkabir
We also have a full UAVCAN setup headed to the test flight team.

We currently don't have a proper maintainer for UAVCAN. @pavel-kirienko is your best choice :)

I am probably the least wrong person to ask about that, but I am pretty far from being a maintainer of anything in PX4.

@mhkabir @pavel-kirienko perhaps we could do a coordinated pass to ensure all UAVCAN functionality in PX4 is working as intended. From that point I'll volunteer to keep it working with help from @PX4/testflights and CI.

@dagar this is much appreciated. You might be aware that we are currently drafting up UAVCAN v1.0 (finally), which is going to fix one glaring design mistake in UAVCAN v0 at the cost of offering somewhat limited backward compatibility. Please follow our progress here: https://forum.uavcan.org/c/dev

That`s strongly appreciated 🥇 .  Currently we have more than one UAVCAN compatibility problem within PX4, whereas the CAN bus is honestly made for such environments like UAVs, much more reliable thatI2C

@pavel-kirienko @dagar @mhkabir So the way I read @dagar 's response was we need your help to get this to good state which we can then maintain. To keep this moving along, when is a reasonable time for you guys to work together on this co-ordinated pass?


[ISSUE-278] More complete protobuf support including auto schema generation and support for nested protos.

Hopefully you don't mind my PR'ing against your feature branch, we have use for protobuf support so I based my changes on your guys' existing work.

@Crim I believe I have gotten to a fairly complete place with protobuf support for ksql.  It's now capable of auto generating the schema if it's not specified.  CSAS support is now functional, meaning we can do:
create stream something WITH (value_format='PROTOBUF', protobuf_class='some.fully.qualified.Class$Proto') AS SELECT * FROM some-stream where some_condition = true;
The case for this would be transmitting some subset of a topic's message to a new topic or even some nested proto to a new topic.
I believe I have the obvious cases sorted in regards to serde both ways with generic row, let me know if you see anything obviously off.  I've been trying to keep changes up to date with my personal branch that has a bunch of dockerizing stuff, let me know if you can't get it to build, I probably made a merge error.


Is it neccesary to close interpreter on dispose ?

Without closing my app works fine (I think) but on using close my app crashes sometimes it is due to me closing the interpretor while it is processing. I am calling Interpreter.fromAsset() in initstate  and passing its address to an isolate which does the processing. What can be the harm caused by not closing my interpretor and how to close interpreter only if it is not processing >

I'm dealing with a (perhaps) similar(ish) issue where the memory doesn't drop down if I close the part of the app that's doing that intepreting at certain parts of its cycle. Even if I do close it at the right time the memory seems to collect each time the I come back and re-initialize, eventually crashing (sooner on slower phones).
Obviously this is a vague response; but I'm wondering if you've explored your issue and come to any conclusions? I'm working on mine now--


What is the point of defaultVersion and versions?

I can't find a reference to Version ann 2 0 0 or similar, it seems like there's only one such "version", even though there are three Plutus versions.

Currently it is unused. In future, if we change the actual language e.g. by adding or removing features, we may use it to distinguish such cases.

https://github.com/input-output-hk/plutus/blob/master/plutus-core/plutus-core/src/PlutusCore/Core/Type.hs#L94

Thanks!


chore(main): release sandworm-utils 1.5.0

:robot: I have created a release beep boop
1.5.0 (2022-09-29)
Features

forward events to Inspector (1862309)

Bug Fixes

loadSandworm config option name (de05544)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sandworm-hq/sandworm-utils/releases/tag/sandworm-utils-v1.5.0 :sunflower:


Bump Depedencies

Bump sigparse and hikari. Messy PR but whatever.

im just gonna merge this so i can start on selects


[VMware] Explicitly controlling VM hardware version

Description
Set the VM hardware version on new VM deployments as set by the administrator on vCenter at cluster or datacenter level by the 'Edit Default VM Compatibility' action:

On VM deployments:

Check cluster level VM hardware version If it is set, then is used as the new VM hardware version
If cluster level VM hardware version not set, check the datacenter VM hardware version. If it is set, then it is used as the new VM hardware version.
If both cluster or datacenter VM hardware version not set, then VM hardware version not set for the new VM

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian.  I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1292

Thanks @DaanHoogland, I have tested it with system VMs as well and works fine, but will be great if someone else can test it and confirm this

@rhtyd @Spaceman1984 could one of you test if we can drop the hardware version from the vmware svm template, bacause of this?

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1303

@vladimirpetrov a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

The following tests have passed successfully:

Datacenter - version not set, Cluster version not set - hardware version reported as the host's - OK
Datacenter - version set to X, Cluster set to version Y - hardware version reported as Y - OK
Datacenter - version not set Cluster set to version Y - hardware version reported as Y - OK
Datacenter - version set to X, Cluster version not set - hardware version reported as X - OK

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-67u3

@rhtyd @Spaceman1984 could one of you test if we can drop the hardware version from the vmware svm template, bacause of this?

ping @Spaceman1984 ^^^

@andrijapanicsb a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian test result (tid-1732)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 58323 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4117-t1732-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_accounts.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_iso.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 72 look OK, 7 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestTemplateHierarchy>:setup
Error
1519.76
test_accounts.py

test_00_deploy_vm_root_resize
Failure
302.98
test_deploy_vm_root_resize.py

test_13_retrieve_vr_default_files
Error
1.08
test_diagnostics.py

test_14_retrieve_vr_one_file
Error
1.10
test_diagnostics.py

test_15_retrieve_ssvm_default_files
Error
1.11
test_diagnostics.py

test_16_retrieve_ssvm_single_file
Error
1.10
test_diagnostics.py

test_17_retrieve_cpvm_default_files
Error
1.10
test_diagnostics.py

test_18_retrieve_cpvm_single_file
Error
1.14
test_diagnostics.py

test_04_extract_Iso
Failure
1.08
test_iso.py

test_04_extract_template
Failure
36.28
test_templates.py

test_06_download_detached_volume
Failure
101.97
test_volumes.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
598.47
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
490.00
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
490.04
test_vpc_redundant.py

ContextSuite context=TestVPCRedundancy>:teardown
Error
490.08
test_vpc_redundant.py

@blueorangutan test centos7 vmware-67u3

@andrijapanicsb a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Tests are no good...

@andrijapanicsb I'll take a look at the failures and report/fix

@andrijapanicsb I'm observing a common invalid URL error through the tests:
nicolas@rzr:~/errorhwversion$ cat MarvinLogs/test_volumes_60VTYE/failed_plus_exceptions.txt
2020-06-17 08:03:45,841 - CRITICAL - FAILED: test_06_download_detached_volume: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_volumes.py", line 557, in test_06_download_detached_volume\n    % (extract_vol.url, self.volume.id)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 450, in fail\n    raise self.failureException(msg)\n', 'AssertionError: Extract Volume Failed with invalid URL http://<IP_ADDRESS>/userdata/0b781566-3e14-4735-8ddd-c8d0d373fd0b.ova (vol id: d16c1961-e73d-4359-a5c4-08392252097b)\n']
nicolas@rzr:~/errorhwversion$ cat MarvinLogs/test_templates_IM7Q1U/failed_plus_exceptions.txt
2020-06-17 06:28:52,727 - CRITICAL - FAILED: test_04_extract_template: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_templates.py", line 738, in test_04_extract_template\n    % (formatted_url, self.template_2.id)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 450, in fail\n    raise self.failureException(msg)\n', 'AssertionError: Extract Template Failed with invalid URL http://<IP_ADDRESS>/userdata/4e440d6a-a7ad-4c60-8394-91fc42017929.ova (template id: f2e89c77-4e79-4132-9ca5-7296731e38f0)\n']
nicolas@rzr:~/errorhwversion$ cat MarvinLogs/test_iso_YCX2AZ/failed_plus_exceptions.txt
2020-06-16 19:59:16,843 - CRITICAL - FAILED: test_04_extract_Iso: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_iso.py", line 413, in test_04_extract_Iso\n    % (formatted_url, self.iso_2.id)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 450, in fail\n    raise self.failureException(msg)\n', 'AssertionError: Extract ISO Failed with invalid URL http://<IP_ADDRESS>/userdata/77e8e5fd-66e9-408f-a483-792955ca497a.iso (ISO id: 6d537602-8e17-40cf-9b2b-147a742c1f50)\n']

Extracting templates, volumes, ISOs is not working as the Apache server does not start on the SSVM. Investigating the root cause.
These are logs from SSVM, when attempting to extract a template:
2020-06-18 03:26:57,927 INFO  [storage.template.HttpTemplateDownloader] (pool-1-thread-1:null) Starting download from http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-vmware.ova to /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/dnld3255812220891684509tmp_ remoteSize=23308288 , max size=53687091200
2020-06-18 03:27:02,790 INFO  [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) Download Completion for jobId: 8cc25d83-e283-42b6-a24c-15b606807140, status=DOWNLOAD_FINISHED
2020-06-18 03:27:02,797 INFO  [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) local: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/dnld3255812220891684509tmp_, bytes=23308288, error=Downloaded 23308288 bytes (download complete remote=23308288bytes), pct=100
2020-06-18 03:27:02,798 INFO  [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) No checksum available for 'dnld3255812220891684509tmp_'
2020-06-18 03:27:03,239 INFO  [storage.template.OVAProcessor] (pool-1-thread-1:null) Template processing. templatePath: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202, templateName: 9473629b-46c8-3dd5-b1ae-4d6a8161721d
2020-06-18 03:27:03,253 INFO  [storage.template.OVAProcessor] (pool-1-thread-1:null) Template processing - untar OVA package. templatePath: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202, templateName: 9473629b-46c8-3dd5-b1ae-4d6a8161721d
2020-06-18 03:27:10,785 INFO  [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-5:null) Determined host <IP_ADDRESS> corresponds to IP <IP_ADDRESS>
2020-06-18 03:27:10,790 INFO  [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-5:null) MDOVE Secondary storage mount point: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76
2020-06-18 03:27:10,970 INFO  [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-6:null) Determined host <IP_ADDRESS> corresponds to IP <IP_ADDRESS>
2020-06-18 03:27:26,162 INFO  [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Determined host <IP_ADDRESS> corresponds to IP <IP_ADDRESS>
2020-06-18 03:27:26,195 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Creating OVA using MetaFile: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova.meta
2020-06-18 03:27:26,206 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) loading properties from ova meta file: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova.meta
2020-06-18 03:27:26,206 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) ovafilename: 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova
2020-06-18 03:27:26,207 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) ovffilename: macchinina-vmware.ovf
2020-06-18 03:27:26,207 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) diskname macchinina-vmware-disk1.vmdk
2020-06-18 03:27:26,208 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) exportDir: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202
2020-06-18 03:27:26,208 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Sync file system before we package OVA..., before tar
2020-06-18 03:27:26,209 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) ova: 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova, ovf:macchinina-vmware.ovf, vmdk:macchinina-vmware-disk1.vmdk.
2020-06-18 03:27:28,147 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Package OVA for template in dir: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202cmd: tar -cf 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova macchinina-vmware.ovf macchinina-vmware-disk1.vmdk
2020-06-18 03:27:28,167 INFO  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) OVA file: 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova is created and ready to extract.
2020-06-18 03:27:28,255 WARN  [storage.template.UploadManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Error in starting apache2 service err=Job for apache2.service failed because the control process exited with error code.See "systemctl status apache2.service" and "journalctl -xe" for details.
2020-06-18 03:27:28,255 ERROR [storage.template.UploadManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Error in starting Apache server

root@s-2-VM:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2020-06-18 03:27:28 UTC; 3min 40s ago
     Docs: https://httpd.apache.org/docs/2.4/
  Process: 3447 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

Jun 18 03:27:28 s-2-VM systemd[1]: Starting The Apache HTTP Server...
Jun 18 03:27:28 s-2-VM apachectl[3447]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
Jun 18 03:27:28 s-2-VM apachectl[3447]: Action 'start' failed.
Jun 18 03:27:28 s-2-VM apachectl[3447]: The Apache error log may have more information.
Jun 18 03:27:28 s-2-VM systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 18 03:27:28 s-2-VM systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 18 03:27:28 s-2-VM systemd[1]: Failed to start The Apache HTTP Server.

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@rhtyd let's regenerate new packages and kick tests again, as previous 2 tests ran against the same packages
@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1414

@blueorangutan test centos7 vmware-67u3

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian test result (tid-1766)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45305 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4117-t1766-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 77 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_07_reboot_ssvm
Failure
30.70
test_ssvm.py

test_04_rvpc_network_garbage_collector_nics
Error
3799.25
test_vpc_redundant.py

test_04_rvpc_network_garbage_collector_nics
Error
3799.27
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
0.01
test_vpc_redundant.py

ContextSuite context=TestVPCRedundancy>:teardown
Error
0.01
test_vpc_redundant.py

@nvazquez can you check why test_ssvm is failing (this test generally does not fail), also if other tests failures are env related?

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@rhtyd the script ssvm_check reported an error, seems one of the services did not start properly, let's see if the issue persists in the next test results

@nvazquez alright, usually the failed test is not a usual intermittent test failure. Thanks.

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1471

@blueorangutan test centos7 vmware-67u3

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian test result (tid-1865)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45868 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4117-t1865-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Smoke tests completed. 82 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_07_reboot_ssvm
Failure
25.43
test_ssvm.py

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1490

@blueorangutan test centos7 vmware-67u3

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@nvazquez can you check in backend jenkins why tests are taking time, is there something in the defaults changed causing issues on vcenter side? Thanks.

@blueorangutan test centos7 vmware-67u3

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@rhtyd there was an issue on Trillian which caused the failure of the test jobs, it is now fixed

Trillian test result (tid-1928)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44607 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4117-t1928-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Intermittent failure detected: /marvin/tests/smoke/test_password_server.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 78 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_router_dhcphosts
Failure
11.71
test_router_dhcphosts.py

ContextSuite context=TestRouterDHCPHosts>:teardown
Error
21.98
test_router_dhcphosts.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
444.36
test_vpc_redundant.py

Better than before, please advise when this is stable and ready for review/merge @nvazquez thnx

@rhtyd it is ready for review/merge
@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1512

@blueorangutan test centos7 vmware-67u3

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian test result (tid-1974)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 51316 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4117-t1974-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 80 look OK, 3 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestServiceOfferings>:setup
Error
0.12
test_service_offerings.py

ContextSuite context=TestSnapshotRootDisk>:setup
Error
0.00
test_snapshots.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
434.22
test_vpc_redundant.py

@rhtyd first two tests failed on 'AssertionError: get_test_template() failed to return template\n' and the third one seems an intermittent issue (not seen on previous test runs), are you ok to merge it?

LGTM


chore(Dockerfile): update fluentd to 0.14.13

See https://github.com/fluent/fluentd/blob/master/ChangeLog
Many bugs have been fixed, including this memory leak:

in_tail: Untracked files should be removed from watching list to avoid memory bloat
https://github.com/fluent/fluentd/pull/1467

Thanks to @jayjun for noticing this in the 0.14.13 fluentd release. 🤞

I think this should be a pretty harmless change.


Fix String->Boolean type conversion

Following from #951, String to Boolean conversion is not working. After prodding around, I think the issue is that Neo4j::Shared::TypeConverters#converters has all class keys except [true, false] for bools. When you declare a property's type as Boolean, the converted_property method cannot locate the BooleanConverter.
This PR makes it so the ActiveAttr::TypeCasting::Boolean is registered as a converter by making BooleanConverter#convert_type return that class.

[x] add failing spec
[x] fix converter

This is good! I branched your branch to make some slight changes -- we need converted? to inspect an array, so I fixed that and added a test. It'll be in another PR in a moment. Great catch, thanks for taking care of this.

Awesome! Thanks for the final work and merging!


Can not analyze this QRCode

Running on android.

Can you analyze other QRCodes successfully @tbm98 ?

@teolemon yes. I think problem is size of image file. I tried to compress this image to smaller file size and it work.

I can't really do anything about it. The live scanner registers the image correctly.


chore(release) - tag cometbft/api for v1.0.0-rc2 release

In preparation for the v1.0.0-rc2 release, we need to tag the api module according to the pre-release instructions.
The proto files differ from main to v1.x so the tag for the api v1.0.0-rc2 should be cut from the v1.x branch and the go.mod in v1.x should be updated to point to v1.0.0-rc2
diff --git a/proto/cometbft/abci/v1/types.proto b/proto/cometbft/abci/v1/types.proto
index 0ef78d009..2b05f226a 100644
--- a/proto/cometbft/abci/v1/types.proto
+++ b/proto/cometbft/abci/v1/types.proto
@@ -6,7 +6,6 @@ import "cometbft/types/v1/params.proto";
 import "cometbft/types/v1/validator.proto";
 import "gogoproto/gogo.proto";
 import "google/protobuf/timestamp.proto";
-import "google/protobuf/duration.proto";

 option go_package = "github.com/cometbft/cometbft/api/cometbft/abci/v1";

@@ -260,9 +259,6 @@ message InfoResponse {

   int64 last_block_height   = 4;
   bytes last_block_app_hash = 5;
-
-  map<string, uint32> lane_priorities = 6;
-  string default_lane = 7;
 }

 // InitChainResponse contains the ABCI application's hash and updates to the
@@ -306,8 +302,6 @@ message CheckTxResponse {
   // removed).
   reserved 9 to 11;
   reserved "sender", "priority", "mempool_error";
-
-  string lane_id = 12;
 }

 // CommitResponse indicates how much blocks should CometBFT retain.
@@ -444,12 +438,6 @@ message FinalizeBlockResponse {
   // that execution of the transactions was deterministic.
   // It is up to the application to decide which algorithm to use.
   bytes app_hash = 5;
-  // delay between the time when this block is committed and the next height is started.
-  // previously `timeout_commit` in config.toml
-  google.protobuf.Duration next_block_delay = 6 [
-    (gogoproto.nullable) = false,
-    (gogoproto.stdduration) = true
-  ];
 }

 // ----------------------------------------

I suggest that on main we create a new tag e.g. v1.0.0-dev and update the go.mod on main to point to that.

Tagged -> api/v1.0.0-rc2

@andynog  can we close this or we move it to December?


Fix the Spark 340 build error related to mapKeyNotExistError

Signed-off-by: remzi<EMAIL_ADDRESS>Related to #6383
Rational of this PR
mapKeyNotExistError has been removed since spark 3.4.0. We update the shim layers to match the change.
Please look at #6383 to find more context.
Build Spark 340
branch 22.12
...
[ERROR] [Error] /home/remziy/working/rapids/spark-rapids/sql-plugin/src/main/330+/scala/org/apache/spark/sql/rapids/shims/RapidsErrorUtils.scala:38: value mapKeyNotExistError is not a member of object org.apache.spark.sql.errors.QueryExecutionErrors
...
[ERROR] 35 errors found

this patch
...
[ERROR] 34 errors found

Changes in the PR

Move the RapidsErrorUtils.scala under spark330+ to spark330until340
Add a new RapidsErrorUtils.scala for Spark 340, in which we

mark the function mapKeyNotExistError as deprecated
change the the implementation of mapKeyNotExistError to always throw UnsupportedOperationException at runtime.
In this way, we can make sure that developers who occasionally use mapKeyNotExistError in their code will get warnings at both compile time and runtime when building Spark 340.

@nartal1 Could you please help to review?

While working on other build issues, I had similar solution to move RapidsErrorUtils.scala from 330+ to spark330until340 but it didn't look ideal because we end up copying same methods in spark330until340 shim  and spark340+ including those whose behavior doesn't change between Spark versions.
Met with @gerashegalov and his suggestion is to create a trait RapidsErrorUtilsFor33Xand34X in 330+ shim which has shared methods. And have object RapidsErrorUtils extend this from spark330until340 and 340+ which will have version specific methods. I am working on that in my current implementation.

Convert to draft because the implementation in #6876 is better.

I will close this PR and create a new one because there are so many conflicts


Add pill for log-gauge status

Instead of reading "Lint: Passed" should read "LINT [PASSED]" where passed is in a smaller font and in a pill, perhaps on the right side of the header as well. Should auto capitalize all header text.

changes merged in #20


Cant install git-projects

ATOM 1.25.1
MAC 10.12.5
After opening atom, I received an report for script, git-projects and hydrogen and there are some incompatibilities since some elements have been build for earlier versions of atom. So I tryied to rebuild and then reinstall those packages.  git-projects  still does not work with the following report:
 apm install git-projects
  Installing git-projects to /Users/me/.atom/packages ✗

  ><EMAIL_ADDRESS>install /private/var/folders/sz/cl3xl4cn0pjd9rwpb_vw1xmd7xkcgp/T/apm-install-dir-118220-7912-ctis4h.xwbuzncdi/node_modules/git-projects/node_modules/git-utils
  > node-gyp rebuild

  /private/var/folders/sz/cl3xl4cn0pjd9rwpb_vw1xmd7xkcgp/T/apm-install-dir-118220-7912-ctis4h.xwbuzncdi
  └── (empty)

  npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
  gyp ERR! configure error
  gyp ERR! stack Error: Python executable "/Applications/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh" is v3.6.4, which is not supported by gyp.
  gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
  gyp ERR! stack     at failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:454:14)
  gyp ERR! stack     at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:443:9
  gyp ERR! stack     at ChildProcess.exithandler (child_process.js:197:7)
  gyp ERR! stack     at emitTwo (events.js:106:13)
  gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
  gyp ERR! stack     at maybeClose (internal/child_process.js:877:16)
  gyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:334:11)
  gyp ERR! stack     at emitOne (events.js:96:13)
  gyp ERR! stack     at Socket.emit (events.js:188:7)
  gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:498:12)
  gyp ERR! System Darwin 16.6.0
  gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
  gyp ERR! cwd /private/var/folders/sz/cl3xl4cn0pjd9rwpb_vw1xmd7xkcgp/T/apm-install-dir-118220-7912-ctis4h.xwbuzncdi/node_modules/git-projects/node_modules/git-utils
  gyp ERR! node -v v6.9.5
  gyp ERR! node-gyp -v v3.4.0
  gyp ERR! not ok
  npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/sz/cl3xl4cn0pjd9rwpb_vw1xmd7xkcgp/T/apm-install-dir-118220-7912-ctis4h.xwbuzncdi/package.json'
  npm WARN apm-install-dir-118220-7912-ctis4h.xwbuzncdi No description
  npm WARN apm-install-dir-118220-7912-ctis4h.xwbuzncdi No repository field.
  npm WARN apm-install-dir-118220-7912-ctis4h.xwbuzncdi No README data
  npm WARN apm-install-dir-118220-7912-ctis4h.xwbuzncdi No license field.
  npm ERR! Darwin 16.6.0
  npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/me/.atom/.apm/.apmrc" "--userconfig" "/Users/me/.atom/.apmrc" "install" "/private/var/folders/sz/cl3xl4cn0pjd9rwpb_vw1xmd7xkcgp/T/d-118220-7912-1v2pibo.18ayczncdi/package.tgz" "--runtime=electron" "--target=1.7.11" "--arch=x64" "--global-style"
  npm ERR! node v6.9.5
  npm ERR! npm  v3.10.10
  npm ERR! code ELIFECYCLE

  npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
  npm ERR! Exit status 1
  npm ERR!
    npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
  npm ERR! Make sure you have the latest version of node.js and npm installed.
  npm ERR! If you do, this is most likely a problem with the git-utils package,
  npm ERR! not with npm itself.
  npm ERR! Tell the author that this fails on your system:
    npm ERR!     node-gyp rebuild
  npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs git-utils
  npm ERR! Or if that isn't available, you can get their info via:
  npm ERR!     npm owner ls git-utils
  npm ERR! There is likely additional logging output above.

  npm ERR! Please include the following file with any support request:
  npm ERR!     /private/var/folders/sz/cl3xl4cn0pjd9rwpb_vw1xmd7xkcgp/T/apm-install-dir-118220-7912-ctis4h.xwbuzncdi/npm-debug.log
  npm ERR! code 1

Atom 1.58.0
Windows 11
I have the same issue with this package, any updates?


test: add baby bear poseidon2 benchmark

Though the internal matrix used in Plonky3 and Horizen is different for baby bear, Tachyon implements both types. As such, benchmark comparisons cannot purely be done between Plonky3 and Horizen, and benchmark results can only compare one vendor at a time with Tachyon.

please add the scope benchmark to all the commits.


Harmonize proc_pipe runscripts

Make sure that each individual pipeline's runscript takes a subject ID and a session ID
Add a driver script that loops over all subject sessions and calls the pipeline (for use in job arrays)

Will wait after TractoFlow code is added to the repo.

Notes on using Boutiques descriptors for runscripts:
Inputs

Subject ID
Session ID
Global configs

Contain path to template invocation
Template invocation cannot contain subject ID or session ID

Runs?
bids_filter.py etc.

We fill them in at runtime inside the runscript

Output directory (in case of permission errors)

Pending questions

How to handle things like the overlays in Heudiconv
What if we need to change the bids_filter.py file?

Addressed in the refactor in #205.


adding Washington Preparatory School

https://waprep.org/
Website
https://waprep.org/courses/ib-computer-science-sl-hl/
Proof of Computer Science Course

@KurthaTheBurtha I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host waprep.edu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Track some field only if condition

Hello,
is possible to track some field only if?
For example I want to track Order model, field state. I've got some states (cart, sent, in_process...) and I want to track it only if state is sent, in_process and not when it is cart.
Is possible something like this?

This was added in https://github.com/mongoid/mongoid-history/pull/212