Add missing ENABLE_JS_BUILTINS guards

Currently, disabling ENABLE_JS_BUILTINS will not result in a successful build, because a backend optimization was added for EngineInterfaceObject_CallInstanceFunction which did not correctly use the guard.
This change adds the guard so that CC can be built with ENABLE_JS_BUILTINS disabled.
The whitespace changes are due to incorrect whitespace before newlines.

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


Asset integration

Research how weapons could be turned into assets and what structural changes that requires.

Putting on pause, asset system is lacking and would clutter base.

Could you use entity prefabs?

Haven't looked into entity prefabs yet, not sure how beneficial it would be to use them.
If you have a good idea, let me know!

Will be used with scene rework.


Section to Add Certificates

Extra comments are Removed
Added description for Certificates
Component Renamed to Certificate

@Vyshnav001 Add Some space above title following other components.

@Vyshnav001 Add Some space above title following other components.

 Is this ok?


Append a summary $GITHUB_STEP_SUMMARY

I find myself scrolling to the end of the step to get to the "epilogue":
  816 passing (8m)
  79 pending
  2 failing

I think it would be great if this was written to the $GITHUB_STEP_SUMMARY file when the run ends, this way users can get an idea of the state of the tests just by looking at the run overview page.

Fixed by https://github.com/daniellockyer/mocha-github-actions-reporter/pull/16


tab.('show') not setting div class="tab-pane active in"

I was using an older version of bootstrap.min.js which had a bug with datepicker change event which fired up 3 times. I had to download the latest version to get it solved but then I got another problem. Everytime I had to do something like $('#planeamento-tabs a[href=#lista-planeamentos]').tab('show'); the div was never shown...
I think there might be a bug on the latest version using this feature.

Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
(Please note that this is an automated comment.)


Unknown command HOST

I am trying to compile ghc on a Windows 7 machine. So far ghc-stage1 built fine. But compiling libffi fails with  Command "HOST" not found (roughly translated as for some reason the shell spits out german errors).
I invoke hadrian using stack with the command line from the tutorial:
stack exec --stack-yaml=hadrian/stack.yaml -- hadrian/build.bat -j --flavour=quick
I manually unpacked libffi-3.2.1.tar tarball and tried stack exec ./configure and stack exec make and it built just fine.
As I know it HOST denotes an environment variable and not a command. So maybe something is incorrectly substituted? Im afraid I don't know anything about autoconf and make.
Attached is the hadrian output for libffi:
/--------------------------------------------------------------------\
| Run Make "_build/stage1/libffi" (stage = Stage1, package = libffi) |
|      input: none                                                   |
|  => output: none                                                   |
\--------------------------------------------------------------------/
gmake.exe: Entering directory `C:/Users/abiehl/git/ghc/_build/stage1/libffi'
Makefile:2727: warning: overriding recipe for target `tags'
Makefile:2716: warning: ignoring old recipe for target `tags'
Makefile:2762: warning: overriding recipe for target `ctags'
Makefile:2750: warning: ignoring old recipe for target `ctags'
Der Befehl "HOST" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
gmake.exe: *** [install] Error 1
gmake.exe: Leaving directory `C:/Users/abiehl/git/ghc/_build/stage1/libffi'
shakeArgsWith    0.000s    0%
Function shake   0.176s    0%
Database read    0.447s    0%
With database    0.010s    0%
Running rules  154.078s   99%  =========================
Total          154.710s   99%
Error when running Shake build system:
* OracleQ (PackageDataKey ("_build/stage1/rts/package-data.mk","_build_stage1_rts_COMPONENT_ID"))
* _build/stage1/rts/package-data.mk
* _build/stage1/rts/ffi.h
* _build/stage1/rts/ffi.h _build/stage1/rts/ffitarget.h
user error (Development.Shake.cmd, system command failed
Command: cmd.exe /d/q/c C:\Temp\extra-dir-594045904475\s.bat
Exit code: 2
Stderr:
Makefile:2727: warning: overriding recipe for target `tags'
Makefile:2716: warning: ignoring old recipe for target `tags'
Makefile:2762: warning: overriding recipe for target `ctags'
Makefile:2750: warning: ignoring old recipe for target `ctags'
Der Befehl "HOST" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
gmake.exe: *** [install] Error 1
)

@alexbiehl Can you run Make manually in _build/stage1/libffi? Looks like on your system Make is called gmake, so what happens if you run:
cd _build/stage1/libffi
gmake install

If this fails, perhaps you can also try make instead of gmake. (Looks like this is what you tried via Stack already, but without the install argument).
Note, Hadrian uses gmake because this is what the configure script tells it to use. To double-check this, have a look at the hadrian/cfg/system.config file produced by configure -- what path does it provide for make?

Hello Andrey,
Looking into hadrian/cfg/system.config indeed gives make = gmake.
Trying your suggestion results in the mentioned error. Trying cd _build/stage1/libffi && stack exec make install works as expected.
I am wondering since I execute the build using stack exec ... why it
doesn't pick make from stack?
Andrey Mokhov<EMAIL_ADDRESS>schrieb am Di., 7. Juni 2016 um
23:48 Uhr:

@alexbiehl https://github.com/alexbiehl Can you run Make manually in
_build/stage1/libffi? Looks like on your system Make is called gmake, so
what happens if you run:
cd _build/stage1/libffi
gmake install
If this fails, perhaps you can also try make instead of gmake. (Looks
like this is what you tried via Stack already, but without the install
argument).
Note, Hadrian uses gmake because this is what the configure script tells
it to use. To double-check this, have a look at the
hadrian/cfg/system.config file produced by configure -- what path does it
provide for make?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowleopard/hadrian/issues/261#issuecomment-224425121,
or mute the thread
https://github.com/notifications/unsubscribe/AByiiTrAKcKrJwxZa0AeiMUIA7y-bATSks5qJecggaJpZM4Ivx97
.

@alexbiehl Hadrian doesn't pick which Make to use. This is decided by configure (I personally don't like this two layer architecture and find it confusing, but that's how things currently are in GHC; see #227).
The easiest fix for you is to edit system.config.in replacing @MakeCmd@ with make, hence picking the right Make manually. A more long-term solution is to investigate why configure is picking gmake and perhaps fix this in GHC.

That did it! Thank you!
Andrey Mokhov<EMAIL_ADDRESS>schrieb am Mi., 8. Juni 2016 um
10:47 Uhr:

