Lost password confirmation message usability issue

In the current implementation, if a user tries to recover his/her password, after submitting the username/email id, the system presents "Check your e-mail for the confirmation link." message.
When a legitimate user(not a hacker) tries with incorrect/misspelled email id, the user is still presented with the same message and the user is end up waiting for the email to arrive. Actually the email is sent out only if the user is found in the system, not otherwise.
I would assume that for a security reason, we dont want to say if the given user name/email id exist in the system; so that hacker does not try with various username/password to identify valid usernames/emailds in the system.
My recommendation is changing the user confirmation message to something on this line "If you are an existing user, we will immediately send you an email with a link to reset your password." so that the user at least knows s/he will get an email only if the give username/email id is valid. Otherwise we will have to tell the user that the given username/email id does not exist in the system. In the later case, we may have to validate if the user is a real person and not a robot or some other security measure.

We don't want to give any hint that a username or email is valid for the system, so we can't change the message based on that.
I assume anyone knows that making a typo in the username of email will make the feature useless.

Do we have to be explicit about 2. ? I don't think we have to, but if we can find a better message let's propose something.

This is the message I propose.
From the shelve-set "If you are an existing user, we will send you an email with a link to reset your password."
This message does not reveal the users existence in the database. All it says you will receive an email if you keyed in the name right. I also found this kind of message being used in other sites.


Migration guide has many broken links

Most of the links in the migration guide do not work on GitHub
For example:

https://github.com/o3de/community/blob/main/Migration Guides/README.md has links to the Lumberyard migration guide at https://github.com/o3de/community/blob/main/Lumberyard%to%O3DE which 404s, actual link is https://github.com/o3de/community/tree/main/Migration Guides/Lumberyard to O3DE
Many of the other links are similarly impacted, for example most of the "Table of Contents" on https://github.com/o3de/community/tree/main/Migration Guides/Lumberyard to O3DE have broken links to documents in GitHub.

Expected behaviour

Links to GitHub files are correct so user can navigate document.

See https://github.com/o3de/community/pull/168 with some partial fixes


Ability to block tags

Is your feature request related to a problem? Please describe.
There is a lot of content on LBRY that I'm interested in and a lot of content that I would rather not see.  I would like a more efficient and flexible way of blocking content.
Describe the solution you'd like
I would like to be able to block based on a Tags.  For example I'm interested in technology in general, but when I search for technology based videos in a general way I'm overloaded by videos about the blockchain.  I would like to be able to block all videos that have blockchain set as a tag...
Describe alternatives you've considered
I've been blocking channels, but that gets unruly, it's not very elegant, and some of the channels I'm blocking might produce some content that I'm interested in.

Thanks for filing, this is a duplicate of https://github.com/lbryio/lbry-desktop/issues/2727
Please do a quick search if you can before opening new issues, thank you.


Add additional maintainers

@monteslu are you willing to add additional maintainers for this project? I am willing to help, but we can also put out a call on Twitter, reddit, etc.

would love help.  hit me up on gmail.  same as my github handle

I am now a member!


Download failed. wubi.exe

while downloading setup ra1nstorm, it fully completes the download but at theend it says:-
check your connection and click 'retry'
i tried several times but it still says the same!
instead i have full high speed 4G Data

me too

me too

me too..pls help solution pls

me too 10MBps internet still say check ur connection?
any solution??


'async_generator is not a callable object' dependency issue

The get_db dependency causes a weird
TypeError: <async_generator object get_db at 0x7ff6d9d9aa60> is not a callable object
issue on my project.
Here's my code:
db.py
from typing import Generator
from .db.session import SessionLocal

async def get_db() -> Generator:
    try:
        db = SessionLocal()
        yield db
    finally:
        await db.close()

session.py
from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession
from .core.config import settings

engine = create_async_engine(
    settings.SQLALCHEMY_DATABASE_URI,
    pool_pre_ping=True
)
SessionLocal = AsyncSession(
    autocommit=False,
    autoflush=False,
    bind=engine
)

Originally posted by @joweenflores in https://github.com/tiangolo/fastapi/pull/2331#issuecomment-821941735

Sounds like an error in where you're using the get_db dependency, can you show us that code?

A stack trace would also be helpful

from typing import List, Any
from fastapi import APIRouter, Depends
from sqlalchemy.ext.asyncio import AsyncSession

from . import models, crud, schemas
from .deps.db import get_db

router = APIRouter()

@router.get('/', response_model=List[schemas.StaffAccount])
async def get_all_staff(
        db: AsyncSession = Depends(get_db()),
        skip: int = 0,
        limit: int = 100,
) -> Any:
    staff = await crud.staff.get_multi(db, skip=skip, limit=limit)
    return staff

yep, you shouldn't call get_db. Try just Depends(get_db)

you shouldn't call get_db. Try just Depends(get_db)

it worked!
wow. thanks a lot 💯
I'm such a dumbass

Thanks for the help here @lesnik512 and @Mause ! 👏  🙇
Thanks for reporting back and closing the issue @jcf-dev  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


The logic of Parser seems not be right to me?

The main logic of the the parser is

for each line {
       source = ...

        while cur_source < source {
            node_writer.write(&unsafe { mem::transmute::<_, [u8; 8]>(cur_offset) }).unwrap();
            cur_source += 1;
        }
}

For a sample file:

0 1
0 2
1 2
2 3

The resulted offset will be [2, 3, 4, 4], but it seems should be [0, 2, 3, 4] ?

On the road at the moment, but will investigate. The project is a bit old, so perhaps there is a lingering bug that should be fixed. The graph-map project is where the parse.rs and print.rs code I trust lives.

OK, Got it. I will try graph-map first then. Thank you!  :)


Update package.json

Update to description as seen in extension viewlet to highlight the change...

Yes as soon as we have a few additional providers we will add the category.

Description updated in commit 5dd2025bdcbc906fc77b4019fe92d2263c06bc00


feat(region,host): support set io throtthle for each disk

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:
release/3.10

ref: https://github.com/yunionio/cloudpods/issues/17733


feat(biome_css_analyzer): implement noUnknownMediaFeatureName

Close https://github.com/biomejs/biome/issues/2626
Summary
Implements media-feature-name-no-unknown
Test Plan
Add snapshots.

@Kazuhiro-Mimaki the PR has some conflicts

@togami2864 can you review and merge?


System.IO.IOException: The request was aborted in the KubeOps.Operator.Kubernetes.ResourceWatcher

Describe the bug
The app stops watching designated resources after encountering the System.IO.IOException in the KubeOps.Operator.Kubernetes.ResourceWatcher.
To Reproduce
It happens after running a pod for a while. Conditions are not clear to me.
Expected behavior
Pod handles transient exceptions and continues to watch designated resources.
Additional context
The callstack:
fail: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
      There was an error while watching the resource "MyResource".
      System.IO.IOException: The request was aborted.
       ---> System.IO.IOException: The response ended prematurely while waiting for the next frame from the server.
         at System.Net.Http.Http2Connection.<ReadFrameAsync>g__ThrowMissingFrame|57_1()
         at System.Net.Http.Http2Connection.ReadFrameAsync(Boolean initialFrame)
         at System.Net.Http.Http2Connection.ProcessIncomingFramesAsync()
         --- End of inner exception stack trace ---
         at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException)
         at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
         at System.Net.Http.Http2Connection.Http2Stream.TryReadFromBuffer(Span`1 buffer, Boolean partOfSyncRead)
         at System.Net.Http.Http2Connection.Http2Stream.ReadDataAsync(Memory`1 buffer, HttpResponseMessage responseMessage, CancellationToken cancellationToken)
         at k8s.LineSeparatedHttpContent.CancelableStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
         at System.IO.StreamReader.ReadBufferAsync(CancellationToken cancellationToken)
         at System.IO.StreamReader.ReadLineAsyncInternal()
         at k8s.Watcher`1.<>c.<CreateWatchEventEnumerator>b__21_1[TR](Task`1 t)
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
         at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at k8s.Watcher`1.WatcherLoop(CancellationToken cancellationToken)
         at k8s.Watcher`1.WatcherLoop(CancellationToken cancellationToken)

Edit:
KubeOps 6.6.0
k8s 1.21.14-gke.700

@Crespalvaro I'm running on GKE (also added version info to the original post). Checked the workaround - please let us know if it works!