@alexbiehl https://github.com/alexbiehl Hadrian doesn't pick which Make
to use. This is decided by configure (I personally don't like this two
layer architecture and find it confusing, but that's how things currently
are in GHC; see #227 https://github.com/snowleopard/hadrian/issues/227).
The easiest fix for you is to edit system.config.in replacing @MakeCmd@
with make, hence picking the right Make manually. A more long-term
solution is to investigate why configure is picking gmake and perhaps fix
this in GHC.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowleopard/hadrian/issues/261#issuecomment-224527505,
or mute the thread
https://github.com/notifications/unsubscribe/AByiiR08dosBmtIoWItRcyCwwnT7ouQRks5qJoGVgaJpZM4Ivx97
.

@alexbiehl Great!
@hvr Do I understand correctly that the recommended way of solving this problem is to add --with-make= flag to configure so that users can manually pick which Make to use if they like? If we had this feature then the right solution to this issue in Hadrian would be to edit UserSettings.hs like this:
-- | Modify default build command line arguments.
userArgs :: Args
userArgs = builder (Configure ".") ? arg "--with-make=make"

This has advantages, because it's tracked (Hadrian reruns all affected rules) and the users don't have to touch system.config.in file.

@snowleopard The make command is special as it's one of the few things that are not configured by ./configure in Autoconf's model. The user is in charge to call the proper make implementation, and this choice is then recursively passed on via a MAKE-variable, c.f. https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html
So even if you were to configure a make implementation to use, the use still would have to call make, and you only risk conflicting information between of what configure probed, and what the user really invoked.
That's why makes no sense to tell configure, and the proper way to detect that somebody is using the wrong make implementation is to add a check directly in the Makefiles which require e.g. GNU make semantics.

alexbiehl: can you run the following two commands please:

gmake --version
make --version

If gmake exists, it should work. If it doesn't, it would be good to know why not.

I ran the commands:
$ gmake --version
GNU Make 3.81.90
Built for x86_64-w64-mingw32
Copyright (C) 2009  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ make --version
GNU Make 4.1
Built for x86_64-pc-msys
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Thomas Miedema<EMAIL_ADDRESS>schrieb am Mi., 8. Juni 2016 um
14:43 Uhr:

alexbiehl: can you run the following two commands please:

gmake --version
make --version

If gmake exists, it should work. If it doesn't, it would be good to know
why not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowleopard/hadrian/issues/261#issuecomment-224577147,
or mute the thread
https://github.com/notifications/unsubscribe/AByiiY-SRz0fVjMzzrvLVv30nLkzJqRFks5qJrj0gaJpZM4Ivx97
.

Thanks. GNU Make 3.81 was released in 2006.
configure.ac currently contains:
# We got caught by
#     http://savannah.gnu.org/bugs/index.php?1516
#     $(eval ...) inside conditionals causes errors
# with make 3.80, so warn the user if it looks like they're about to
# try to use it.
# We would use "grep -q" here, but Solaris's grep doesn't support it.
print_make_warning=""
checkMake380() {
    make_ver=`$1 --version 2>&1 | head -1`
    if echo "$make_ver" | grep 'GNU Make 3\.80' > /dev/null
    then
        print_make_warning="true"
    fi
    if echo "$make_ver" | grep 'GNU Make' > /dev/null
    then
        MakeCmd=$1
        AC_SUBST(MakeCmd)
    fi
}

checkMake380 make
checkMake380 gmake

So 3.80 is known to be buggy, but what about 3.81?
@kgardas: which version of make or you using? Maybe we should just increase the lower bound to 3.82 or even higher?

That's why it makes no sense to tell configure (nor for configure to pick any make)

@hvr Well, that's what we have already, see the above comment by @thomie.
I fail to see why we should treat Make differently from other builders: Hadrian occasionally runs Make to build stuff. Like GMP or Libffi. Make is just another builder! So if configure is our magic solution to probing and picking right builders, why not use it in this case too?
(But then if you tell me not to use configure then I certanly won't fight over this ;-) I'll happily let people make the choice in Hadrian.)

@snowleopard well, @thomie pointing out that configure is doing it now doesn't invalidate my argument; it's still wrong for configure to check for make properties since configure does not control which make implementation the user will call afterwards.
Maybe it's unclear what I mean; here's what will go wrong:
# first we configure with the "good" make executable
$ ./configure --with-make=/opt/freeware/bin/gmake
# but then the user, or the tooling which is unaware of this choice does, calls a different `make` executable
$ make all
# ...and now whatever `configure` assumed about the `gmake` is no longer valid for `make`

@hvr
I doubt it matters which version of make is used for the toplevel Makefile (which doesn't even exist yet, so your point, if valid, should be very low on any priorities list). That toplevel Makefile shouldn't do anything fancy at all.
But Hadrian also needs the call make for libffi and libgmp, and there the version does matter (and can be different from the one the user called the toplevel Makefile with) as evidenced by this ticket.
I agree with @snowleopard:

I fail to see why we should treat Make differently from other builders: Hadrian occasionally runs Make to build stuff. Like GMP or Libffi. Make is just another builder!

Closing this, as the issue isn't really in Hadrian, but in the GHC's configure script.


Symfony 4.1

Is this bundle compatible with Symfony4.1?
I'm having an issue using this bundle with a project on Symfony4.1.
Here is my service declaration:
services:
    App\Form\ProjectManager\FormFlow\CreateProjectFlowType:
        parent: craue.form.flow
        public: true
        autowire: true
        autoconfigure: false

My form extends FormFlow, but when I call the bind method on my form flow
$flow->bind($project);
I get the following error:

Call to a member function getCurrentRequest() on null

Can someone help?
Thanks

I don't know if this will help you but I got it working by manually wiring the service in service.yaml as:
services:
create.project.flow.type:
class: App\Form\ProjectManager\FormFlow\CreateProjectFlowType
public: true
autowire: false
autoconfigure: false
parent: craue.form.flow
Where the id was one chosen at will and the class location was that of the flow class that extends FormFlow.
And in my controller I did:
$flow = $this->get('create.project.flow.type); //Using the service id
$flow->bind($project);
And it worked, beware of this module compatibility with Symfony 4.1 as other issues also come up depending on what are you trying to work on.

Thanks, that worked for me 👍

I don't know if this will help you but I got it working by manually wiring the service in service.yaml as:
services:
create.project.flow.type:
class: App\Form\ProjectManager\FormFlow\CreateProjectFlowType
public: true
autowire: false
autoconfigure: false
parent: craue.form.flow
Where the id was one chosen at will and the class location was that of the flow class that extends FormFlow.
And in my controller I did:
$flow = $this->get('create.project.flow.type); //Using the service id
$flow->bind($project);
And it worked, beware of this module compatibility with Symfony 4.1 as other issues also come up depending on what are you trying to work on.

Thanks, this helped me out too.

ich think this is also a good solution:
services:
    _instanceof:
        Craue\FormFlowBundle\Form\FormFlow:
            calls:
                -
                    method: setDataManager
                    arguments: [<EMAIL_ADDRESS>]
                -
                    method: setFormFactory
                    arguments: [<EMAIL_ADDRESS>]
                -
                    method: setRequestStack
                    arguments: [ '@request_stack' ]
                -
                    method: setEventDispatcher
                    arguments: [ '@event_dispatcher' ]


Problem with missile queue when using multiple games at one time

Should have closed in the commit but im bad


Question: is it possible to change icon in Action Menu?

Hoi, I was wondering if it is possible to change the 3 vertical dots of the action-menu to something else, and how could I do it.

Thanks!

Hi @Woile, why would you like to do this? At first glance, it seems like consistency gets a boost by always showing the three vertical dots. What would you change it to? Is there a valid scenario?

Hey! So I'm trying to build a "smart breadcrumb", by combining the breadcrumb with the action-menu, I'm not sure if using action-menu for this is correct, but it seems like the only component that fits my needs.
The idea is that you would be able to click in an icon and you should see related links there.
As an illustrative example, let's suppose we have Groups and Members, if you navigate to member Jon, I'd like my breadcrumb to look like this:
Home > Group Foo > Member Jon ˅
When you click on the ˅ you should see the action menu appearing showing other members.

I like your idea. Under normal circumstances, the dots should suffice.
But it looks like a nice addition to make it possible to place the trigger on a different icon/element.
One way would be to add a different trigger class with another icon in the :before pseudo class. But then we again would have a pre selected number of icons.
Does anyone has another, more flexible approach?

Hi @Woile,
You can overwrite the content property .action-menu .action-menu__trigger::before. When using Sass you can use the UI icon variables.
.breadcrumb {
  .action-menu .action-menu__trigger::before {
    content: "$ui-chevron-down";
  }
}

If we get more requests for a custom trigger icon in the action menu we can look for a standardized solution.

Thanks! Super cool!


help(MatSelect): MatSelect .cdk-overlay-pane fixed width with Angular Material 15

What are you trying to do?
I am trying to migrate a large app using Angular Material to v15 and like many of us I have to overwrite some default styles on Angular Material components.
I am facing an issue with the new MatSelect v15. It seems that now the default behavior is to make the overlay-pane use the exact same width as its mat-select related component, directly by setting the width to the element (.cdk-overlay-pane) styles.
If the mat-form-field or mat-select have a small width, the mat-option texts get word wrapped and it is pretty ugly :
https://stackblitz.com/edit/angular-sbq67h?file=src/app/select-overview-example.html
Is there any way I could prevent this fixed width on the related .cdk-overlay-pane for my mat-select component ?
What troubleshooting steps have you tried?
Adding white-space: nowrap; to .mat-mdc-option .mdc-list-item__primary-text prevent the wrapping issue but the .cdk-overlay-pane fixed width do not allow any overflow. The @Input panelClass can't help because .cdk-overlay-pane is a parent.
Reproduction
Steps to reproduce:

https://stackblitz.com/edit/angular-sbq67h?file=src/app/select-overview-example.html

Environment

Angular: 15.0.4
CDK/Material: 15.0.4
Browser(s): Google Chrome v108
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

I have a same problem and this is my css override solution
.cdk-overlay-pane:has(.mat-mdc-select-panel) {
width: auto !important;
}

@tarn2206 good solution but the :has selector is still an experimental selector and it is not fully implemented in all browsers (e.g Firefox) https://caniuse.com/?search=has

Really you can give value to the property "_overlayPanelClass" and then use
.width-auto
{
   width:auto;!important
}

You can make using a ViewChild
  @ViewChild('select',{static:true}) select:MatSelect
  ngOnInit()
  {
    this.select._overlayPanelClass="width-auto"
  }

Or even, you create a directive
@Directive({
  selector: 'mat-select [auto]'
})
export class SelectWidthAutoDirective {
  @Input('auto') set _(value:string)
  {
    this.matselect._overlayPanelClass=value
  }
  constructor(private matselect:MatSelect){}
}

And use like
 <mat-select auto="width-auto">
   ...
</mat-select>

See stackblitz

Thank you for the directive, however, there is a case when the input becomes wider then values, so the dropdown's width becomes smaller than host element. Can we achieve min-width = mat-select width?

@EliseoPlunker @SonicReal Angular team gave us a way to override this
1 - Create CSS Class:
.expandable-overlay-panel
{
   width:auto; !important
}

2 - Put this on top of your component:
providers: [
    {
      provide: MAT_SELECT_CONFIG,
      useValue: { overlayPanelClass: 'expandable-overlay-panel' }
    }
  ],

A slight improvment on @GabrielBB's approach would be to use min-width over width.
The advantage is if you have no long options in your list your options will still extend to the minimum of the trigger label. It is particularly helpful in cases where options are dynamically being generated.  It also allows for the removal of the !important.
.expandable-overlay-panel
{
   min-width:auto;
}

providers: [
    {
      provide: MAT_SELECT_CONFIG,
      useValue: { overlayPanelClass: 'expandable-overlay-panel' }
    }
  ],

Duplicate of https://github.com/angular/components/issues/26000.


Releases/v2

The PR is to include support for Azure Gov Cloud. The details are listed in ADR doc:
https://github.com/github/Microsoft-Attach/blob/users/zainudv/actionsazuregovcloud/adrs/azure-integration/GitHubAction_AzureGovCloudIntegration.md
We took the #4 approach mentioned in ADR to align with Azure stack

closing this PR as raised a new PR


Update dcmetro.jade

This looks to be an unintentional PR - not sure why we want to change Red to Silver?


error

Nov 27 09:39:11 AM  ERROR: Could not find a version that satisfies the requirement re_edge_gpt (from -r requirements.txt (line 5)) (from versions: none)
Nov 27 09:39:11 AM  ERROR: No matching distribution found for re_edge_gpt (from -r requirements.txt (line 5))

Well I can install it.
Try use
 pip install re-edge-gpt

pip install -r --upgrade is success too.
What env you are using for this.

fixed the issue, thx


Fix lint error in start.go file

File: start.go
Line 33: warning: exported type CmdStartOptions should have comment or be unexported (golint)

happy to take this

@Abby3017 Sure please go ahead


Question: Can you recover from an exception thrown in a consumer in a message filter?

I have a consume filter and my consumer is throwing an exception by design. I want to handle that exception in a filter and have the context be processed as a success. Specifically, I am looking to submit a delayed message (and I can accomplish that) and have the original consume message succeed, but there are other areas where I may want a filter to respond to an exception in a similar manner.
In this case I am using exceptions in the consumer to control flow in the filters.
Thoughts please?

Any reason why you want to scatter your logic around like that?
From my understanding you are throwing exception as a part of some sort of business logic. I would keep it as close as possible to execution logic.
I would do it this way in consumer:
public MyEventConsumer(IBusinessExceptionHandler handler)
{
        _handler = handler;
}

public Task Consume(ConsumeContext<MyEvent> context)
{
        try
        {
                //Some business logic
                MyBusinessLogic(context.Message);
        }
        catch (MyBusinessException ex)
        {
                _handler.Handle(context, ex);
        }
        //Will be successful in both cases but will behave like faulted in case of other Exception
}

This way you can:

keep publishing Fault and retrying (and eventually reaching error queue) on exceptions that occured out of your control
share MyBusinessException like you wanted to
test MyEventConsumer and IBusinessExceptionHandler independently

Michal,
Thank you for engaging with your guidance. I agree with you conceptually, but in this case there are reasons (little hard to explain without publishing a ton of code that is private, but I will try).
We have created a framework around MT that completely abstracts bus-mechanics from the engineers so they can focus on business code. We therefore have business and transport tiers, and MT is a deep form of transport.  It includes automatically creating and wiring up handlers and managing routing in a fluent style. It allows different features to be opted into e.g. large message handling, failed message handling, etc. So the “business” functionality you are referencing is actually higher level plumbing and framework code. I can extend a bunch of classes “handlers” to deal with delayed retries, but it is just cleaner to plug functionality in the pipeline.
So ideally in filters, if a send throws an exception it would be great to be able to handle it in the pipeline and take some compensating action or alternate action and not generate a faulted message delivery.
I do understand exception handling can be taken care of in the consumer or the retry configurator, but with retry being a configuration method, injecting policy into it is non-trivial.
Really like the GreenPipes underpinning of MT and was trying to use every inch of it. Actually looking to use GP elsewhere as a matter of interest. These are excellent well thought out libraries.
Appreciate the feedback.
B.
From: Michał Wilczyński<EMAIL_ADDRESS>Sent: Thursday, May 2, 2019 6:51 AM
To: MassTransit/MassTransit<EMAIL_ADDRESS>Cc: brianro<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MassTransit/MassTransit] Question: Can you recover from an exception thrown in a consumer in a message filter? (#1434)
Any reason why you want to scatter your logic around like that?
From my understanding you are throwing exception as a part of some sort of business logic. I would keep it as close as possible to execution logic.
I would do it this way in consumer:
public MyEventConsumer(IBusinessExceptionHandler handler)
{
    _handler = handler;

}
public Task Consume(ConsumeContext context)
{
    try

    {

            //Some business logic

            MyBusinessLogic(context.Message);

    }

    catch (MyBusinessException ex)

    {

            _handler.Handle(context, ex);

    }

    //Will be successful in both cases but will behave like faulted in case of other Exception

}
This way you can:

keep publishing Fault and retrying (and eventually reaching error queue) on exceptions that occured out of your control
share MyBusinessException like you wanted to
test MyEventConsumer and IBusinessExceptionHandler independently

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MassTransit/MassTransit/issues/1434#issuecomment-488629233, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3BCDEIH47WWF3VPGB54QDPTLBSRANCNFSM4HJQRCEQ.

Send, Publish and Receive have internally try-catch clause on top of pipe chain that basically produces and publishes Fault in catch.
On receive you have ConsumerMessageFilter<TConsumer, TMessage>.Send which produces faults with context.NotifyFaulted while on publish you have PublishEndpoint.Publish which produces faults with adapter.PublishFaulted (also see RabbitMqSendTransport.Send that publishes faults to observers).
Either way, if you stop execution from propagating it should not produce fault from what I can see in code.

Michal is right. @brianro when the next call fails in the pipe, the exception is conveyed back to the caller, following the pipe backwards.  If you don't rethrow, the retry filter won't be triggered. You just need to ensure to add filters in the correct order so your filter would be inner to the retry filter.

I didn't see that behavior. Once the  consumer faulted the filter send exception handler was irrelevant. The fault pipe was activated. B.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Alexey Zimarev<EMAIL_ADDRESS>Sent: Tuesday, May 14, 2019 12:59:27 PM
To: MassTransit/MassTransit
Cc: brianro; Mention
Subject: Re: [MassTransit/MassTransit] Question: Can you recover from an exception thrown in a consumer in a message filter? (#1434)
Michal is right. @brianrohttps://github.com/brianro when the next call fails in the pipe, the exception is conveyed back to the caller, following the pipe backwards.  If you don't rethrow, the retry filter won't be triggered. You just need to ensure to add filters in the correct order so your filter would be inner to the retry filter.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MassTransit/MassTransit/issues/1434?email_source=notifications&email_token=AA3BCDBUVFKZE6TWQXGPIMLPVLVW7A5CNFSM4HJQRCE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVMD3SI#issuecomment-492322249, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3BCDEJ4SQXHEGOJICMDRTPVLVW7ANCNFSM4HJQRCEQ.

Look at how the RetryFilter (in GreenPipes) works, and how the RescueFilter works. Both handle exceptions differently, but the trick is to intercept the consume context (like is done with the RetryConsumeContext) to prevent the NotifyFault() from getting down to the ReceiveContext.
The redelivery filter in MassTransit is similar to what you're suggesting in your requirements, so you might look at how that works as well.

Thanks for the guidance Chris. I have looked at the retry context but not with that perspective. Will check it out again. B.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Chris Patterson<EMAIL_ADDRESS>Sent: Thursday, May 16, 2019 10:16:26 PM
To: MassTransit/MassTransit
Cc: brianro; Mention
Subject: Re: [MassTransit/MassTransit] Question: Can you recover from an exception thrown in a consumer in a message filter? (#1434)
Look at how the RetryFilter (in GreenPipes) works, and how the RescueFilter works. Both handle exceptions differently, but the trick is to intercept the consume context (like is done with the RetryConsumeContext) to prevent the NotifyFault() from getting down to the ReceiveContext.
The redelivery filter in MassTransit is similar to what you're suggesting in your requirements, so you might look at how that works as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MassTransit/MassTransit/issues/1434?email_source=notifications&email_token=AA3BCDGO7LMOUVN4YY53JLDPVYIPVA5CNFSM4HJQRCE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVTRC6A#issuecomment-493293944, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3BCDG4IL2XF44VZBN4FBLPVYIPVANCNFSM4HJQRCEQ.


Hanging forever when low memory

Hi, am experiencing kaleido randomly freezing on our production environment (unix with kubernetes).
I noticed that when the container has low memory, perhaps because the main python program consumed a lot of resources, for instance for holding the dataframe data needed to be plotted, when it calls write_image it will hang forever.
The kaleido process never terminates, there are no errors about a low memory condition, it just sits there with zero cpu consumption forever.
How can this be improved?
This behavior is very frustrating because sometimes I just find containers stuck running forever, that if I manually relaunch with the very same conditions they may run correctly, so I have no way to monitor if they got stuck,.
It would be ok that kaleido returns a memory error or a process failed exception, then it could be handled. But freezing forever... is just bad.
Any advice? Thank you

Hi @gygabyte017, thanks for the report.  I'm not sure if this is possible for you, but it would be helpful to see if any logging is collected (but not displayed) before it hangs.
Are you able to reproduce the issue from a python repl?  If so, the instructions in this issue might yield some extra info that would be helpful (https://github.com/plotly/Kaleido/issues/36#issuecomment-756676527).
If possible, what would be most helpful would be a reproducible example consisting of:

A docker file
A memory limit
A python script

Thanks!

Hi, unfortunately it is hard for me to give you what you asked, sorry about that :( because since it doesn't happen on my local pc while testing and it only happens on serverless containers spawned on EKS, andthe plotting happens after a lot of complex calculations involving other resources.
However here's what I found out, hoping that might be somehow useful:

The container has a memory limit of 2GB. If I increase it to 3GB, it never happens.
At the end of the calculations, write_image is called dozens of times to plot every needed plot, and the freeze never happens at the first image, always after a fews.
Using the trick proposed here https://github.com/plotly/Kaleido/issues/42 with scope._shutdown_kaleido() it almost never freezes anymore, even though I'm using v0.2.1 (it still randomly happens on 1-2% of executions, while before it happened half of the times, so that's a good result).

(Not sure about how could I access the frozen container and send an interrupt and interact with repl to provide more info).
Thanks

Thanks for this info @gygabyte017, that's helpful. Marking as a bug.

Same happening the to_image call.
Is there something can be done to avoid this ?

@Bhanuchander210, are you seeing this behavior being related to low memory as well?

@jonmmease
I am not sure but i hope so.
It is happening only on production environment randomly (as production env has other servers too.. so that i didn't track)
After the change made scope._shutdown_kaleido() (as u suggested)... till now it not hanged...

Ok, thanks @Bhanuchander210.

Notes:
Cross reference https://github.com/plotly/Kaleido/pull/43, which added some internal tracking of JavaScript heap usage, periodically clearing memory by refreshing the active page.  If manually running scope._shutdown_kaleido() works around the issue, then I assume this internal page refresh to clear memory would do the same.
We're already refreshing the page when the heap reaches 50% of the maximum allowed. But I don't know whether this maximum limit (as returned by window.performance.memory.jsHeapSizeLimit) takes into account the available system memory.  If not, then this might explain the trouble we're running into in memory constrained environments. Two ideas (not mutually exclusive):

See if the chromium API provides a way to access the current system memory available, and incorporate that when deciding whether to refresh the page.
Make this memory limit configurable through the API

Hi,
I get
I get the same issue on my local pc on the first plotly figure i want to statically export (to a PDF), when I limit the python process's virtual memory "RLIMIT_AS" manually to for example 6GB.
Is there any progress on that topic?
Here is the code that I use to limit the virtual memory. (Thats something we need to do for that specific program to make sure that i wont get in conflict with the productive processes...)
`
import resource
def limit_memory():
max_memory_mb = 6000
soft_limit = max_memory_mb * 1024 * 1024
resource.setrlimit(resource.RLIMIT_AS, (soft_limit, resource.RLIM_INFINITY))
`

Hi @gygabyte017
Did you ever resolve this issue? Did downgrading to v0.1.0 work to solve this issue?
Thanks.

@gygabyte017 Wow, thanks for your fast reply.


Redesign the dev server, decouple with Modern.js server

Rsbuild should avoid depending on Modern.js packages, so we need to design a new dev server for Rsbuild, and allow Modern.js to replace the builtin dev server.

The goal of Rsbuild Server is to be lightweight, simple, and easy to expand:

Provide dev/preview capability for rsbuild application
Meet the general configuration capabilities used when starting an application (such as setMiddleware, hmrClient, historyApiFallback,etc).
Support the expansion of server capabilities to meet the complex needs of upper-level frameworks (such as modern.js) for servers

Detail Design
Rsbuild Server uses a minimalist combination of http + connect , with all built-in/extended logic added via middleware.
var connect = require('connect');
var http = require('http');

var app = connect();

app.use(function (req, res, next) {
  // req is the Node.js http request object
  // res is the Node.js http response object
  // next is a function to call to invoke the next middleware
})

//create node.js http server and listen on port
http.createServer(app).listen(3000);

devServers comparison:

Rsbuild DevServer
Modern.js DevServer (old)
webpack-dev-server

Middleware mode
connect
modern.js custom
express

Relationship with prodServer
Shared Middleware
DevServer inherits prodServer.
No prodServer

depends on route.json
❌
✔ (depends on route.json and routing Middleware)
❌

support custom middlewares
✔
✔
✔

support custom plugins
❌
✔
❌

support static directories
❌
✔
✔

ssr support
❌
✔
❌

proxy support
✔
✔
✔

Breaking changes
Compared to modern.js builder, breaking changes include:

Only match file based on static file paths. For example, if you want to access the page through /, you need to ensure that the html output path is dist/index.html
tools.devServer.before/after configuration is not supported, you can use tools.devServer.setupMiddlewares instead


Errors from no archival state can be confusing

What was wrong?
When using --fork with a non-archival node there is a ~30 minute window until errors begin to occur from not having access to archival state:
ValueError: {'message': 'Returned error: project ID does not have access to archive state', 'code': -32000, 'data': {'stack': 'Error: Returned error: project ID does not have access to archive state\n    at Object.ErrorResponse (/home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:53:1421880)\n    at /home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:53:1420752\n    at t.n.onreadystatechange (/home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:89:10247)\n    at t.e.dispatchEvent (/home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:17:47987)\n    at t._setReadyState (/home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:89:15283)\n    at t._onHttpResponseEnd (/home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:89:18380)\n    at IncomingMessage.<anonymous> (/home/computer/.npm-packages/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:89:17635)\n    at IncomingMessage.emit (events.js:203:15)\n    at endReadableNT (_stream_readable.js:1145:12)\n    at process._tickCallback (internal/process/next_tick.js:63:19)', 'name': 'Error'}}

Once aware of this issue the cause is fairly obvious, but this could be surprising and confusing for a new user.
How can it be fixed?
Add a layer to the web3 middleware that catches this specific error, checks if the active network is using --fork, and if yes delivers an easier to understand error.

So Infura is doing something special to make this error. If you are forking from your own node that doesn't have archive data, the error is instead something about missing trie node
Thankfully running your own fast synced geth node with archive state is pretty easy. No need for all the archive state.

If you end up on one of your non-archive nodes and hit the missing trie error, please dump it here for reference :pray:

  File "brownie/exceptions.py", line 91, in __init__
    raise ValueError(exc["message"]) from None
ValueError: Returned error: missing trie node 209230089ff328b2d87b721c48dbede5fd163c3fae29920188a7118275ab2013 (path )


Fix bug with some disallowed nodes

This fixes a scenario when a disallowed node does not have children. Current code will evaluate node.children and add undefined to  parent.children's array. This should not happen because the consumer code relies on a child not being undefined.
This problem manifests only when mode is unwrap.
An example of child with this problem is thematicBreak (source: "***")

Thanks a bunch! Released as v3.3.3


Functionalise S3-Services(BHR)

The mechanisms that perform the BHR activity(s3-service) need to be upgraded from an object-oriented model to a functional model. The ejected state variables need to be migrated from legacy DB to Realm.
Here's how we can achieve it:

[x] Functionalize S3-service @Parsh
[x] Refactor sagas to use functionalized s3-service and update points of reference(also the sss reducer needs to be refactored to hold BHR data) @cakesoft-shivani
[x] Formulate a collection in Realm for storing BHR data @cakesoft-shashank @cakesoft-shivani

Closing this issue as discussed with dev.


feature(ui-ux): token details screen 2.0

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:
Developer Checklist:

[x] Read your code changes at least once
[x] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[x] No console errors on web
[x] Tested on Light mode and Dark mode*
[x] Your UI implementation visually matched the rendered design*
[ ] Unit tests*
[x] Added e2e tests*
[x] Added translations*

Update:

Toggled balance will not be affected on the token details page
Fixed buttons to the end of the screen

Incorrect Icon for DFI. Let's use the Pink logo - done
Let's use $ instead of USD prefix - done
On DFI token detail, incorrect suffix for Locked in vault. It is displayed as DUSD, where it should be DFI. - done
For actions, use @G9000 component - https://github.com/DeFiCh/wallet/pull/3191 (e.g, Send to other wallet, Receive DFI etc.) - done
"Swap" not translated on main CTA - done
"Balance" not translated on header - done
For all DFI logo, let's use the pink one (not the light icon). For LP tokens, it should use the Pink one as well. - done

First section is too close to the header, need more padding - done, top: 32, btm: 20
Padding between first section and icon, it's too close to the divider -
Title of Receive symbol doesn't include the symbol anymore - done, removed


Hide inactive groups

Related to https://github.com/yunity/karrot-frontend/issues/915
Related to https://github.com/yunity/karrot-backend/pull/506
Can be merged at any time, doesn't need to be synced with the backend PR.

Makes sense - would probably include it directly in #903 though. Will just create merge conflicts otherwise.

Ok, then I close this again. But you can wait a bit before you add it as the backend will change. See this comment: https://github.com/yunity/karrot-frontend/issues/914#issuecomment-370136686


Fix inadvertent globals peer dependency version of 15.0.0 instead of ^15.0.0.

Fix inadvertent globals peer dependency version of 15.0.0 instead of ^15.0.0.

Great, thanks for the fix @mramato!

Thanks, this is now publised.


Compare against genup and consider implementing any features

Sakaki authored the genup program which is intended to handle a subset of this gentoo_update program's functionality.
Consider taking a look and implementing any features covered by genup but not gentoo_update.
The GenPi64 project would love to ditch genup entirely, if gentoo_update will be maintained going forward.
See genup's source code here: https://github.com/GenPi64/genup

I think it will take a while to implement all features from genup, Sakaki put an impressive amount of effort into their work.
For instance, genup uses at least 2 other tools developed by the same author - emtee and buildkernel.
I'll need some time to study their work to be able answer you in more detail.
Meanwhile, what features on genup are you most interested in?

I'm not sure that buildkernel is a feature worth considering. It is likely superseded by Gentoo's existing sys-kernel/gentoo-kernel package
My interest in the gentoo_update script is to replace the automated update aspect of the genup program for the genpi64 image that I work on.
I'm not particularly for or against any of the genup features beyond recognizing that genup is effectively unmaintained, and i'd like something that has a real maintainer behind it.

Hi, maybe cheking at the beggining portage itself is up to date could be a good idea.
Also having "perl-cleaner --all" somewhere in the process I think could be good. This is how I run the script right now (with a wrapper):
eix-sync ;
gentoo-update update -m full -e -l -n -a "--color=y --deep --with-bdeps=y --changed-use --update --backtrack=50" ;
haskell-updater ;
perl-cleaner --all ;
eclean --deep packages ;
eclean --deep distfiles ;
smart-live-rebuild ;
recover-broken-vdb ;
rm -vfr /var/tmp/portage/*

But probably is a lazy workaround (e.g. eix-sync could be redundant, I did not check your script in deep). I was thinking about getting some from genup myself, relied on it for years (without buildkernel nor emtee).
Anyways, thank you very much for your work.

Hey @southern-tools! Thank you for your support ❤

cheking at the beggining portage itself is up to date could be a good idea.

gentoo_update does sync the Portage tree before update via emerge --sync (code is here).
It's not redundant to use eix-sync if you are also using some other functionalities of eix, since this command is a summation of multiple commands, namely emerge --sync + eix-update + eix-diff (doc). However if you use eix only to sync packages then just running gentoo_update should be enough.

perl-cleaner --all

Do you need to clean old perl installations regularly?
I see no harm in adding perl-cleaner to the updater, tho whole thing is a 500+ line Bash script, and I can add it as an optional dependency, like needrestart is used now (code is here).

Hi, @Lab-Brat,
I agree, probably perl-cleaner is an overkill. It is the result of a not very careful migration from Sakaki's Genup to your script (which I am now running on a daily basis through a systemd timer). Looking into the logs, perl-cleaner does not trigger any update for more than 2 yrs... so probably I could remove it.
Thank you again for your work.


Fix global vagrant arguments

Fix typo in vagrantfile template

Ah, yeah, good catch. None of those vagrant raw config args were getting written at all. I'm surprised we didn't notice sooner! :+1:

:+1:


let the user select fees for on-chain transactions

use whatthefee.io to get fee estimates

Any thoughts on how the UX should flow for this?


Improved Tensor Dimension Handling in predict_masks Method for fine tuning

close #581

Introduction of Conditional Check:

In the enhanced predict_masks method, a conditional check is introduced to ascertain whether the image_embeddings tensor's batch size aligns with that of tokens.
The check (if image_embeddings.shape[0] != tokens.shape[0]:) is crucial as it guides the subsequent operation: torch.repeat_interleave.

Usage of torch.repeat_interleave:

The function torch.repeat_interleave is utilized to expand the image_embeddings tensor along the batch dimension to match the batch size of tokens, ensuring consistency in tensor dimensions as the method progresses.
In the original implementation, torch.repeat_interleave is applied directly, potentially leading to misalignments in tensor dimensions if the batch sizes are already aligned.

Ensuring Consistency:

The conditional check ensures that torch.repeat_interleave is applied only when necessary, preventing potential dimension misalignment and ensuring consistent tensor handling within the predict_masks method.

@HannaMao can u pls review this pull request


replaceAll is not a function

Issue: in generateCode() function, replaceAll function causes some node project to return error
replaceAll is not a function
ReplaceAll is a function introduced in node v15+ and I have node v22 installed, after some digging, I find in my project tsconfig.json file has
{
  "compilerOptions": {
    "target": "ESNext",
    ...
    "module": "esnext",
 }

This may be an issue of ESNext, it supposes to get the next release version of ECMAScript, so it maybe an ESNext bug selecting an old node version.
But I think for backwards compatibility, maybe consider to change replaceAll() function to replace and regex?
Currently I get around this issue by specifying removeMarkdown param to false, so it won't call replaceAll() line.

also see https://stackoverflow.com/questions/62940927/cant-use-replaceall-or-replace-with-nextjs-reactjs


VerneMQ fails to establish MQTT5 connection over WebSockets

VerneMQ closes connection for WebSocket clients using MQTT v5. The Error: Connection refused: Unsupported Protocol Version is returned while v5 support is enabled for the broker.

MQTT v5 over WebSockets – Connection closed with "Unsupported Protocol Version" error

let mqtt = require('mqtt')
let client  = mqtt.connect(
  'ws://localhost:8080/mqtt',
  {clientId: 'test', protocolVersion: 5}
)

client.on('close', function (err) {
  console.log(`close = ${err}`)
})

client.on('error', function (err) {
  console.log(`error = ${err}`)
})

client.on('connect', function () {
  client.subscribe('foo', function (err) {
    console.log(`subscribed to 'foo' topic...`)
  })
})

client.on('message', function (topic, message) {
  console.log(`topic = ${topic.toString()}, message = ${message.toString()}`)
})

Error: Connection refused: Unsupported Protocol Version

MQTT v5 – Works

let mqtt = require('mqtt')
let client  = mqtt.connect(
  'mqtt://localhost:1883/mqtt',
  {clientId: 'test', protocolVersion: 5}
)

MQTT v4 over WebSockets – Works

let mqtt = require('mqtt')
let client  = mqtt.connect(
  'ws://localhost:8080/mqtt',
  {clientId: 'test', protocolVersion: 4}
)

Environment

VerneMQ Version: 1.7.1
OS: macOS, Linux
VerneMQ configuration (vernemq.conf) or the changes from the default

listener.tcp.allowed_protocol_versions = 3,4,5

Expected behavior
The connection is established.
Actual behaviour
The connection is closed.

Hi,
I think your config listener.tcp.allowed_protocol_versions = 3,4,5 should be listener.ws.allowed_protocol_versions = 3,4,5 instead (or a line like that should be added)

Yes, that is the reason. Thanks!


[Feat]: adding icons in navbar

Is your feature request related to a problem? Please describe.
i can add icons in navbar items home login register
please assign the issue to me under gssoc
Describe the solution you'd like.
adding icons to home login register
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

issue exists.


[Fix-2248][admin][metadata] Modification only supports clickhouse driver version 0.2.6

Purpose of the pull request

Brief change log
1.Upgrade the clickhouse driver to version 0.6.2
2.When modifying the connection data source, only the clickhouse driver version 0.2.6 is supported
Verify this pull request

close


refactor: rename exceptions endpoint to discrepancies

TIS21-5173: Refactor discrepancies endpoint to be discrepancies instead of exceptions (old terminology)

Aware of the code smell . . . but not sure that fixing it makes the code more readable


[Amazon AWS] Not getting AWS credentials

Extension
https://www.raycast.com/Falcon/aws
Description
The Amazon AWS Extension of Raycast does not work with aws credentials in the credentials file
Steps To Reproduce
1 - start Leapp to generate a set of short-lived AWS credentials inside ~/aws/credentials folder
2 - searching for s3 bucked fo any other command
3 - no result found always
Current Behaviour
No response
Expected Behaviour
No response

relates to #4941
I will check this over the weekend.

Hi @JonathanWbn,
I created your mentioned issue and already found the root problem.
https://github.com/raycast/extensions/pull/4984
I created a PR here which fixes the problem. Feel free to collaborate with me on this issue :)

I opened https://github.com/raycast/extensions/pull/5141 which I expect fixes this. @andreacavagna01 could you check this?

Sorry for being late, by checking the repo, I see that the extension only checks for ENV variables, which is not the default method of credentials generation of AWS. This is why the app is not working with Leapp. Can we re-open this?


Failed assertion: 'notification.metrics.axis == widget.axis' when using nested Scrollable

I was working on a Grid widget that can be scrolled horizontally and vertically. I used a Scrollable for vertical scrolling and a SliverFixedExtentList for horizontal scrolling. That solution has worked, except for occasional assertion errors when the grid is scrolled right to the very end, or left to the very beginning:
I/flutter (16512): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (16512): The following assertion was thrown while notifying listeners for AnimationController:
I/flutter (16512): 'package:flutter/src/widgets/overscroll_indicator.dart': Failed assertion: line 177 pos 14:
I/flutter (16512): 'notification.metrics.axis == widget.axis': is not true.
I/flutter (16512):
I/flutter (16512): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (16512): more information in this error message to help you determine and fix the underlying cause.
I/flutter (16512): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (16512):   https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter (16512):
I/flutter (16512): When the exception was thrown, this was the stack:
I/flutter (16512): #2      _GlowingOverscrollIndicatorState._handleScrollNotification (package:flutter/src/widgets/overscroll_indicator.dart:177:14)
I/flutter (16512): #3      NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:127:27)
I/flutter (16512): #4      Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:45:20)
I/flutter (16512): #5      _ScrollNotification&LayoutChangedNotification&ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:31:18)
I/flutter (16512): #6      Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:3447:39)
I/flutter (16512): #7      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:61:13)
I/flutter (16512): #8      BallisticScrollActivity.dispatchOverscrollNotification (package:flutter/src/widgets/scroll_activity.dart:556:108)
I/flutter (16512): #9      ScrollPosition.didOverscrollBy (package:flutter/src/widgets/scroll_position.dart:675:14)
I/flutter (16512): #10     ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:222:9)
I/flutter (16512): #11     ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:84:18)
I/flutter (16512): #12     BallisticScrollActivity.applyMoveTo (package:flutter/src/widgets/scroll_activity.dart:547:21)
I/flutter (16512): #13     BallisticScrollActivity._tick (package:flutter/src/widgets/scroll_activity.dart:534:10)
I/flutter (16512): #14     _AnimationController&Animation&AnimationEagerListenerMixin&AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:126:19)
I/flutter (16512): #15     AnimationController._tick (package:flutter/src/animation/animation_controller.dart:765:5)
I/flutter (16512): #16     Ticker._tick (package:flutter/src/scheduler/ticker.dart:228:5)
I/flutter (16512): #17     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1012:15)
I/flutter (16512): #18     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:928:11)
I/flutter (16512): #19     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367:8)
I/flutter (16512): #20     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:926:17)
I/flutter (16512): #21     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:856:5)
I/flutter (16512): #25     _invoke1 (dart:ui/hooks.dart:234:10)
I/flutter (16512): #26     _beginFrame (dart:ui/hooks.dart:172:3)
I/flutter (16512): (elided 5 frames from class _AssertionError and package dart:async)
I/flutter (16512):
I/flutter (16512): The AnimationController notifying listeners was:
I/flutter (16512):   AnimationController#2c4ff(▶ 1589.129; for BallisticScrollActivity)
I/flutter (16512): ════════════════════════════════════════════════════════════════════════════════════════════════════

The error occurs only on Android. iOS works fine.
To Reproduce
Copy the following to lib/main.dart and run on an Android:
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() {
  runApp(SampleApp());
}

class SampleApp extends StatefulWidget {
  @override
  _SampleAppState createState() => new _SampleAppState();
}

class _SampleAppState extends State<SampleApp> {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Sample App'),
        ),
        body: Grid(50, 25, 80, 50),
      ),
    );
  }
}

class Grid extends StatelessWidget {

  final double columnWidth;
  final double rowHeight;
  final int rows;
  final int columns;

  Grid(this.rows, this.columns, this.columnWidth, this.rowHeight);

  @override
  Widget build(BuildContext context) {
    return Scrollable(
      semanticChildCount: rows,
      axisDirection: AxisDirection.down,
      viewportBuilder: (context, offset) {
        return CustomScrollView(
          scrollDirection: Axis.horizontal,
          slivers: [
            SliverFixedExtentList(
              itemExtent: columnWidth,
              delegate: SliverChildBuilderDelegate(
                (context, column) => GridColumn(rows, rowHeight, column, offset),
                childCount: columns,
              ),
            )
          ]
        );
      },
    );
  }
}

class GridColumn extends StatelessWidget {

  final int rows;
  final int column;
  final double rowHeight;
  final ViewportOffset offset;

  GridColumn(this.rows, this.rowHeight, this.column, this.offset);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: BoxDecoration(
        border: Border(
          right: BorderSide(color: Colors.black, width: 1, ),
        ),
      ),
      child: Viewport(
        offset: this.offset,
        slivers: <Widget>[
          SliverFixedExtentList(
            itemExtent: rowHeight,
            delegate: SliverChildBuilderDelegate(
              (context, row) {
                return Container(
                  decoration: BoxDecoration(
                    border: Border(
                      bottom: BorderSide(color: Colors.black, width: 1, ),
                    ),
                  ),
                  child: Center(child: Text("$row:$column")),
                );
              },
              childCount: rows,
            ),
          ),
        ],
      ),
    );
  }
}

Workaround
I found a workaround that involves putting a NotificationListener between the two Scrollables to suppress occasional OverscrollNotification events that get propagated to the outer Scrollable:
  @override
  Widget build(BuildContext context) {
    return Scrollable(
      semanticChildCount: rows,
      axisDirection: AxisDirection.down,
      viewportBuilder: (context, offset) {
        return NotificationListener<OverscrollNotification>(
          // Suppress OverscrollNotification events that escape from the inner scrollable
          onNotification: (notification) => notification.metrics.axisDirection != AxisDirection.down,
          child: CustomScrollView(
            scrollDirection: Axis.horizontal,
            slivers: [
              SliverFixedExtentList(
                itemExtent: columnWidth,
                delegate: SliverChildBuilderDelegate(
                  (context, column) => GridColumn(rows, rowHeight, column, offset),
                  childCount: columns,
                ),
              )
            ]
          ),
        );
      },
    );

Note that the workaround is not a perfect solution because overscroll events could be useful if there is another Scrollable that contains the grid, for example a TabView. The fix could be as simple as replacing the failing assert with a if(...) return false.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.6.5, on Mac OS X 10.14.4 18E227, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.34.0)
[✓] Connected device (3 available)

• No issues found!

Hi @aryzhov
Can't reproduce it on the latest stable or master, on several tries

multiple flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale
    en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     •
      android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios
      • iOS 14.3
    • iPhone 12 (mobile)   • 01685E98-F396-4EB9-9C58-8B92677E24D5 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.25.0-9.0.pre.87, on macOS 11.1 20C69 darwin-x64,
    locale en-GB)
    • Flutter version 1.25.0-9.0.pre.87 at /Users/tahatesser/Code/flutter_master
    • Framework revision 1abe1d4c61 (3 hours ago), 2020-12-16 02:28:03 -0500
    • Engine revision 0445f7985e
    • Dart version 2.12.0 (build 2.12.0-155.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     •
      android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios
      • iOS 14.3
    • iPhone 12 (mobile)   • 01685E98-F396-4EB9-9C58-8B92677E24D5 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)      • macos                                • darwin-x64
      • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                               •
      web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

If you can still reproduce it, Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

I can reproduce it. Thanks for the workaround, works for me!

I can reproduce it. Thanks for the workaround, works for me!


"Center map on layer" change is not correctly updated when publishing

Looks like it stores
embed_zoom=builder_zoom-1
Builder:

Embed:

May be related to https://github.com/CartoDB/cartodb/issues/11158


Global 'View' and Workspace 'Add': Unit Default Test Data

As an ECMPS user, I want to view Unit Default Test Data in the Global-View and add new Unit Default Test Data in the Workspace so that I can look at real-time data or add test information as needed
Acceptance Criteria: (Global-view)
Given a user has selected Unit Default from the Test Type Group dropdown and a data record is available
When the data is displayed
Then the user can see data displayed as a separate table
Fuel Code
NOX Default Rate
Operating Condition Code
Group ID
Number of Units in Group
Number of Tests for Group
Given a user is viewing Unit Default Test Data
When the data is displayed in a table
Then the default sort order is alphanumeric descending by the contents in the 1st column
And the user will have the option to sort the columns in ascending or descending alphanumeric order

[x] The fields and their order specified

Pagination?

[ ] Yes
[x] No

Filter by keyword?

[ ] Yes
[x] No

Columns are sortable?

[x] Yes
[ ] No

Nested rows, expandable?

[x] Yes
[ ] No

Acceptance Criteria: (Workspace - Add)
Given the user has selected Unit Default from the Test Type Group dropdown
When the user clicks on 'Add' for Unit Default Test Data
Then the system displays a modal
and the user can add new data for:
Fuel Code (Dropdown)
NOX Default Rate (Text)
Operating Condition Code (Dropdown - A, B, P)
Group ID (Text)
Number of Units in Group (Text)
Number of Tests for Group (Text)
Given the user has added Unit Default Test Data
When the user chooses to save and close
Then the data is saved
And the modal closes
And the user is returned to the Landing screen
And the Unit Default Test record is reflected on the UI
Given the user has added a new Unit Default Test Data
When the user chooses to Cancel
Then the user is returned to the Landing screen for Unit Default Test Data
And no updates are saved
Dev Note: This data section is at the second level of nesting (Test Data -> Unit Default Test )
Reference Screenshot:

Unit Default Test - View Modal Official

Unit Default Test - Add

Unit Default Test - Operating Condition Code

Unit Default Test - View Table Official

Unit Default Test - Add

The Operating Condition Code (Dropdown - A, B, P) does not filter. This will be worked on in a separate ticket.

Test Case: TC1144
Test Passed


How to get a client_credentials token for doing behind the scenes calls

If I inject the the bean registered as oAuth2RestTemplate it will pass on the user token.
If I want to pass on a client_credential would it be correct to do this?
@Bean
@ConfigurationProperties("spring.oauth2.client")
public ClientCredentialsResourceDetails oauth2ClientCredentialsResourceDetails() {
    ClientCredentialsResourceDetails details = new ClientCredentialsResourceDetails();
    return details;
}

@Bean
public OAuth2RestTemplate clientCredentialsRestTemplate(OAuth2ClientContext oauth2ClientContext, ClientCredentialsResourceDetails details) {
    OAuth2RestTemplate template = new OAuth2RestTemplate(details, oauth2ClientContext);
    return template;
}

Maybe we should add a section in the docs about machine to machine communication and how to do that with feign or with RestTemplate?

Sounds like a plan. See also #51.

@dsyer I would also like to use use OAuth2 for backend requests such as requests to the config server and service register (Eureka). What is the best approach to ensure client credentials are used within the discovery client and config client?

I sincerely hope you guys fix this problem.I just want to secure my spring cloud application.Did it get fixed?

It's not a problem is it? Just a documentation request. What do you mean? How would you "fix" it?

Easy,guys.Last time I check this was at version D.When I use thread strategy，It cant pass client credentials in the header.I was not looking into it for a detail.No offence.

@dsyer


Investigate Rust

There is an ongoing effort in having a Rust compiler to output WASM:

https://github.com/rust-lang/rust/issues/33205
https://github.com/brson/mir2wasm
import statements: https://github.com/brson/mir2wasm/issues/33

(wasm/wast toolkit written in Rust: https://gitlab.com/DanielKeep/wasm)

mir2wasm seems to work, but imports are not fully supported yet. They need to be added manually to mir2wasm on top of using them via the FFI

See #13.

Current status: https://github.com/ewasm/ewasm-rust-api


Refactor reports page component

💡 Summary
File: frontend/src/pages/Reports/Reports.tsx
The Reports page component contains a mixture of logic, content, and style. It needs to be broken down in to smaller, more focused subcomponents.
Motivation and context
Cleans up the code so that it is easier to evaluate and manage.
Acceptance criteria

[ ] Style is moved into it's own file
[ ] All in-line style is moved out of JSX into css classes
[ ] All logic is moved from JSX into variables defined by typescript
[ ] All areas of concern are broken off into subcomponents
[ ] Markup represents what is visually in the page

The entire reporting interface will be replaced by the existing back-office CyHy reporting API eventually.  Reporting interface will be built new at that time.


progress  not complete in vue event

<template>

</template>

when execute complete method progress.progress('complete') nothing happened

Hi @Dreampie,
Make sure complete() is being called, you could also try sending progress.progress('complete') onto the event loop with window.setTimeout( f(){}, 0). The following is a standard reply.
Thank you for posting, but although it’s a valid usage question, we’ve limited GitHub Issues to bug reports and feature requests, keeping the board more manageable for maintainers; see the contributing guidelines for more information on what kind of posts should find themselves into the GitHub Issues board.
To get answers or feedback that might allow you to repost this issue, please use one of our other support resources:

Gitter chatroom
Official forums
StackOverflow

@Banandrew   show log complete,but progress not complete

@Dreampie have you tried the event loop?

like this, also not work
complete(){
                console.log('complete')
                const progress = $(this.$el)
                window.setTimeout(() => {
                    progress.progress('complete')
                }, 1)

//                this.show = false
//                progress.progress('reset')
            }

I cloned your example, and everything works as expected, progress completes even without setTimeout().

@Banandrew  are you change something?

@Dreampie not a single thing, just removed the setTimeout() wrapper, but you already ran the application without it.

I found if click menu this work, but refresh page not work

@Dreampie refreshing works on my machine, I think you need to dig deeper, there’s something wrong with your setup. Your server issues might also be the cause of #5001.

I'll try it


12 documentation

Updated the readme.md to be accurate with the protocol changes.
Also provided information on how to run the tests.

real nice!


readiness check causes split failed errors

the readiness chunk upload seems to cause "level"="error" "logger"="node/api/post_chunk" "msg"="done split failed" errors on bee.
the error then causes gateway proxy not be healthy.
I have disabled the chunk upload test in gateway proxy  and at the same time started to upload periodically chunks to every neighborhood (via gateway proxy) and I had not seen this error occur on bee (yet... been almost 12 hours)
I dont know what the bee error means. but its not good on gateway proxy side as it thinks bee is not healthy

It is now opt-in with READINESS_CHECK=true


How to get enum types in tests

Noob question here. I've tried to search for this in the docs and in previous issues but I haven't managed to find any help. I was doing this Quest and while I was trying to use an enum to pass it as a parameter like this:
#[derive(AnchorSerialize, AnchorDeserialize)]
pub enum Ops {
    Add,
    Sub,
    Mul,
    Div,
}

#[program]
pub mod solana_calculator {
    use super::*;

    pub fn create(ctx: Context<Create>, init_message: String) -> ProgramResult {
        let calculator = &mut ctx.accounts.calculator;
        calculator.greeting = init_message;
        Ok(())
    }

    pub fn op(ctx: Context<Operation>, op: Ops, num1: i64, num2: i64) -> ProgramResult {
        let calculator = &mut ctx.accounts.calculator;
        let (result, remainder) = match op {
            Ops::Add => (num1 + num2, 0),
            Ops::Sub => (num1 - num2, 0),
            Ops::Mul => (num1 * num2, 0),
            Ops::Div => (num1 / num2, num1 % num2),
        };
        calculator.result = result;
        calculator.remainder = remainder;
        Ok(())
    }
}

when I then want to test the op function in the tests, I don't know how to pass the Ops enum in TypeScript.
My test look like this:
it.only('Adds two numbers', async () => {
      await program.rpc.op(NOT_SURE_WHAT_TO_PASS_HERE, new anchor.BN(2), new anchor.BN(3), {
        accounts: {
          calculator: calculator.publicKey,
        },
      });

      const account = await getCalculatorAccount();

      assert.ok(account.result.eq(new anchor.BN(5)));
      assert.ok(account.greeting === 'Welcome to Solana');
    });

I've tried with the obvious, like 'Add', 'Ops::Add' but it obviously didn't work. I looked into the code and my guess is that there must be a way to access those types in a similar fashion as we get access to the program type.
How should I proceed? Is this even possible?
Many thanks for your help and apologies for the noob question! 🙏🏻

Looking into the code I've seen it's enough to pass a simple object like this {add: 1}, where add it's the enum variant in lower case and 1 can be whatever you want. Of course, this works but can't possibly be the way it has to be done. I'll keep digging while I wait to receive some help 😊 .

Here there's an example in anchor where it seems that that's the way to proceed anyway... 🤔
Rust enum
#[derive(AnchorSerialize, AnchorDeserialize)]
pub enum Side {
    Bid,
    Ask,
}

TS enum
// Side rust enum used for the program's RPC API.
const Side = {
  Bid: { bid: {} },
  Ask: { ask: {} },
};


Dialogs in stocks app are blank

Launch stocks, open drawer, choose account balance. Dialog is blank. Buttons in other apps are broken too, e.g. Material Gallery, Date Picker page. The button is blank.

dupe of https://github.com/flutter/flutter/issues/1194.


Some registrars have timezones for expiration, some don't

That big ol' list of regexes at https://github.com/richardpenman/whois/blob/master/whois/parser.py#L34-L75 sometimes gets a timezone and sometimes doesn't. I've got some code that's checking if a domain expires within 30 days and I was doing something like this:
today_plus_30 = datetime.now() + timedelta(days=30)
w = whois.whois(some_domain)
if w['expiration_date'] < today_plus_30:
  print("Ohno")

That blows up if the whois lookup has a timezone attached. I end up having to do this:
today_plus_30 = datetime.now(timezone.utc) + timedelta(days=30)
w = whois.whois(some_domain)
expiration = w['expiration_date'].replace(tzinfo=pytz.UTC)
if expiration < today_plus_30:
  print("Ohno")

It feels like everyone using this library who is looking at expirations will have to do something similar.
Any thoughts about how to fix? I'm happy to write some code to clean it up :) My first thought is to always add a timezone of UTC if there isn't one included in the expiration date, but that'll mean everyone using the library needs to change their code. We could also strip the tz but that feels like a bummer.

Stripping all timezones sounds terrible! Might some people find it more useful to know when the timezone is unknown, rather than setting a default of UTC? I haven't worked with expirations so am not sure what would be ideal for this case.

I agree, it's not the preferred solution :) I just want something where I can ask 'is this domain expiring soon' :) I don't know if there's an implicit timezone when one isn't provided, but UTC feels like a safe default to me.

oh now I understand the problem:
>>> from datetime import datetime
>>> d1 = datetime.fromisoformat('2024-03-01T00:00:00')
>>> d2 = datetime.fromisoformat('2024-03-01T00:00:00Z')
>>> now = datetime.now()
>>> now - d1
datetime.timedelta(days=21, seconds=76423, microseconds=389686)
>>> now - d2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can't subtract offset-naive and offset-aware datetimes

So by default datetime objects are not timezone aware. Sure let's do UTC by default - did you want to submit a PR?

Yeah, you bet. I just wanted to make sure this was a welcome change :)

Thanks!


Epoch counting is one-off in multiple instances

#2969  🐛 Bug
Two issues occur:

The final epoch does not save a checkpoint during training.
Resuming from a checkpoint N will start the epochs at N+2.

Expected behavior

Final checkpoint should save a .ckpt file, as usual.
Should resume from epoch N+1.

Environment

CUDA:

GPU:

Tesla V100-DGXS-16GB
Tesla V100-DGXS-16GB
Tesla V100-DGXS-16GB
Tesla V100-DGXS-16GB

available:         True
version:           10.1

Packages:

numpy:             1.18.1
pyTorch_debug:     False
pyTorch_version:   1.6.0
pytorch-lightning: 0.9.0rc12
tensorboard:       2.2.1
tqdm:              4.46.1

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.7.7
version:           #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020

@AAnoosheh Honestly I do not understand how the PR you linked relates to the bug your report. Did you mean to link another issue?

The final epoch does not save a checkpoint during training.

I don't experience this. The epoch number is 0-indexed, and by default it only saves best checkpoints. Could one of these reasons be why you may think this is a bug?
How can I reproduce the second issue?

Sorry I should have clarified I use the following to save every epoch:
pl.callbacks.ModelCheckpoint(save_top_k=-1, verbose=True)
The second is done via Trainer(resume_from_checkpoint=some_ckpt_file)
I assume some change was made to move epochs to 0-index, when previously they were 1-indexed, and there's a mismatch now.

@AAnoosheh so when you run pl.callbacks.ModelCheckpoint(save_top_k=-1, verbose=True) all the checkpoints are saved, however we do not save the last one as 'last.ckpt'.


wrong generated tag for the field config

Hi,
I defined a schema with specified jsonapi tags for each field using the StructTag().
eg. I use the tag jsonapi:"primary,partners" for the id field.
In the generated code, one extra field is added: config.
This added field has a tag jsonapi:"-"
This tag causes the application to fail with error "bad jsonapi tag"
If I remove the jsonapi tag from (and leave the config field) from the generated file, everything works fine
So my question is: would it be possible not to automatically generate this jsonapi tag ?
Thanks in advance for the help
PS: I use this library for jsonapi: https://github.com/google/jsonapi

Hey @zeurd and thanks for reporting this issue.

This added field has a tag jsonapi:"-"

Yes, because config is a private field of the generated struct, but we definitely need to fix this.
Can you please paste here the field definition?

sure:
func (Partner) Fields() []ent.Field {
	return []ent.Field{
		field.Int("id").Unique().StructTag(`jsonapi:"primary,partners"`),
		field.Ints("others").StructTag(`jsonapi:"attr,others,omitempty"`),
		field.String("paramx").StructTag(`jsonapi:"attr,paramx,omitempty"`)

Found the issue - https://github.com/google/jsonapi/issues/33. It happens regardless to your schema.
I'm not sure what jsonapi doesn't support the "-" tag, which is pretty common in Go for ignoring specific fields.
Anyway, it's not an issue in ent. I'll suggest you to either open jsonapi an issue, or just use custom template to override the struct tagging template in ent.


AvroDecoding :: Add support for nullable List of nested records

Hi,
The issue you've solved for encoding nested null records needs also to be addressed when decoding (https://github.com/sksamuel/avro4k/issues/2)
I'm submitting a pull request to address it. Can you check it please?
Thanks in advance.
Best regards,
Bruno Diaw

Sorry I don't know how I missed this PR!.


Ingested 0 Nodes: No nodes returned

Bug Description
I followed the Building a Live RAG Pipeline over Google Drive Files to create my RAG Pipeline.
However, I noticed that when the documents are unchanged and the pipeline is ran for the second time, no nodes are returned.
Version
0.9.37
Steps to Reproduce
Using the following tutorial without updating the documents:
Building a Live RAG Pipeline over Google Drive Files
Relevant Logs/Tracbacks
No response

@etetteh this is by design. Since to documents have changed, there are no nodes to process.
If a node did change, then it would be upsertted into the vector store

How may I access and use my nodes, if no nodes are returned.
My main reason for using the pipeline is to utilize the DocstoreStrategy.UPSERTS  feature.  I need a way to automatically upsert new documents if they exist, or return existing old documents

The nodes are already in your vector store 🤔

If you need the nodes even though they are unchanged, you'd need to run it through an ingestion pipeline with no docstore or vector store attached

Thank you so much. This is what I have done, but I notice it regenerates the embeddings which can be time and computationally inefficient:
db = chromadb.PersistentClient(
        path=persist_dir,
        settings=Settings(anonymized_telemetry=False, is_persistent=True)
    )
    chroma_collection = db.get_or_create_collection(f"{persist_dir}_quickstart")
    vector_store = ChromaVectorStore(chroma_collection=chroma_collection)

    cache = IngestionCache(
        cache=ch.SimpleCache(),
        collection=f"{persist_dir}_cache"
    )

    docstore=ds.SimpleDocumentStore(
        namespace=f"{persist_dir}_document_store"
    )

    transformations=[node_parser]

    if use_title_extractor:
        transformations.append(
            TitleExtractor(
                llm=service_context.llm, node_template=title_template, num_workers=num_workers
            )
        )

    if use_summary_extractor:
        transformations.append(
            SummaryExtractor(
                llm=service_context.llm, prompt_template=summary_template, cache=cache, num_workers=num_workers
            )
        )

    transformations.append(service_context.embed_model)

    pipeline = IngestionPipeline(
        transformations=transformations,
        docstore=docstore,
        vector_store=vector_store,
        cache=cache,
        docstore_strategy=DocstoreStrategy.UPSERTS
    )

    index = VectorStoreIndex.from_vector_store(
        pipeline.vector_store,
        embed_model=service_context.embed_model,
        service_context=service_context,
    )

    nodes = pipeline.run(show_progress=True, documents=documents)

    if len(nodes) == 0 and pipeline.docstore is not None:
        pipeline.persist(f"{persist_dir}_pipeline")

        pipeline2 = IngestionPipeline(transformations = transformations)
        pipeline2.load(f"{persist_dir}_pipeline")

        nodes = pipeline2.run(show_progress=True, documents=documents)

    # leaf_nodes = get_leaf_nodes(nodes)

    # pipeline.docstore.add_documents(nodes)
    # pipeline.vector_store.add(leaf_nodes)
    return index, nodes

You could remove the embeddings on the second run, if you don't actually need them 👍🏻  but looks good to me!

I don't understand what you mean. My concern has to do with the regeneration of the embedding. I thought it would just be loaded from the persisted pipeline

It is not -- the embeddings are in the vector store.
The by removing the docstore and vector store, the pipeline just blindly runs all the nodes. It's not aware of any vector store with existing embeddings.
You could keep the cache attached, or remove the embeddings from the transformations list.


Please update python package with new Makefile

On macOS, I can install xgboost python library from source, but I cannot by pip command.
The reason is that Makefile in the python package version 0.6a2 uses g++-5 and clang-omp++. Both compilers are obsoleted now.
Updating the python package with the latest Makefile should resolve the installation problem by pip command.

+1

#2889 is a related issue.

A new pip installation is being prepared under the official release, and the Makefile will be consistent to the github.


Release v0.0.17

Description
Minor updates and cleaning up of CHANGELOG to prep for v0.0.17 release.

Oh no...  Going to re-do this...


spelling correction "proved" > "provide"

Learn Build status updates of commit 41acc31:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/communication-services/concepts/sms/sms-faq.md
:white_check_mark:Succeeded

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


Use new style Configure in the 2.0 and 2.1 templates.

Remove the project.json based templates, as we no longer support VS 2015.
Fixes #893

@iantalarico PTAL.
I updated the WebAPI templates the same way. (I had forgotten to earlier).


chore(deps): update dependency @types/node to v18

This PR contains the following updates:

Package
Type
Update
Change

@types/node (source)
devDependencies
major
16.18.58 -> 18.18.5

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: yarn.lock
v18.17.1
[00:29:06.418] INFO (186): Installing tool node v18.17.1...
[00:29:06.424] INFO (186): tool already installed
    tool: "node"
9.6.7
0.18.0
[00:29:06.898] FATAL (186): EACCES: permission denied, scandir '/tmp/snap-private-tmp'
    err: {
      "type": "Error",
      "message": "EACCES: permission denied, scandir '/tmp/snap-private-tmp'",
      "stack":
          Error: EACCES: permission denied, scandir '/tmp/snap-private-tmp'
      "errno": -13,
      "code": "EACCES",
      "syscall": "scandir",
      "path": "/tmp/snap-private-tmp"
    }
[00:29:06.983] INFO (186): Installed tool node with errors in 564ms.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


[Tool] use gz for thirdparty

Why I'm doing:
What I'm doing:

compress the debug symbol to reduce binary size of thirdparty

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[x] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@mergifyio backport branch-3.2


When selecting item from timer dropdown click is registered by the entry underneath

If you select and item from timer autocomplete dropdown then the underlying entry captures the click after the dropdown is closed and opens up the edit view of the entry.
Case: 266850

The bug has been reported by another user. Case #314777


The role management search function is abnormal

This problem has been fixed in version  dgiot-dashboard 4.4.0. Please update the front end to 4.4.0


Accessing files over sftp

Issue Type: Bug
When I acess files using sftp and say somehow the connection gets lost. There is no notification whatsoever from the vscode which says the connection is lost. I still am able to make changes to the files in the vscode but these changes are not shown in the files in the server.
It would really great if there is some notification stating that the connection is lost.
I have many times ended up making changes to the files only to realize that the connection was lost and the changes are not reflected in the files.
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:20:56.183Z)
OS version: Linux x64 4.15.0-36-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1335)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 1

Memory (System)
15.39GB (8.11GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

vscode-svgviewer
css
1.4.7

githistory
don
0.4.3

vscode-great-icons
emm
2.1.44

latex-workshop
Jam
5.13.0

vscode-remote-workspace
mkl
0.36.5

python
ms-
2018.9.1

sublime-keybindings
ms-
4.0.0

vscode-icons
rob
7.27.0

ayu
tea
0.16.0

better-align
wwm
1.1.6

(3 theme extensions excluded)

Closing this, duplicate of #61484


Refactor Module

Rename Aligent_Webhooks to Aligent_AsyncEvents

Ahh, Just saw it was still a WIP. Please ensure that the readme is also updated.

this took a little longer than i expected, but got there eventually.
i've tested the following manually

[ ] Event Index Listing
[ ] Event Log Listing
[ ] Mass enable and disable async events
[ ] Async event dispatch to subscribers
[ ] Failover / Retry mechanism
[ ] Reworded all webhook references to Asynchronous Events