Hi @alexander-klang.
I've been doing multiple tests regarding the subject and unfortunatily I cannot come up with a definitive answer. However, I will still post here the results of my research so maybe we can arrange a solution together.
First of all, the hack suggested on the official c# client gh is only a mitigation strategy, It wont completely fix this issue, and so was for me. I've seen as well that this hack was integrated at version 7.0.13 and removed in version 7.1.x apparently in favour of a better strategy using k8s.Autorest as replacement for Microsoft.Rest. Thus, I dont think we should keep looking further in that direction.
I've also played a bit with the timeout configuration and reconcile requeue interval, seems that it helped although I'm still facing the issue.
Finally, I digged onto this repository code and find out that its already dealing with not only server closing the connection but also any exception thrown ResourceWatcher.OnException. This disposes the K8s Watcher and recreates it. I'm confused because OnException reconnecting with backoff strategy  and OnClose does purely the same. The only differences I see on the code is that _reconnectHandler awaits WatchResource whereas OnClose calls RestartWatcher without await, thus it wont wait even though inside RestartWatcher it is as well calling await WatchResource
Find below some traces of the 2 cases (keep in mind traces are captured on grafana for in deep tracking thus they are upside down):
Server Close Connection
  |   | 2022-11-02 16:23:40 | Execute/Reconcile event "Reconcile" on resource "*****".
  |   | 2022-11-02 16:23:40 | dbug: KubeOps.Operator.Controller.ManagedResourceController[0]
  |   | 2022-11-02 16:23:40 | Mapped watch event to "Reconcile" for "*****"
  |   | 2022-11-02 16:23:40 | trce: KubeOps.Operator.Controller.ManagedResourceController[0]
  |   | 2022-11-02 16:23:40 | Mapping cache result "Other" for "******".
  |   | 2022-11-02 16:23:40 | trce: KubeOps.Operator.Controller.ManagedResourceController[0]
  |   | 2022-11-02 16:23:40 | Mapping watcher event "Added" for "*******".
  |   | 2022-11-02 16:23:40 | trce: KubeOps.Operator.Controller.ManagedResourceController[0]
  |   | 2022-11-02 16:23:40 | Received watch event "Added" for "*******".
  |   | 2022-11-02 16:23:40 | trce: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
  |   | 2022-11-02 16:23:40 | Restarting resource watcher for type "******".
  |   | 2022-11-02 16:23:40 | trce: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
  |   | 2022-11-02 16:23:40 | The server closed the connection. Trying to reconnect.`

Conn Reset Exception Catched
  |   | 2022-11-01 09:19:44 | Connection id "0HMLR4QKDK1P0" accepted.
  |   | 2022-11-01 09:19:44 | dbug: Microsoft.AspNetCore.Server.Kestrel[39]
  |   | 2022-11-01 09:19:40 | Received watch event "Added" for "******".
  |   | 2022-11-01 09:19:40 | trce: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
  |   | 2022-11-01 09:19:37 | Trying to reconnect with exponential backoff 00:00:02.9860000.
  |   | 2022-11-01 09:19:37 | info: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
  |   | 2022-11-01 09:19:37 | at k8s.Watcher`1.WatcherLoop(CancellationToken cancellationToken)
  |   | 2022-11-01 09:19:37 | at k8s.Watcher`1.WatcherLoop(CancellationToken cancellationToken)
  |   | 2022-11-01 09:19:37 | at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
  |   | 2022-11-01 09:19:37 | --- End of stack trace from previous location ---
  |   | 2022-11-01 09:19:37 | at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
  |   | 2022-11-01 09:19:37 | --- End of stack trace from previous location ---
  |   | 2022-11-01 09:19:37 | at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
  |   | 2022-11-01 09:19:37 | at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
  |   | 2022-11-01 09:19:37 | at k8s.Watcher`1.<>c.<CreateWatchEventEnumerator>b__21_1[TR](Task`1 t)
  |   | 2022-11-01 09:19:37 | at System.IO.StreamReader.ReadLineAsyncInternal()
  |   | 2022-11-01 09:19:37 | at System.IO.StreamReader.ReadBufferAsync(CancellationToken cancellationToken)
  |   | 2022-11-01 09:19:37 | at k8s.LineSeparatedHttpContent.CancelableStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
  |   | 2022-11-01 09:19:37 | at System.Net.Http.Http2Connection.Http2Stream.ReadDataAsync(Memory`1 buffer, HttpResponseMessage responseMessage, CancellationToken cancellationToken)
  |   | 2022-11-01 09:19:37 | at System.Net.Http.Http2Connection.Http2Stream.TryReadFromBuffer(Span`1 buffer, Boolean partOfSyncRead)
  |   | 2022-11-01 09:19:37 | at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
  |   | 2022-11-01 09:19:37 | at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException)
  |   | 2022-11-01 09:19:37 | --- End of inner exception stack trace ---
  |   | 2022-11-01 09:19:37 | at System.Net.Http.Http2Connection.ProcessIncomingFramesAsync()
  |   | 2022-11-01 09:19:37 | at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
  |   | 2022-11-01 09:19:37 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
  |   | 2022-11-01 09:19:37 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
  |   | 2022-11-01 09:19:37 | --- End of inner exception stack trace ---
  |   | 2022-11-01 09:19:37 | ---> System.Net.Sockets.SocketException (104): Connection reset by peer
  |   | 2022-11-01 09:19:37 | ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
  |   | 2022-11-01 09:19:37 | System.IO.IOException: The request was aborted.
  |   | 2022-11-01 09:19:37 | There was an error while watching the resource "*******".
  |   | 2022-11-01 09:19:37 | fail: KubeOps.Operator.Kubernetes.ResourceWatcher[0]

As you can see, OnClose successfully recovers whereas OnException successfully restarts the Watcher and catchs a new "Received watch event "Added"" without propagating it to EventQueue Event Mapping
It is frustrating because it seems like we are properly dealing with the error but somehow there is something else that remains broken and I could not identify it. @buehler  Does this investigation gives you an idea of what could be wrong?
Hope that his is helpful and that I could explain my self in an understandable way.

We observe the same problem on our operator with KubeOps 5.4.1 as well as the latest version KubeOps 6.6.1. It is really difficult to debug as it is of such a sporadic nature, but it is a real show stopper for us as the users of our operator rely on its stability without such manual interaction as restarts. Is there any progress on the issue? Thank you very much to all who contributed to the investion already!

This is virtually impossible to retrace. When Kubernetes (or the API of it) closes the connection, you can do nothing. However, maybe we should actively let the server crash after some retries and trigger a redeployment of the pod... but that seems to be a rather harsh treatment...

I wonder how this is done e.g. in the Golang Operator SDK? I agree it sounds like a harsh treatment, but it would still be better than having an operator that does not reconcile anymore... especially, in cases like ours where we provide the operator to be used by others on their Kubernetes cluster.

@anekdoti The best solution for us was to implement readiness and liveness probes. Basically when server closes the connection, the watcher remains broken and reconciles stop ocurring.
Everything in my prior investigation helps mitigating the ocurrences, still this health checks will restart automatically the operator whenever it happens, fixing the issue.
An implementation example could be as follows (moreover it is the one I implemented), set time/timestamp on the status of your custom resources every reconcile, health checks will basically get the resources and check if it has been over x time (in my case 10 minutes) idle (no updates). At this point you can play with failureThreshold (max retries), periodSeconds (execution frecuency), etc... check docs if needed Liveness, Readiness Probes
I hope this helps you and anyone facing this issue now or in the future.

Hi everyone.
I reviewed the reconnection logic and I have a suspicion that it doesn't work properly. Could you please help me to evaluate my thoughts, please.
The Rx query for reconnection shouldn't use the Switch extension method IMO, but Concat in the following way:
_reconnectSubscription =
  _reconnectHandler
    .Select(Observable.Timer)
    //.Switch()
    .Concat()
    .Retry()
    .Subscribe(async _ => await WatchResource(), error => _logger.LogError(e, @"There was an error while restarting the resource", typeof(TEntity)));

Please notice that I added an error handler into the Subscribe method and I also included a Retry into the pipeline. The reason for this is that the subscription would otherwise immediately stop in case of a potential error thrown from the WatchResource method.
We are planning to test the fix in our cluster this week, in case that it will work and you agree with the changes I can prepare a PR.
Thank you,
Regards Tomas

I created a small proof of concept example which simulates the reconnection (without exp. backoff):
private readonly Subject<TimeSpan> _reconnectHandler = new();

async Task Main()
{
	var _reconnectSubscription =
		_reconnectHandler
			.Select(Observable.Timer)
			//.Switch()
			.Concat()
			.Retry()
			.Subscribe(async _ => await WatchResource(), error => Console.WriteLine(error.Message));

	for (int i = 0; i < 10; i++)
	{
		await Task.Delay(1000);
		_reconnectHandler.OnNext(TimeSpan.FromSeconds(2));
	}
}

private async Task WatchResource()
{
	Console.WriteLine("WatchResource");
	await Task.CompletedTask;
}

In case of the Switch operator the WatchResource is not called at all.  @buehler are my above "simulated" assumptions correct, please?

I reconsidered my suggestion about the Switch operator. It works as expected after I introduced a trivial backoff (see bellow).
Observable.Switch<TSource> - Transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.
int backoffInSeconds = 1;

for (int i = 0; i < 1000; i++) {
    _reconnectHandler.OnNext(TimeSpan.FromSeconds(backoffInSeconds++));
    await Task.Delay(TimeSpan.FromSeconds(backoffInSeconds));

}

Sorry for the confusion! Nevertheless I will test the Retry mechanism. Thanks.

Hi,
I think that I really found out what terminates the reconnect subscription.
This resetting logic of the _reconnectAttempts variable  brings unpredictability into the restarting process.
Occasionally the _reconnectAttempts reaches the threshold of 40 retries and then the bellow exception is thrown from the _settings.ErrorBackoffStrategy (ExponentialBackoffStrategy) delegate:

After this the _reconnectHandler.OnNext(backoff); is not called anymore to retrigger a new Observable.Timer with backoff.
Here is a potential fix:
const int MaxRetriesAttempts = 39;

++_reconnectAttempts;

_logger.LogError(e, @"There was an error while watching the resource ""{resource}"".", typeof(TEntity));
var backoff = _settings.ErrorBackoffStrategy(_reconnectAttempts > MaxRetriesAttempts ? MaxRetriesAttempts : _reconnectAttempts);
if (backoff.TotalSeconds > _settings.WatcherMaxRetrySeconds)
{
    backoff = TimeSpan.FromSeconds(_settings.WatcherMaxRetrySeconds);
}

Of course adjust it to fit the library the best. Would it make sense to also surround some parts of the OnException method with a try catch block to ensure that the OnNext is called?
try
{
    //...
}
catch (Exception exception)
{
    _logger.LogError(exception, "Failed...");
}
finally
{
    _reconnectHandler.OnNext(backoff);
}

Thank you in advance!

Hello @Crespalvaro and @tomasfabian !
First, thank you very much, @Crespalvaro for sharing your workaround. We were actually about to implement our interpretation of it, until @tomasfabian shared his analysis with me. We actually had a call about it, and I think @tomasfabian is on to something - and the problem described is so subtil that I could easily imagine how it did not got caught earlier on.
What do you think (also @buehler)?

Wow..!
Thank you all for the investigative work!
I think the issue with the backoff strategy seems legit.

Hi @buehler @anekdoti @alexander-klang @Crespalvaro and everyone else!
I prepared a PR  which should fix the issue regarding the stopped reconciliations.
Thank you @anekdoti for leading me toward the provided fix during our call!


Excel file not generated

Hi , I am having issue of generating the excel file. After executing the powershell > login to azure subscription >I get the following log
You have privileges only in One Tenant
Extracting from Tenant 346fecb8-a16f-4aa3-b3a9-e4be59dadaca
To include Security Center details in the report, use <-SecurityCenter> parameter.
Report Complete. Total Runtime was: .35 Minutes
Total Resources: 74
Total Advisories:
Excel file saved at: C:\AzureResourceInventory\AzureResourceInventory_Report_2021-06-03_16_13.xlsx
When I navigate to C:\AzureResourceInventory the excel file is not there. Please assist me'
Regards,
Sheng Hou

Hi,
can you check what version are you running of the resource graph extension?
just run: "az extension list"
Check if you are running the version 2.0.0.
In case your not running it. Can you try to upgrade it to the lastest version?
Thanks

Hi it is working now, due to some permission issue . Anyway would need another help again. I tried to modify the powershell to be able to run on Azure function app. I include the ImportExcel dependency on function app >  requirements.psd1 with the following
@{
# For latest supported version, go to 'https://www.powershellgallery.com/packages/Az'.
# To use the Az module in your function app, please uncomment the line below.
'Az' = '6.*'
'ImportExcel' = '7.1.2'
}
I get the following error when I run the Azure function app on TimerTrigger. I have also attached the powershell script which I have modified. Basically I hardcode my TenantID and SubscriptionID value and commented the following function
#checkAzCli
#checkPS
Attached modified powershell code:
exportinventory.txt
Anyone can advise me on this?
2021-06-04T10:31:44.833 [Error] ERROR: The property 'HorizontalAlignment' cannot be found on this object. Verify that the property exists and can be set.Exception             :Type        : System.Management.Automation.RuntimeExceptionErrorRecord :Exception             :Type    : System.Management.Automation.ParentContainsErrorRecordExceptionMessage : The property 'HorizontalAlignment' cannot be found on this object. Verify that the property exists and can be set.HResult : -2146233087CategoryInfo          : InvalidOperation: (:) [], ParentContainsErrorRecordExceptionFullyQualifiedErrorId : PropertyNotFoundInvocationInfo        :ScriptLineNumber : 107OffsetInLine     : 17HistoryId        : -1ScriptName       : C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\Public\Set-ExcelRange.ps1Line             : $Range.Style.HorizontalAlignment = $HorizontalAlignmentPositionMessage  : At C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\Public\Set-ExcelRange.ps1:107 char:17+ …               $Range.Style.HorizontalAlignment = $HorizontalAlignment+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~PSScriptRoot     : C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\PublicPSCommandPath    : C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\Public\Set-ExcelRange.ps1CommandOrigin    : InternalScriptStackTrace      : at Set-ExcelRange, C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\Public\Set-ExcelRange.ps1: line 107at Export-Excel, C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\Public\Export-Excel.ps1: line 647at ImportDataExcel, C:\home\site\wwwroot\TimerTrigger1\run.ps1: line 5301at , C:\home\site\wwwroot\TimerTrigger1\run.ps1: line 5492at , C:\home\site\wwwroot\TimerTrigger1\run.ps1: line 61TargetSite  : System.Object CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, System.Object)StackTrace  :at CallSite.Target(Closure , CallSite , Object , Object )at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)Message     : The property 'HorizontalAlignment' cannot be found on this object. Verify that the property exists and can be set.Data        : System.Collections.ListDictionaryInternalSource      : Anonymously Hosted DynamicMethods AssemblyHResult     : -2146233087CategoryInfo          : InvalidOperation: (:) [], RuntimeExceptionFullyQualifiedErrorId : PropertyNotFoundInvocationInfo        :ScriptLineNumber : 107OffsetInLine     : 17HistoryId        : -1ScriptName       : C:\home\data\ManagedDependencies\210604095616604.r\ImportExcel\7.1.2\Public\Set-ExcelRange.ps1Line

Hi,
We haven't tested the script in Function App or Automation Account.
Some people have requested that in the past and we might work in an alternative version of the script to be set as a Runbook in the future.
I believe just using the same script directly in the function app or runbook would not work. There are several things in the script that I believe would not supported on function app, like settings parallel threads and different processes.
Stay tune for future updates on that alternative version.
Thanks


chore: dashboard-ui to 0.0.1

chore: Promote dashboard-ui to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@craft-de-jet: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
2207efd109f47fe21fcccbf79bc93a2841d7d477
link
/test this

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


Running in SSR dev is not working

As soon as I run pnpm run dev I get instant exit with error:
// Internal server error: render is not a function

const url = window.location;
//          ^
// ReferenceError: window is not defined

What am I doing wrong here?

I may be a bit late but I'll put it here in case someone else might encounter the same issue.
the window object doesn't exist in server environment (the SS in SSR). To solve it simply add a guard:
const url = typeof window === "undefined" ? null : window.location;
(Feel free to switch null with a value you're comfortable with. But just so you know, in JS, usually null means that we deliberately set the value as such whereas if we were to put "" (empty string) or undefined we can't really know whether it was the dev's choice or JS.)


[bug] Apos bot: version 0.95

Sometimes the bot doesnt spawn... And doesnt reset.. What should I do?

New tokens

@christopherkardas  So.. should I wait?

No, get new cookies, dont login into face or agar and set the reset timer to 10 or 30, when your using the newest version its recommend to use 10, works much better :)

@HugoMSantos Don't log out of Facebook :+1:

@christopherkardas & @MastaCoder Thank you.


Added Koans for the Enum type

Request to add koans for the enum type.
I think the implementation is straight-forward but am happy to make any changes. Let me know if the examples are acceptable or if you need any language changes.
I wasn't quite sure how many examples to add, the enum type is pretty simple. I could dive deeper into flags if you think that would be beneficial.

@all-contributors please add @JoshuaBelden for code


feat: add git-audit (take one and two)

Related to https://github.com/jenstroeger/python-package-template/issues/5#issuecomment-1207180258: runs git-audit when the requirements.txt file is generated.
@behnazh this PR has two commits where I tried to use git-audit in two different ways:

as part of the local Makefile when generating the requirements.txt file — but that adds a new dependency to the pip-audit package for a pruned tree which makes the run a little ugly and adds a hard-wired dependency into our Makefile;
as a Github Action — which required a little massaging of the Makefile when it builds the requirements.txt because we can’t git-audit the package itself and had to exclude it from the requirements.txt for the audit run.*

I wonder if we should document that git-audit runs and checks all dependent packages?
—————
* And now the Action installs the pip-audit package…

As a third alternative (as discussed) here is the change that audits all packages instead of only shipping packages:
index b7c0b3c..302cfad 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -60,19 +60,25 @@ jobs:
       # those targets first and only builds the package if they succeed.
       # Build the sdist and wheel distribution of the package and docs as a zip file.
       run: make dist
+    # Generate the requirements.txt that contains the hash digests of the dependencies and
+    # generate the SBOM using CyclonDX SBOM generator.
+    - name: Generate requirements and SBOM for all packages
+      run: make requirements sbom
+    # Audit all required packages for security vulnerabilities.
+    - name: Audit required packages
+      uses<EMAIL_ADDRESS>+      with:
+        inputs: requirements.txt
+    # Remove the old requirements.txt file (which includes _all_ packages) and generate a
+    # new one for the package and its actual and required dependencies only.
+    - name: Pruning requirements for shipping package
+      run: make prune requirements
     - name: Compute package hash
       if: matrix.os == env.ARTIFACT_OS && matrix.python == env.ARTIFACT_PYTHON
       id: compute-hash
       shell: bash
       run: |
         set -euo pipefail
-        # Generate the requirements.txt that contains the hash digests of the dependencies and
-        # generate the SBOM using CyclonDX SBOM generator.
-        make requirements sbom
-        # Remove the old requirements.txt file (which includes _all_ packages) and generate a
-        # new one for the package and its actual and required dependencies only.
-        rm requirements.txt
-        make prune requirements
         # Find the paths to the files that will be included in the release.
         TARBALL_PATH=$(find dist -name "*.tar.gz")
         WHEEL_PATH=$(find dist -name "*.whl")
@@ -85,12 +91,6 @@ jobs:
         echo "Digest of artifacts is $DIGEST."
         # Set the computed sha digest as the output of this job.
         echo "::set-output name=artifacts-sha256::$DIGEST"
-    # Audit the required packages for security vulnerabilities.
-    - name: Audit required packages
-      if: matrix.os == env.ARTIFACT_OS && matrix.python == env.ARTIFACT_PYTHON
-      uses<EMAIL_ADDRESS>-      with:
-        inputs: requirements.txt
     # For now only generate artifacts for the specified OS and Python version in env variables.
     # Currently reusable workflows do not support setting strategy property from the caller workflow.
     - name: Upload the package artifact for debugging and release

However, I think this is a disagreeable approach because the pip-audit Action installs a whole bunch of additional packages (see this run) which introduces new packages and dependencies outside of the SBOM we just created.

Commit https://github.com/jenstroeger/python-package-template/pull/307/commits/2ee985a2051cba05c563ec38c0818ae7c5ff710f adds pip-audit as part of the dev dependencies, and the Build workflow then audits all packages for all platform runners (see for example this run). I also added a new audit goal to the Makefile such that users can audit their packages locally.
Should we mention the use of bandit and pip-audit in the Security Analysis section?

See issue https://github.com/pypa/pip-audit/issues/365 for the failing runs on Windows.


Is it recommend to launch multiple volume servers per machine?

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Report issues here. Ask questions here https://stackoverflow.com/questions/tagged/seaweedfs
Please ask questions in https://github.com/seaweedfs/seaweedfs/discussions
example of a good issue report:
https://github.com/seaweedfs/seaweedfs/issues/1005
example of a bad issue report:
https://github.com/seaweedfs/seaweedfs/issues/1008
Describe the question
Just noticed that there is the Discussion section, sorry if I misused the issues...

Hi!
I wonder if it's recommended to run multiple volume server processes on a single machine, suppose I have a huge disk? According to https://github.com/seaweedfs/seaweedfs/wiki/Production-Setup#add-volume-servers, the answer seems to be yes, with me configuring the index to use leveldb.
Theoretically, another approach is to give the master a huge volumeSizeLimitMB. I'd assume that this could hurt  the peformance, but would still like to get an opinion from you exprts.
Thanks!

Depending on the use case.

Depending on the use case.

There is nothing unusual. We just plan to host a FS cluster with lots of small files (MB-ish) for reading.

either option is ok, assuming there are no deletions.

Thanks!


Rendering error

Version of Advanced Rocketry
[AdvancedRocketry-1.12.2-1.4.1-104-universal or higher]
Have you verified this is an issue in the latest unstable build
YES
Version of LibVulpes
[LibVulpes-1.12.2-0.2.8-39-universal]
Version of Minecraft
[1.12.2]
Crash report or log (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read
[NO Crash]
Description of the problem
If you use BetterFps MOD and build space elevator.
or
Use SEUS or SM or other shaderpack（except KUDA-Shaders v6.1 Legacy ） .
The screen is very dark.  you can not see anything.

is it only with the space elevator or does this happen with other things too?

I'm not able to replicate:
Forge 1.12.2-<IP_ADDRESS>68
BetterFps-1.4.8.jar
OR
OptiFine_1.12.2_HD_U_E2 + SEUS-Renewed-1.0.0
What version of forge are you using?

I did make a few changes to the render system anyway since a few entities (the space elevator, planet sky, rocket builder) were still using components that have been changed since 1.7.
Since I cannot replicate the issue I have no idea if it'll help or not, but if you like you can give it a go.
AdvancedRocketry-1.12.2-1.4.1-universal.zip

I am so sorry . I do more test.
if use "AdvancedRocketry-1.12.2-1.4.1-108-universal" then
BetterFps-1.4.8 and space elevator you get NO ERROR. that is fine.
But shaderpack Error is same.
Forge 1.12.2-<IP_ADDRESS>68 or <IP_ADDRESS>39
I make test package.
SEUS-Renewed-1.0.0 and KUDA-Shaders v6.1 Legacy is OK NO ERROR.
But most shaderpack get error.
you can find in:
http://shaders.wikia.com/wiki/Shader_Packs

tested shaderpacks:
shaderpacks.zip

I need help
https://github.com/zmaster587/AdvancedRocketry/issues/1423
Unmanned Vehicle not work :(

As far as I can tell, it's the sky modification that's causing issues with SEUS-v11.0 at least.  Setting PlanetSkyOverride should be a workaround if you want to keep using that particular shader.

if set overworldSkyOverride=false
That is in NO Error in the overworld .
But set
PlanetSkyOverride=false or true
StationSkyOverride=false or true
Get ERROR in space Station and Luna. I do not test other plant.
TEST IN
AdvancedRocketry-1.12.2-1.4.1-108-universal or https://github.com/zmaster587/AdvancedRocketry/files/2522160/AdvancedRocketry-1.12.2-1.4.1-universal.zip
Forge 1.12.2-<IP_ADDRESS>70


use client_credentials grant type

If "service accounts roles" is activated in the Keycloak OIDC Client Settings, and adds the appropriate roles to be able to query-users and query-groups, one can use the grant_type=client_credentials in the request and does not need to add an extra user with the realm roles.

This would simplify configuration since only client_id and client_secret needs to be supplied.
More documentation on how the client needs to be set up should be added, though.

Thank you @belfhi , I will test this and update the documentation soon.


Implement Env via wasm imports, not serde json

Current State
Currently Env is a nested json struct with 5 concrete fields (BlockInfo and ContractInfo).
This is very easy to construct and pass in tests, but it is a bunch of json parsing on every call, which is not ideal. It could also be more compile-time type-safe (not just relying on json parsing for that). This is referenced in each contract as a concrete type: env: Env.
Proposal

Rename Env to MockEnv and we use this just for the tests.
Make trait Env with accessors, which is implemented by MockEnv
Create an ExternalEnv, which provides the same methods but makes calls wasm exports to get the values when needed
handle/init/query all now take env: &dyn Env for the argument. And call eg. env.contract_address() instead of env.contract.address.clone()

Here is the trait I am thinking of, which is just flattened accessors from the current Env type.
pub trait Env {
  fn block_height(&self) -> u64;
  fn block_time(&self) -> u64;
  fn block_time_nanos(&self) -> u64;
  fn chain_id(&self) -> String;
  fn contract_address(&self) -> HumanAddress;
}

Proposing this for 0.14. Either we do it then, or we reject this.

In 3. we could also implement lazy deserializing instead of individual calls to the host. So you would always pass the data into the contract but only deserialize when the first field is accesses.
However, I don't think this is a priority right now. Let's get back to this if we have a better reason to do so.


feat: Add core vault and relayer RPCs to API, refactor fees and trans…

…action correctness
Doesn't remove the vault and relayer from the clients directory yet, because only the functionality used in the UI has been transitioned to the API. The transition will be finished in a future PR

LGTM!


MSID: 99462 Version: 1 DOI: 10.1101/2<IP_ADDRESS>4915

MSID: 99462
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>4915
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=99462
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>4915

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/99462v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>4915
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/99462/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [title-upper-case] Content of  element is entirely in upper case: Is that correct? 'ELISA'


Update actions to fix deprecation warnings

fixes #17
This PR updates the setup-go and checkout repos to v3 which (I think) should fix nodejs 12 and save-state deprecation warnings.
depends on #18

@tonyskapunk The 4th PR depends on the commits from #18 which is why they're listed here, but once it merges, they should clean up this PR's diff automatically. (I tried to pull them out without success).

let's see the magic happen at merge :D


Illegible texts in audio bus editor

Godot version
3.3.2, 3.x(9636deac55), 4.0.dev (b76dfde329)
System information
macOS 11.4
Issue description
When using light themes, name of the Master audio bus is hard to read. I think it's even using the same color as the background when in focus:

In 3.x, no matter which theme you use, the volume preview tooltip shown when dragging the volume handle is also using a similar color as the background:

Steps to reproduce
For the master bus name, change editor theme to Light.
Drag the volume handle in audio bus editor to see the tooltip, note that it's different from the hover tooltip.
Minimal reproduction project
No response

In 3.x, no matter which theme you use, the volume preview tooltip shown when dragging the volume handle is also using a similar color as the background:

This should have been fixed by https://github.com/godotengine/godot/pull/49130, which was cherry-picked to 3.x.

@Calinou The 3.x screenshots are from 9636deac55 which is the current latest 3.x.
The Dark theme screenshot is what you get after opening a default editor. Restarting the editor after switching the Light theme does not help, the text color still looks the same as in the screenshot.


Transition to closure-compiler-js

The Closure Compiler JAR has been transpiled to JavaScript:
https://github.com/google/closure-compiler-js/issues/2
We should investigate how well it works with this library, perhaps providing it as an option, or perhaps completely replacing the JAR.  Since it's a transpilation, it should take the same command line arguments  as the JAR.
From what I've heard, Java takes a while to start up, but runs faster.  So, the performance tradeoff between the Node and JVM versions will depend on how big the compilation jobs are relative to the startup cost of the JVM.

Sweet I've been waiting for this. @Dominator008 had been working on it, but this is the first I've seen that it's ready.
I'll see what we can do with this. I will probably have a lot of questions.

Yup, @samthor got closure-compiler-js onto npm, but we haven't wanted to make a lot of noise about it just yet since there may be subtle bugs / differences from the Java version, the interface for it may change, we don't have a good idea of how well it performs, etc. That said, he will be announcing it more loudly soon, with the caveat that it's still experimental at this point. Some informal tests done several months ago suggest that small compilations are faster with the JS version (no JVM startup cost) while larger compilations are faster with the Java version.

So at Monday's meeting, let's discuss the future and revisit whether this repo should be moved to the Google org. In the mean time, I'll try to find time to play around with integrating the pure-js version as a non-default option in this repo.

So my uneducated opinion is that we might still want both options since they have unique performance characteristics.
I'm also happy to have contributions to closure-compiler-js because right now it is just a single compile method.

Crap.  I totally opened this in the wrong repo.
But yay - still helpful!

@appsforartists You're good - this repo was as good a place as any.  Most of the compiler team monitors this repo as well.
Our npm usage has also been climbing steadily: https://npm-stat.com/charts.html?package=google-closure-compiler

I meant to open it on webpack-closure-compiler, but I should check with Sam and Tyler first to make sure I'm not spreading too much word. 😝

Ahh I see. One of the reasons I bundled the grunt and gulp plugins into this repo is frequently users care more about which compiler version they are using than the plugin version. It's hard to specify versions with npm in a way that gives users that control separate from plugin features.
Looking at the webpack plugin - they have exactly that problem. https://github.com/roman01la/webpack-closure-compiler/blob/master/package.json#L23


[HOTFIX] Handle removing interpreters while removing note

What is this PR for?
Removing some interpreters while removing note. In case of "Per note", "Isolated" interpreter process should be removed if a note be removed. In case of "Scoped" of "Per note", that session should be removed and if there's no more session in that process, the process should be removed, too.
What type of PR is it?
[Hot Fix]
Todos

[x] - Handle removing interpreters when removing note

What is the Jira issue?
N/A
How should this be tested?

set python interpreter as "per note/scoped"
run %python print(1) in a note
remove that note
check if python process exists with grep

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@Leemoonsoo Please review and merge it if it's ok.

Tested and it works perfectly.

Will merge it


New package: JuDGE v0.4.5

Registering package: JuDGE
Repository: https://github.com/EPOC-NZ/JuDGE.jl
Created by: @adow031
Version: v0.4.5
Commit: 9b0f5b9ff400c59b73efb7c631d9cd53aa0c6a75
Git reference: master
Description: An interface for solving a stochastic capacity expansion problem via a Dantzig-Wolfe decomposition algorithm

I would like this package registered with its current name: JuDGE.
This package has been known as JuDGE since 2018, and has been presented with this name at academic conferences over the last 5 years. JuDGE has been used in this published paper, and has been or is being used by academic researchers in Oceania, Europe, North America and Asia.
JuDGE offers a suite of functionality for multi-stage capacity planning problems, including a modelling framework which builds on JuMP, decomposition algorithms, along with analysis and visualisation tools.
We would like JuDGE to be registered so that it's easier for users to access, and so other packages can set JuDGE as a dependency, if necessary.
Thanks for considering this request,
Tony.
Dr Anthony Downward,
Engineering Science,
University of Auckland,
New Zealand.


add autoHide to the CueBar

my opinion is the notes shouldn't hide and the bar should transition to the bottom of the player window and be visible always
hiding doesn't make sense when the popups occur automatically, for instance

I've got your idea and will adjust it next PR


Keep functional API in mind (singularity)

Passing the $loop parameter is often cumbersome…
Refs https://github.com/reactphp/react/issues/330

There's really nothing we can do here before reactphp/react#330 is being implemented (or even considered). Until then, we should keep in mind that the $loop parameter could eventually be optional. This ticket can be used for the reference.
I suppose this can be closed.


PureThermal 2 on Android Chrome

I'm trying to run the purethermal module on an android device using Chrome through USB.
It successfully shows up on a laptop/pc in chrome yet android is not showing the camera as an option to choose from using MediaDevices.enumerateDevices().
The camera does show up in chrome// devices.
I've created a bug-report on chrome dev boards, but I'm hoping it's something that I can solve, perhaps with a small firmware update myself?

What purethermal firmware version are you using?

Hi, is this issue addressed?
I have the same issue, also trying to fix it via firmware update. Need to find where camera permission is communicated with Android 10 device? or what else?


audit-argument-checks compatibility

I get following error when I add mike:mocha as a package, which I think has to do with the mirror not checking all it's arguments (audit-argument-checks throws that error)
Exception while invoking method 'velocity/reports/submit' Error: Did not check() all arguments during call to 'velocity/reports/submit'

Yeah, having the same issue. Temporary  solutionis to remove audit-argument-checks.

Hmm it should be checked here https://github.com/meteor-velocity/velocity/blob/develop/core.js#L360-L372 but it's clearly not. Is there any more info in that error?

I am not seeing any issues with<EMAIL_ADDRESS>Please reopen if you're still having issues.

I am having this same issue using<EMAIL_ADDRESS>I rolled back to<EMAIL_ADDRESS>but still get the error:
I20150503-07:31:27.415(-4)? Exception while invoking method 'velocity/reports/submit' Error: Did not check() all arguments during call to 'velocity/reports/submit'
I20150503-07:31:27.415(-4)?     at [object Object]._.extend.throwUnlessAllArgumentsHaveBeenChecked (/Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/check.js:375:13)
I20150503-07:31:27.415(-4)?     at Object.Match._failIfArgumentsAreNotAllChecked (/Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/check.js:130:16)
I20150503-07:31:27.416(-4)?     at maybeAuditArgumentChecks (/Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/ddp.js:2442:18)
I20150503-07:31:27.416(-4)?     at /Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/ddp.js:1476:20
I20150503-07:31:27.416(-4)?     at [object Object]._.extend.withValue (/Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/meteor.js:989:17)
I20150503-07:31:27.416(-4)?     at /Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/ddp.js:1475:41
I20150503-07:31:27.416(-4)?     at [object Object]._.extend.withValue (/Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/meteor.js:989:17)
I20150503-07:31:27.416(-4)?     at [object Object]._.extend.protocol_handlers.method (/Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/ddp.js:1474:51)
I20150503-07:31:27.416(-4)?     at /Users/dd/ws/meteor/biologio/biolog/.meteor/local/build/programs/server/packages/ddp.js:1374:43

I also did this:
meteor remove audit-argument-checks
but tests no longer ran.


PP-5550: Minor simplification of charge_controller

Writing a unit test for PP-5550 is complicated. Possible - but complicated.
This is because the charge_controller's "create" method is unwieldy, too big
and overly complicated. Shockingly there are no unit tests for the method.
Unsurprising given the complexity of the code.
In order to write a unit test for PP-5550 I've decided to make small
incremental simplifications and eventually move the validation code into its
own class. But for now, this method gets rid of the 'let userEmail' as its
result is never used.
I have also taken a decision - in conjunction with @mrlumbu and @sfount - to
get rid of some AWSXray code. It makes code look more complicated; and in
reality we use request ids and charge ids to trace a request through the
system.
WHAT
A brief description of the pull request:
HOW
Steps to test or reproduce:

@sfount @heathd @alexbishop1 @mrlumbu I'd appreciate if two or more of you can have a look at this

@sfount there weren't any unit tests for charge_controller's create method to begin with, so i've relied on the cypress tests and e2e tests passing for confidence here. I have a unit test for this but it will be in the next PR to keep PRs small.


chore(main): release 0.0.8

:robot: I have created a release beep boop
0.0.8 (2024-08-22)
Other

satisfy ValidationRule (#121) (5894f51)

Dependency Updates

deps: update module github.com/onsi/ginkgo/v2 to v2.20.0 (951e094)
deps: update module github.com/onsi/ginkgo/v2 to v2.20.1 (cab9803)
deps: update module github.com/validator-labs/validator to v0.1.2 (df63d44)
deps: update module github.com/validator-labs/validator to v0.1.5 (#123) (a856370)
deps: update module github.com/validator-labs/validator to v0.1.6 (5dbc31f)
deps: update module sigs.k8s.io/controller-runtime to v0.19.0 (#124) (e903cc7)

Refactoring

make each rule implement validationrule.Interface (#130) (381e3ab)
support direct rule evaluation (#118) (e4d873d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.8
:sunflower:


Create toy sample data for testing

Hi Beth,
Could you please add toy sample GA data for testing thank you!

Change this issue to milestone 2 since it's part of work of writing test.

Here are the columns name you might need:
[date]: 20220801 to 20220825,
[fullVisitorId],
[totals.visits],
[totals.transactions (1 or blank)],
[totals.transactionRevenue],
[totals.newVisits],
[trafficSource.adwordsClickInfo.campaignId]: 219011657, 140569061, 215934049, 123851219

PR #31


Events - Remove concept of volunteers req at event level

Only tasks should require input of the volunteer amounts required.

@tonysurma Do we also want to remove the enforce volunteer limit at this level and put all control over this purely within the tasks?

@stevejgordon, if this is something @tonysurma wants to do for the upcoming launch, I'd be happy to volunteer

YES! Please remove this.  Makes no sense.  If you wanted to show an event level amount which is total of tasks that is cool but not necessary.  Went ahead and presumptively assigned you @mgmccarthy 🔮

looks like @vishalmadhvani is going to pick this up. @tonysurma, can you re-assign?

Started looking at this yesterday. Just wanted to confirm this means deleting the following from the Event Model.
    public int NumberOfVolunteersRequired { get; set; }
    public List<EventSignup> UsersSignedUp { get; set; } = new List<EventSignup>();
    public bool IsLimitVolunteers { get; set; } = true;
    public bool IsAllowWaitList { get; set; } = false;
    public int NumberOfUsersSignedUp => UsersSignedUp.Count;
    public bool IsFull => NumberOfUsersSignedUp >= NumberOfVolunteersRequired;
    public bool IsAllowSignups => !IsLimitVolunteers || !IsFull  || IsAllowWaitList;

And hence remove all functionality around volunteers on events?

@VishalMadhvani double check with @stevejgordon but that seems right as there is no real concept of volunteers at event level other than a sum of needs and who signed up so far for the tasks.
also I just invited you to the repo so I can assign you to issues.  thanks.

@VishalMadhvani - Those look correct. I'm sure we'll have quite a few uses of these across various view models and the handlers related to them. We will also be able to remove some of the database columns storing this data for Events as well. That will require a migration which would be best after the RTM stuff is merged in.
We'll just need to ensure anything coming from the task level remains in place and working.

@VishalMadhvani wanted to check in if you are still working on this.  Thanks in advance

FYI @stevejgordon is working on this and we chatted today on the approach he is taking (making this note as @mgmccarthy just mentioned that will work on #894 post this change

@tonysurma - Started on this last night and a fair way into this. Will continue later during my lunch break. I think I can and will leave the settings for enforce limit and enable waiting list which will then still apply to task signups. Looking at the code, it's easier to leave that in and strip back / refine if we later decide to do so.


The positioning problem after the queue manager is clicked

The code part about positioning the camera needs to be modified to adapt to queue managers of different sizes.

The functionality of repositioning main camera after clicks on objects is removed for this MVP.


Catching VeldridException resulting from a shader compile error

hi and thanks for your very nice graphics library! I'm using the nuget package version 4.6.1
my problem: I need to compile user provided shader code (glsl) during runtime (similar to the editor at https://www.shadertoy.com/new). This works beautifully with your lib by the way. But if the provided shader code has some errors a VeldridException is thrown. Because I need to work on the OpenGL backend (at least for now) this exception is thrown on the Veldrid OpenGL worker thread and not during the call to CreateShader, but at a later time, which makes it difficult to catch (without halting the application). Do you have any suggestions how to handle invalid shader code without stopping Veldrid?

@danielscherzer Thanks for reporting this. I'd definitely like to support this better, and in general I'd like to make the fact that OpenGL stuff happens in a background thread as invisible as possible. In this case, it seems reasonable to synchronize with the execution thread in order to propagate any compiler errors at the time the Shader itself is constructed. Similarly, I think it makes sense to do the same for Pipeline objects, which can fail if the Shaders that you give to it are incompatible (e.g. they use different types for the same uniform variable).
I pushed a change to master that causes the Exceptions to be thrown from ResourceFactory.CreateShader and CreatePipeline. There should be a pre-release build popping out onto myget sometime soon that you can test if you'd like.

Thanks for the quick fix! I installed 4.7.0-g4d09d452ed and it seems to work exactly like it should. The exception is thrown were it is expected and when I catch it the application still works. Excellent!
One minor thing which is just a cosmetic concern: The VeldridException returns the shader log as part of the VeldridException.Message="Unable to compile shader code for shader [] of type <ShaderType>: ...". This makes it possible for app code to parse the shader log for the individual errors, but parsing code could fail in the future if you ever decide to change the syntax of this message. My suggestion would be to put the shader log (additionally) into an inner exception to avoid this.
Thanks again for your great work!


Invalid code generation with --module=amd and --resolveJsonModule=true

TypeScript Version:  Version 3.0.0-dev.20180707

Search Terms: amd json
Code

Init workspace

#!/bin/bash

npm init --yes
npm add requirejs typescript@next
mkdir src

cat > src/main.ts <<EOF
import data from './data.json'
console.log('data.json:', data)
EOF

cat > src/data.json <<EOF
[ "a", "json", "object" ]
EOF

cat > tsconfig-commonjs.json <<EOF
{
  "compilerOptions": {
    "esModuleInterop": true,
    "resolveJsonModule": true,
    "outDir": "./build",
    "module": "commonjs",
    "moduleResolution": "node"
  },
  "include": ["src"]
}
EOF

cat > tsconfig-amd.json <<EOF
{
  "compilerOptions": {
    "esModuleInterop": true,
    "resolveJsonModule": true,
    "outFile": "./build/bundle.js",
    "module": "amd",
    "moduleResolution": "node"
  },
  "include": ["src"]
}
EOF

npx tsc --version
npx tsc -p tsconfig-commonjs.json
npx tsc -p tsconfig-amd.json

cat > run-commonjs.js <<EOF
#!/usr/bin/env node
require('./build/main')
console.log('Done');
EOF

(echo '#!/usr/bin/env node'; cat node_modules/requirejs/require.js build/bundle.js -) > run-amd.js << EOF
requirejs(['main'], function (main) {
  console.log('Done');
})
EOF

chmod +x run-commonjs.js run-amd.js

#rm -rf build src node_modules package*.json run*.js tsconfig*.json

Run ./run-commonjs.js
Run ./run-amd.js

Expected behavior:
Both scripts output
data.json: [ 'a', 'json', 'object' ]
Done

Actual behavior:
Only the commonjs version works. The AMD version can be fixed by applying this patch:
--- run-amd.js	2018-07-09 18:44:56.000000000 +0200
+++ run-amd-fixed.js	2018-07-09 18:50:19.000000000 +0200
@@ -2147,7 +2147,7 @@
 var __importDefault = (this && this.__importDefault) || function (mod) {
     return (mod && mod.__esModule) ? mod : { "default": mod };
 };
-["a", "json", "object"]
+define("data", [], ["a", "json", "object"])
 define("main", ["require", "exports", "data"], function (require, exports, data_json_1) {
     "use strict";
     exports.__esModule = true;

As you can see, the compiler outputs the json data as-is, without wrapping it with the required module definition code. Note that --module=system generates the same plain json-object in the bundle.
Playground Link:
Related Issues:

Oh come on. :(

😂 imho the correct way to fix this is not to have a such error message, but make JSON Module resolution and generation work on all module systems. I think I could accept reporting errors in 3.0. But could you please not mark this as Fixed and put a Milestone, 3.0.1 or 3.1 both acceptable and have a complete fix in the future.

I am sorry, but complete fix is in the eyes of the beholders.
AMD loaders do not automatically handle parsing and loading of JSON into objects, unlike the Node.js require(), therefore the most appropriate thing to do is what the TypeScript team have done and disallow it.  You can't magically make something that TypeScript doesn't have control over, work.  AMD loaders require a plugin to properly deal with loading of JSON files.

To be clear, statically building the JSON into an AMD module would not be a good solution either, because the whole intent is to allow the structure of the JSON to be typed checked at design time, but allow the runtime to still be a JSON file.  The fact that the compiler copies it on build to the out directory could actually be argued outside of what TypeScript should actually be doing.  Bundlers should be choosing to statically build assets or transform them to other formats.

Defining objects as modules in AMD is perfectly fine and works great, especially with the new --esModuleInterop flag in TypeScript.
The proper fix for this issue is what I did in the diff. Instead, typescript@next now emits errors on our current code base (which was working just fine until this commit), where we use something like the example below and actually do bundle up the (external) modules and their JSON objects ourselves (see #25149).
This issue was about when the JSON file is inside our project, not from node_modules.
#!/bin/bash

set -x
rm -rf node_modules package*.json import-json.ts bundle*js

npm init --yes
npm add<EMAIL_ADDRESS><EMAIL_ADDRESS>
cat > 'import-json.ts' <<EOF
import phoneMetadata from 'libphonenumber-js/metadata.mobile.json';

console.log(phoneMetadata)
EOF

# tsc 2.9.2 works
npx tsc --esModuleInterop --resolveJsonModule --outFile bundle-2.9.2.js --module amd --moduleResolution node import-json.ts

# tsc 3.0.0 does not
npm add typescript@next
npx tsc --esModuleInterop --resolveJsonModule --outFile bundle-next.js --module amd --moduleResolution node import-json.ts

actually my module setting is esnext. i guess in this case TypeScript should just type-check JSON files, not compile it (remaining as-is), and let bundlers to decide how to deal with them.

ESNext represents ECMAScript standards track features. as of now, ES Modules only target code modules (i.e. JS). anything else like json, css, images, etc.. are all not allowed. TS is trailing the ECMAScript specification on this one.

I just want vscode to type check JSON files for me, so sad x_x


change 'current file' text to just 'file'

Change the Current File tab title to just File. This matches the Project tab a bit better, and is more terse - status bar space is at a premium :)

:+1:

A changelog entry please?

A changelog entry please?

Added

LGTM. Thanks :rose:


Question

What is the idea?
Readd MOFH
Why would this be beneficial
MOFH is used by many persons like me and MOFH support can be grow BoxBilling

Not going to happen unless someone volunteers to maintain it.


Using chatgpt-github-actions with copilot

Is it possible to use Copilot instead of ChatGPT to generate the review comments?

We currently only support GPT through OpenAI.
I have plans to resume the project and port it to be able to use BedRock and also Gemini.


Migrated to the latest RobotWare and renamed the HTTPClientSession

Minor update to be able to use latest RobotWare
Added an extra error message field to the communication result
Renamed the HTTPClientSession instance (for clarity)

Solves issue https://github.com/ros-industrial/abb_librws/issues/22

This PR seems to introduce a nr of unrelated changes, but contains only a single commit.
It would be very nice if we could refactor this PR to consist of something like 3 commits.

I have now split the single commit into 3 separate ones.

Thanks @jontje.


make_screenshot_on_failure: handle "URLError: Connection refused"

When quitting the browser yourself in the (overridden) browser fixture,
make_screenshot_on_failure causes a "Connection refused" exception.
While this indicates a problem with your test setup, I think it should only
log a warning instead, or something similar.

            The addinfourl return value is a file-like object.  It also
            has methods and attributes including:
                - info(): return a mimetools.Message object for the headers
                - geturl(): return the original request URL
                - code: HTTP status code
            """
        host = req.get_host()
        if not host:
            raise URLError('no host given')

        # will parse host:port
        h = http_class(host, timeout=req.timeout, **http_conn_args)
        h.set_debuglevel(self._debuglevel)

        headers = dict(req.unredirected_hdrs)
        headers.update(dict((k, v) for k, v in req.headers.items()
                            if k not in headers))

        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"
        headers = dict(
            (name.title(), val) for name, val in headers.items())

        if req._tunnel_host:
            tunnel_headers = {}
            proxy_auth_hdr = "Proxy-Authorization"
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)

        try:
            h.request(req.get_method(), req.get_selector(), req.data, headers)
        except socket.error, err: # XXX what error?
            h.close()
>           raise URLError(err)
E           URLError: <urlopen error [Errno 111] Connection refused>

..…/pyenv/2.7.9/lib/python2.7/urllib2.py:1197: URLError
-

i agree, would you mind of PR to try.. except URLError: pass
i think that's enough and we don't need the warning as well

Done.
I've also added logging, in a separate commit - feel free to leave it out.
I find it useful to see the location, and it's helpful instead of silently discarding the URLError.

Committed in https://github.com/pytest-dev/pytest-splinter/commit/008728f0bcfc38c520f7c48ea18f03e4487bafcd.


prow-test6

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: pgodowski
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [pgodowski]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

@pgodowski: you cannot LGTM your own PR.

In response to this:

/lgtm

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

/test test-presubmit

/lgtm

@pgodowski: you cannot LGTM your own PR.

In response to this:

/lgtm

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


Feature: Support for RISC-V (RISCV64/RV64) Hardware Architecture

General
RISC-V, an open-source instruction set architecture (ISA), has garnered support for several compelling reasons. Its open standard nature allows anyone to implement it without royalty fees, fostering innovation and collaboration across industries. The flexibility of RISC-V enables easy customization of the instruction set, leading to more energy-efficient and high-performance computing solutions tailored to specific applications.
With a growing community of developers, researchers, and companies, RISC-V benefits from collaborative efforts, resulting in faster advancements and a broader range of supported devices and platforms. Supporting RISC-V in operating systems reduces dependency on specific hardware vendors, mitigating the risk of vendor lock-in and providing users with more choices in hardware platforms.
RISC-V's popularity in education and research communities, along with its emergence in cost-sensitive markets, makes OS support crucial. It enables students and researchers to experiment with a modern ISA without proprietary constraints. Additionally, RISC-V's global collaboration efforts benefit from widespread OS support, promoting standardization and interoperability between different hardware platforms.
While supporting RISC-V offers numerous advantages, it may not be feasible or necessary for every operating system, depending on specific use cases or existing architectures. The decision to embrace RISC-V support depends on market trends, user requirements, and the overarching goals of operating system developers.
Backgrounds
Several projects already support the RISC-V architecture or are already planning this. While RISC-V is tier 2 level in FreeBSD, Debian already accepted this as an official hardware architecture by the end of last year. The current builds of Debian SID already provide rv64 binaries of the packages and the pipelines have also already been adjusted. Ubuntu on the other hand has already made a huge progress by building rv64 based packages since 20.04.
Hardware
Next to QEMU and cross-compiling there're also already several affordable dev-boards which can be used for real-life testing and building. Boards like the Milk-V, LicheePi4a or the VisionFive2 (my current native solution) are really good examples to play around with rv64.
RV64 Integration
General
I think a possible solution could lead into several different steps and iterations. However, this should not be a big deal since there are already multiple hardware platforms supported in general. Debian and Ubtunu also already show that this is possible and GL should not encounter any special corner cases. Since this might still result in a chicken-egg issue it would be more easy when there are already rv64 packages available within the Garden Linux repository. While everything is based on containers, we first need a rv64 Debian container (I created one which is available at cr.gyptazy.ch/gyptazy/debian-trixie-riscv64:latest. This provides the possibility to create a "Garden Linux Frankenstein" image, which is based on a minimal Debian image, including only Debian packages but already has the most adjustments from the features included. Afterwards, a new  "Garden Linux Frankenstein" container can be created from the user land. But we're still missing the real GL packages. But even after that, only container images, user land and a QEMU image may be in place. Therefore, an additional step leads into hardware support which is probably the biggest issue right now. I do not know if it may make any sense to already support any hardware here, because this is still very volatile and could also be fixed as soon as all drivers are placed within the vanilla kernel. However, everything else could already get on track and prepared for rv64 with probably not much effort.
Packages Pipeline
Adjusting the build pipeline and runners to also create cross-compiled rv64 binaries next to the amd64 and arm64 as well as placing them on the repository would make the whole life much easier. No local recompiles would be needed anymore.
Build Pipeline
Some adjustments may be needed, like fetching a rv64 based container image as a base build image.
Hardware Support
Currently, this is probably more or less a very optional thing because the whole hardware part is very volatile and should also be provided by the vanilla kernel. However, for local machine installations it could be worth to have a look at the RISC-V boot flow  (U-Boot / OpenSBI).
Conclusion
The effort for this integration should not be too big and a great value in longterm for the GL project. However, it still needs some adjustments which could be done time by time without any pressure. Seeing this already in other Debian based Distributions like Ubuntu or even Debian make this very promising. Let me know what you think about supporting the RISC-V hardware architecture.

Thanks for your nice write up.
Option A: wait for risc-V Debian packages to migrate to testing.
Option B: some way of mirroring from Debian sid. Either conditional (based on arch) or introduce another experimental risc-v dist for GL
Maybe there are more options?

Hey @Vincinator,
I think the first steps should result in adapting the Garden Linux package build pipeline to create rv64 packages. Afterwards a userland, container images and qemu image can be generated, as soon rv64 is in Debian testing available.


new_nuttx_px_config.sh fixup.

Forgot to add cmake/configs/uavcan_board_ident/NAME.cmake
Cannot git mv when file name didn't change.
Also note that when you use px4cannode-v1 as prototype,
nuttx-configs/px4cannode-v1/nsh/defconfig.nonsh
and nuttx-configs/px4cannode-v1/nsh/defconfig.nsh
are copied, but not editted (these files only exist in px4cannode-v1).

@davids5 Why didn't you merge this in?

@davids5 Hi, why haven't you merged this? The semaphoreci not building isn't my fault ;), this commit only fixes the script that I gave you.

@CarloWood - Sorry I was on other things since we last spoke!


Open the Command Palette, search for the Dev Containers commands, and then select "Dev Containers: Reopen in Container."  This step cannot be found in Visual Studio Code as "Dev Containers: Reopen in Container."

Describe the bug
There is an error in the document: https://learn.microsoft.com/en-us/azure/developer/python/get-started-app-chat-template?tabs=visual-studio-code#open-development-environment

Open the Command Palette, search for the Dev Containers commands, and then select "Dev Containers: Reopen in Container."
This step cannot be found in Visual Studio Code as "Dev Containers: Reopen in Container."
Screenshots

Thanks for reaching out.
Please open the issue in the https://github.com/microsoft/vscode repo.


Adding some extra tests for OBS repos

Pull Request Test Coverage Report for Build 191

71 of 73 (97.26%)  changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.1%) to 79.864%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

linters/markdown_linter.py
44
46
95.65%

Files with Coverage Reduction
New Missed Lines
%

converters/md2html_converter.py
1
39.52%

Totals

Change from base Build 188:
0.1%

Covered Lines:
5267

Relevant Lines:
6595

💛  - Coveralls


Add PR name checker

Add a GitHub action to check the PR name
Something like this -> https://github.com/marketplace/actions/pr-title-checker

It might be cool to improve the https://github.com/BearStudio/start-ui-web/blob/master/CONTRIBUTING.md too, so it matches the checks.
If anybody is reading this, feel free to leave comments about your ideas.


Request for v4 examples

Ok, how can I use CosmosDbTrigger for v4? I cannot find any other docs, even the official says - pending. 😡

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

ID: 28aac762-b154-1d0e-9afc-67889fdf9762
Version Independent ID: 9a406f60-6c72-d3d9-2bc9-8d8e8c1922ae
Content: Azure Cosmos DB trigger for Functions 2.x and higher
Content Source: articles/azure-functions/functions-bindings-cosmosdb-v2-trigger.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

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


Scalable Linear System Solver on Multiple GPUs

Hello. I'm building a software need a scalable linear equation solver on cluster with multiple GPUs. The document on linalg.solve (https://docs.nvidia.com/cupynumeric/latest/api/generated/cupynumeric.linalg.solve.html) says Multi-GPU usage is only available when compiled with cusolverMP. May I ask whether there is the instruction on building cuNumeric with cusolverMP? Thanks.

Hi @wang-xianghao , sorry for the delay in getting back to you.
At the moment you would need to build cuPyNumeric from source using --with-cusolvermp. You would need to get an installation of cuSolverMp from https://developer.nvidia.com/cusolvermp-downloads. Before you can do this, you will need a build of Legate that includes support for the CAL communicator library. We have ongoing work to produce these packages, and expect a nightly build within the next week to start shipping with this support.
Once cuSolverMp packages are uploaded to conda-forge, we will start building cuPyNumeric packages with this support enabled by default, so the pre-built packages you get directly from us would have multi-GPU np.linalg.solve support enabled by default.


Allow style sheets to be used

This is a minimum viable implementation for using Matplotlb style sheets. Currently light and dark style sheets are hardcoded (taken from https://github.com/matplotlib/napari-matplotlib/pull/157), instead of being generated from the napari theme. I think this is a better approach, as even though it's less general, I doubt the napari folks will be changing their theme very often so manually updating our theme when they do is a reasonable ask.
This doesn't deal with whether we should look for user style sheets, but does let the users set the style sheet property with a path to their own style sheet. We can follow this PR up with a PR to add a location where users can put a custom style sheet.
This still needs:

[x] A test with a custom style sheet
[x] A (manual?) check on how this works with theme changing - this works as well as before, but still subject to https://github.com/matplotlib/napari-matplotlib/issues/140

Just for my sanity: #160 passing here is sufficient.

Let's close #156 and #157 as this supersedes them.

We can follow this PR up with a PR to add a location where users can put a custom style sheet.

We might want to steal the idea from #156 to use a special theme installed in the user's mpl config dir? How do you feel about that?


Not applicable for the 'main.dart' in configuration and no connected devices found

Steps to Reproduce

install android studio4.0
create a new flutter project

click the run button and get

I did connect my device

[✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
    • Flutter version 1.17.4 at /Users/liyw/code/flutter/flutter
    • Framework revision 1ad9baa8b9 (6 天前), 2020-06-17 14:41:16 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/liyw/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/liyw/Library/Android/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-6222593)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to
        your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] IntelliJ IDEA Ultimate Edition (version 2020.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

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

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (1 available)
    • MI 9 SE • 35144f2f • android-arm64 • Android 10 (API 29)

! Doctor found issues in 3 categories.

I can use
flutter run

to run the project in commandline, but it can't be run from android studio

same issue and same environment... nothing found on google to solve it... flutter via visual studio goes smoothly but on android studio device target still remain in loading status

same environment.
I'll try to upgrade or downgrade Flutter SDK Version.

Hi @daileidecaifu
Are you experiencing the issue only with Android Studio / IntelliJ or with VS Code as well?
Thank you

I try in launching from vscode.It stucks here

At the same time, there is an app ui showing up on my phone.Howerver, it's blank,which should be the default click counting app

With VSCode Flutter works well.
I can develop and the deploy app to phisical device by run it from VSCode.
Flutter works well also via terminal (by flutter run command from project root folder).
This issue still affect Android Studio e IntelliJ (both same behaviour)

Hi @daileidecaifu  @liyiwei979621500
Following the indication of jetbrains' Flutter plugin, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

https://github.com/flutter/flutter-intellij/issues/4642


The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

I'm trying to build my ionic project, but getting following error (compilation fails in gradle configuration):

PS C:\Workspace\mobileapp> ionic cordova build android --debug
Running app-scripts build: --platform android --target cordova
[13:05:08]  build dev started ...
[13:05:08]  clean started ...
[13:05:08]  clean finished in 7 ms
[13:05:08]  copy started ...
[13:05:08]  transpile started ...
[13:05:19]  transpile finished in 11.49 s
[13:05:19]  preprocess started ...
[13:05:19]  deeplinks started ...
[13:05:20]  deeplinks finished in 255 ms
[13:05:20]  preprocess finished in 256 ms
[13:05:20]  webpack started ...
[13:05:20]  copy finished in 12.27 s
[13:05:37]  webpack finished in 17.47 s
[13:05:37]  sass started ...
[13:05:41]  sass finished in 3.91 s
[13:05:41]  postprocess started ...
[13:05:41]  removed unused font files
[13:05:41]  postprocess finished in 80 ms
[13:05:41]  lint started ...
[13:05:41]  build dev finished in 33.78 s

cordova build android --debug
ANDROID_HOME=C:\Users\user\AppData\Local\Android\Sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151
Starting a Gradle Daemon (subsequent builds will be faster)

BUILD SUCCESSFUL in 17s
1 actionable task: 1 executed
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
    at build_bbib3h28v2rns6xj5u95qezuw.run(C:\Workspace\mobileapp\platforms\android\build.gradle:137)

The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
File C:\Users\user.android\repositories.cfg could not be loaded.
BUILD FAILED
Total time: 20.704 secs
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_debugApkCopy'.
Could not find com.google.android.gms:play-services-auth:11.8.0.
Searched in the following locations:
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
Required by:
project :
Could not find com.google.android.gms:play-services-identity:11.8.0.
Searched in the following locations:
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
Required by:
project :

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
(node:15112) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_debugApkCopy'.
Could not find com.google.android.gms:play-services-auth:11.8.0.
Searched in the following locations:
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-auth/11.8.0/play-services-auth-11.8.0.jar
Required by:
project :
Could not find com.google.android.gms:play-services-identity:11.8.0.
Searched in the following locations:
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/google/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.pom
file:/C:/Users/user/AppData/Local/Android/Sdk/extras/android/m2repository/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
file:/C:/Workspace/mobileapp/platforms/android/sdk-manager/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
Required by:
project :

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (C:\Workspace\mobileapp\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at ChildProcess.emit (events.js:159:13)
at maybeClose (internal/child_process.js:943:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
(node:15112) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:15112) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm having following version of tools:
Ionic: 3.20.0
Cordova: 8.0.0
Cordova-Android: 6.2.3
Any help would be very grateful.

See https://github.com/ionic-team/ionic-cli/issues/3002


Runtime status is stuck at "Processing" for 12 hours now

I created new index in Algolia, installed a new Algolia extension to Firebase with the right Firestore Collection name and the right Algolia Index name. My App I.D and API keys are correct as well. I have 6 Algolia Extensions installed to my Firebase. These 6 extensions are working fine.. but the newest one (the 7th one) is having problem with Runtime status. It is stuck at "Processing" and the data from the Firestore Collection are not sync to Algolia Index. Please help me what to do. Thanks

It has worked now.. I had to go to the All API Keys on Algolia website, then edit my api to manually add the new Algolia index to that api. I didn't have to do this with the last 6 Algolia extensions. It's probably the updated version? Anyway thank you for taking your time to read this. have a good one!


ftp_list plugin does not respect use_ssl

Expected behaviour:
ftp_list plugin connect to server via tls

Actual behaviour:
errors out. the response says the server only allows encrypted connections even though use_ssl: yes is set in the config
Steps to reproduce:

Step 1: ...
flexget -c ftp.yml execute --tasks ftp

Config:
variables: variables.yml

tasks:
  ftp:
    ftp_list:
      username: '{? ftp.username ?}'
      password: '{? ftp.password ?}'
      host: '{? ftp.host ?}'
      use_ssl: true
      dirs: series
      recursion: no
    accept_all: yes
    ftp_download:
      ftp_tmp_path: "{? local.downloads ?}/"
      use-ssl: true

Log:

(click to expand)
USER@HOST:~/.config/flexget$ flexget -c ftp.yml --test execute --tasks ftp
2020-01-24 18:16:32 INFO     manager                       Test mode, creating a copy from database ...
2020-01-24 18:16:32 INFO     manager                       Test database created
2020-01-24 18:16:33 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2020-01-24 18:16:33 VERBOSE  ftp_list      ftp             trying to establish connection to FTP: USER:<HIDDEN>@FTPSERVER:21
2020-01-24 18:16:34 CRITICAL plugin        ftp             Could not connect to FTP: 530 Non-anonymous sessions must use encryption.
2020-01-24 18:16:34 WARNING  task          ftp             Aborting task (plugin: ftp_list)
2020-01-24 18:16:35 INFO     manager                       Removed test database

Additional information:

FlexGet version: 3.1.10
Python version: 3.6.9
Installation method: virtualenv
Using daemon (yes/no): yes
OS and version: Ubuntu 18.04.3 LTS

Code seems pretty robust on that and looks to be correct per library documentation .. no other complaints in 4 years the feature has existed.


Refactor data modules

Description

This PR refactors the data modules to reduce duplication.

The AnomalibDataset class was introduced, which replaces the individual dataset classes.

The base class AnomalibDataModule was introduced, and the setup method was moved from the concrete subclasses to the new base class.

The make_mvtec_dataset, make_btech_dataset and make_dataset functions are replaced by the _create_samples method. The implementation of this method differs between the individual data module classes.

The refactor also makes it possible to train when no anomalous images are present in the dataset. In this case, Anomalib will not run the test stage after training, so no performance metrics are reported. The user will be notified about this through a logging message.

Fixes https://github.com/openvinotoolkit/anomalib/issues/277

Changes

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

Checklist

[x] My code follows the pre-commit style and check guidelines of this project.
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing tests pass locally with my changes

i created a sketch of the things i suggested in #564
i only modified base.py to be clear about the things i said above
feel free to consider it or not but if you do then the necessary modifications should be done in the downstream classes (mvtec, folder, and btech)