Error thrown on update of IntelliJ for flutter plugin

What happened
On update of IntelliJ and Flutter plugin the below exception was thrown.  The plugin still seems to be working so far.
Version information
IntelliJ IDEA 2023.2.4 • Flutter plugin io.flutter 76.1.4 • Dart plugin 232.10072.19
Error getting Flutter sdk information.
Exception
null
java.lang.NullPointerException: Cannot invoke "com.jetbrains.lang.dart.psi.DartArgumentList.getExpressionList()" because the return value of "com.jetbrains.lang.dart.psi.DartArguments.getArgumentList()" is null
at io.flutter.editor.FlutterColorProvider.getColorFrom(FlutterColorProvider.java:63)
at com.intellij.ui.ColorLineMarkerProvider.lambda$collectSlowLineMarkers$0(ColorLineMarkerProvider.java:47)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.computeSafeIfAny(ExtensionProcessingHelper.kt:57)
at com.intellij.openapi.extensions.ExtensionPointName.computeSafeIfAny(ExtensionPointName.kt:57)
at com.intellij.ui.ColorLineMarkerProvider.collectSlowLineMarkers(ColorLineMarkerProvider.java:46)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.queryProviders(LineMarkersPass.java:225)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.lambda$doCollectMarkers$2(LineMarkersPass.java:113)
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(Divider.java:95)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectMarkers(LineMarkersPass.java:103)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:76)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:390)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:77)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:24)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:386)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1133)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:377)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:376)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:352)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:201)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:207)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:350)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.

Hi @psycry. Thanks for filing this. In what instances does this error get thrown?
Also, on what version of Flutter are you experiencing this?

Hi @psycry. Thanks for filing this. In what instances does this error get thrown?
Also, on what version of Flutter are you experiencing this?

It actually seems to be thrown semi-frequently, mainly on boot and on hotswapping (I'm not sure when it gets thrown as I don't always notice the error notification in the bottom of intellij but I've noticed it more when I change something in code that causes an error but that may be coincidence)
flutter --version
Flutter 3.13.7 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2f708eb839 (3 weeks ago) • 2023-10-09 09:58:08 -0500
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0

On a side note I'm not sure if it actually "breaks" it completely but I have noticed hot swapping being intermittent sometimes  but that may be due to some of the code I'm working on I don't think falls under hot-swappable

Thanks for your response. Looking through the logs, I see this doesn't seem to be an issue with flutter itself. It has been reported in the IntelliJ repo https://github.com/flutter/flutter-intellij/issues/6997 and has been fixed by https://github.com/flutter/flutter-intellij/pull/7002. Closing this from here, if you disagree please comment and I'll reopen this.
Thank you!


The consumerConfigs argument of the FeatureAppRegistry should be optional

When we touch this, let’s also improve the documentation around that, i.e. how exactly can the Integrator provide configs for certain consumers.


Update README.md

Related Issue
Fixes #275
Description
In this pull request, I've added a Table of Contents to the README.md file. The TOC provides links to each major section and subsection within the document, allowing for easier navigation and readability.
Type of PR

[ ] Bug fix
[x] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
I've followed the TOC format commonly used in README files to ensure consistency and clarity. This enhancement should improve the overall user experience for navigating the project's documentation.

@GUNJESH843 Your branch is not up to date with the latest changes

Hey, It was up to date at the time of my PR,
anyways I will look into it
Thank you

@SUGAM-ARORA Hey, I would like you to kindly review the PR. It has passed all the changes and has also been approved.
Let me know if there is anything else.
Thankyou.

Check Branch Update File {https://github.com/SUGAM-ARORA/UniCollab/blob/main/branchupdate.sh}

@SUGAM-ARORA I have updated the Branch File, please review the PR.

@GUNJESH843 Still branch not up to date

@SUGAM-ARORA , have updated the branch, I request you to review the pr, last time I updated the branch the pr was reviewed after 3 days which resulted in the outdating of the branch.

@SUGAM-ARORA , have updated the branch, I request you to review the pr, last time I updated the branch the pr was reviewed after 3 days which resulted in the outdating of the branch.

@GUNJESH843 First thing your branch is still not updated. Secondly PR is merged on first come first serve basis . Even if I review after 3 days , first PR will be checked and merged


jnipp: Cherry-pick https://github.com/mitchdowd/jnipp/pull/40

We use openxr in Chromium, and Chromium's build will break soon if this isn't addressed.
Thanks for your consideration!

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

(ps: I found it a bit confusing that https://github.com/nico/OpenXR-SDK told me to publish the PR here instead of over there.)

OpenXR-SDK is a derivative of this repo, generated automatically.

Ping :)
(Once this is in, we'll have to update openxr in Chromium, and I'd love to have this done well before libc++ lands its change.)

This was merged in the private monorepo, will be here upon the upcoming patch release.


Tests not working

I'm just running 2009's version of Lighter.js on my localhost. Now I've just tried to update the package but there are a lot of issues on this.

../Source/mootools.core.js is missing
../Source/Flame.js is missing

Even if I fix those two issues by refering them to the correct path, it still doesn't work.
Anyway, I think this is the best syntax highlighter on the web. Thanks and happy new year!

The current version of Lighter is a re-write so the package isn't ready to run immediately after check out. I try to leave it in a working state but I only have so much time on my hands.
The 2.1 tag is probably the safest bet right now in terms of usage.

Ok. Hope you update it soon, it's great!
Thanks for your answer.


Add initial DigitalOcean Debian->RancherOS cloud-config.yml

See: https://github.com/rancher/rancher.github.io/pull/532
I have removed the unneeded echo line, but everything else it the same..

LGTM!


Default to not writing to log file from PowerShell host

Currently, with Pslogg 2.1.2, if Write-LogMessage is called from the PowerShell host, as opposed to from a script or another module, the default folder the log file is written to is the folder containing the Pslogg module.
Most users will not be aware the log file is being written to the module folder.  Change the behaviour to not log from the PowerShell host by default.  Only log from the PowerShell host if the user explicitly configures Pslogg to do so.

Currently, with Pslogg 2.1.2, the log file is always written to if the configuration setting LogFile.Name is set and LogFile.FullPath is a valid path.  LogFile.FullPath is set automatically when the module is first loaded to the current session, via Reset-LogConfiguration.
The calling chain is Reset-LogConfiguration > Set-LogConfiguration > Private_SetLogFilePath > Private_GetAbsolutePath.
LogFile.FullPath is only set if LogFile.Name is not null or white space.  However, LogFile.Name is set to "Results.log" by default.

Reset-LogConfiguration seems to be setting the LogFile.FullPath to the correct path name from the PowerShell console.
Running the following:
Reset-LogConfiguration
$config = Get-LogConfiguration
$config.LogFile.FullPath

returns the output:
C:\Temp\Results_20231008.log
where the working directory in the PowerShell console was C:\Temp.
So possibly the problem lies in Write-LogMessage, not in the configuration functions.

Tried running the following from the PowerShell console:
import-module pslogg -force
write-logmessage 'This is an information message' -isinformation
$config=Get-logconfiguration
$config.LogFile.FullPath

It returns the output:
C:\Users\<me>\Documents\PowerShell\Modules\pslogg\2.1.2\Results_20231008.log
ie it is writing the log file to the module folder.
However, calling Reset-LogConfiguration explicitly before calling Write-LogMessage produces a different result:
import-module pslogg -force
Reset-LogConfiguration
write-logmessage 'This is an information message' -isinformation
$config=Get-logconfiguration
$config.LogFile.FullPath

This returns the output:
C:\Temp\Results_20231008.log
So Write-LogMessage is not resetting the configuration correctly.

Problem is bug in Configuration.ps1 Private_GetCallerDirectory.
It walks up the call stack until it reaches a script name that is different from the current script name.
The current script name is ...\Documents\PowerShell\Modules\pslogg\2.1.2\Configuration.ps1
The script it reaches with a different name is ...\Documents\PowerShell\Modules\pslogg\2.1.2\Pslogg.psm1
So it is using the module folder as the folder to save the log file to.

Changes to LogFile configuration settings:

Rename LogFile.FullPath to LogFile.FullPathReadOnly
Add new setting LogFile.WriteFromScript.  Enabled by default
Add new setting LogFile.WriteFromHost.  Disabled by default

Add new Set-LogConfiguration switch parameters:

-EnableFileLoggingFromScript
-DisableFileLoggingFromScript
-EnableFileLoggingFromHost
-DisableFileLoggingFromHost

Add new Write-LogMessage parameters, which override LogFile.WriteFromScript and LogFile.WriteFromHost:

-WriteToFile
-DoNotWriteToFile


Sending Json type file

This might be a duplicate of #420 but if it is can someone tell me how I need to apply this in my situation.
I'm trying to upload a file and send it to my backend trough RestAngular.
Using input type=file and ngf-select I get the following JSon
 Object { externDossierNr: "foo1", internDossierNr: "2016011", rapport: File, testword: 42, testarray: Array[3] }
and the json of rapport
File { name: "Rapport.pdf", lastModified:<PHONE_NUMBER>393, lastModifiedDate: Date 2016-05-16T12:46:27.393Z, size: 83605, type: "application/pdf" }$
I then save it with.
`public save(item: any): any  {
    item["testword"] = 42;
    item["testarray"] = [2,5,9];

    console.log("item to save is ", item);
    console.log("rapport is ", item["rapport"]);

    if (item.id === undefined) {

        this.restService.save(this.metadata.apiDomain, item).then((addedItem: any) => {
            toastr.success(`${addedItem.naam} successfully created.`, `Overzicht Dossiers Created`);
        });
    } else {
        this.restService.update(this.metadata.apiDomain, item).then((updatedItem: any) => {
            toastr.success(`${updatedItem.naam} successfully updated.`, `Overzicht Dossiers Updated`);
        });
    }
}`

Where this.restService.save() is
/* POSTs the data object to the {apiUrl}/{type} URL, where apiURL was set during restangular configuration */     public save(type: string, data: any): any {         return this.restangular.all(type).post(data);     }
I'm writing a custom deserializer to put this in a class.
`package be.ugent.lca.data.entities.deserializers;
import be.ugent.lca.data.entities.Dossier;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.core.ObjectCodec;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.JsonNode;
import java.io.IOException;
public class DossierDeserializer extends JsonDeserializer {
@Override
public Dossier deserialize(JsonParser jsonParser,
DeserializationContext deserializationContext) throws IOException {
ObjectCodec oc = jsonParser.getCodec();
JsonNode root = oc.readTree(jsonParser);
Dossier dossier = new Dossier();
    dossier.setExternDossierNr(root.get("externDossierNr").asText());
    dossier.setInternDossierNr(root.get("internDossierNr").asText());

    System.out.println("Intern Dossier nr is " + root.get("internDossierNr"));
    System.out.println("Test word " +  root.get("testword"));
    System.out.println("Test array " + root.get("testarray"));
    JsonNode node = root.get("rapport");
    if(node == null){
        System.out.println("Rapport is a null pointer.");
    }else{
        System.out.println("Rapport is " + node + " with size " + node.size());
    }
    return dossier;
}

}`
From this I see that I can parse all my parameters in the Json except rapport.
System.out.println("Rapport is " + node + " with size " + node.size());
gives
Rapport is {} with size 0
Can't restangular send the Json File type or should I be sending it some other way?
Any reference to the Json File type would be apreciated as wel, cause I also can't find anything about it.

My problem isn't fixed so I'm not sure if I understand completely but I was under the presumption that by using multipart/formdata in my html form it was already formatted correctly but apparently it was not so I've been able to add it like in #420. As I said, my problem isn't solved so I'm only pretty sure the problem is serverside but I'll close this for now till I know more.

Feel free to re-open if it seems like it's actually a problem within Restangular!


Closing a trivial dialog shows errors on Debian [Gtk3, netcoreapp2.0]

netcoreapp2.0 built on Windows, works happily on Windows, but has problems when executed on a recent vanilla install of Debian 9 with dotnet version 2.1.4; using
    <PackageReference Include="Avalonia" Version="0.6.1" />

Failing dialog example --
XAML
<Window
        xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="About WPFAppSkeleton" MinWidth="500"
        HorizontalAlignment="Center"
        ShowInTaskbar="False"
        Background="{DynamicResource ControlBrush}"
        Foreground="{DynamicResource ControlTextBrush}"
        Height="500" Width="600"
>
  <StackPanel Margin="10">
    <Button Name="Close" IsDefault="True" Content="Close" HorizontalAlignment="Center" Padding="15,5" />
  </StackPanel>
</Window>

Code-behind
open Avalonia.Controls
open Avalonia.Markup.Xaml

type AboutBox () as this =
    inherit Window()

    do this.InitializeComponent()
    member this.InitializeComponent() =
        AvaloniaXamlLoader.Load(this)
        this.Title <- "About"

        let aboutClose = this.FindControl<Button>("Close")
        aboutClose.Click |> Event.add (fun _ -> this.Hide())

Launched with ShowDialog().
Pressing the Close button gives
(dotnet:1346): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

If I use Close(), rather than Hide() in the Click handler, the whole application crashes out with
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Avalonia.Gtk3.WindowBaseImpl.StaticTickCallback(IntPtr widget, IntPtr clock, IntPtr userData)
   at Avalonia.Gtk3.Gtk3Platform.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Program.main(String[] _arg1) in C:\Users\steve\Documents\BitBucket\altcover.visualizer\Visualizer\Visualizer\AltCover.Visualizer\Program.fs:line 13
Aborted

Fixed the Linux distro -- (the Ubuntu VMs are on my other box).

FWIW, using the Avalonia OpenFileDialog() generates similar GTK messages to the console when displayed via ShowAsync and then closed; this with build 5873.

GTK backend is discontinued.
There are still GTK-based file dialogs, and they will continue to complain about a dialog being mapped without a transient parent (it's being set immediately afterwards), that's not a bug, that's just how things work.


select2 input:focus border

Why is it closed?

Yeah not fixed. Same here.

Possible css fix, via chrome dev tools only to give you hints.


The VS is no response after choose "I will install them myself" when create Blank Django Web Project.

Environment

Steps to Reproduce

In VS, select File > New > Project, search for "Django", and select the Blank Django Web Project template.
Enter the Name and location and click OK

After a moment, VS prompts you with a dialog shown below:

Select the option "I will install them myself"
Observes

Expected behavior
The project was created successfully without any error.
Actual result
The VS is no response.

Event log
Event log.zip

Can't repro this. Please reopen it if the issue persists. Thanks.


load .pdf from browser

Hi,
I'm stuck with this explanation :

// This should be a Uint8Array.
// In the browser, you could make a fetch() call and use res.arrayBuffer().

Can someone explain a bit more about this ?
Can this be done with ajax request ?
EDIT
Almost  got it with
fetch('docs/example.pdf')
      .then(function(response) {
            response.arrayBuffer().then(function(buffer) {
              const existingPdfDocBytes = buffer[""[[Uint8Array]]""]

But that opens the pdf in the window, don't know why...

I think I got it with
fetch('docs/example.pdf')
      .then(function(response) {
            response.arrayBuffer().then(function(buffer) {
              const existingPdfDocBytes = buffer[""[[Uint8Array]]""]

Hello @mathiasleroy. You snippet looks close to what you want. Try the below code to convert the ArrayBuffer produced by response.arrayBuffer() into a Uint8Array:


update to latest master

Depends on https://github.com/alexnask/iguanaTLS/pull/9 and https://github.com/MasterQ32/zig-network/pull/27 to fully work, but can be merged before they are merged.

Thanks! yeah these are trivial


Allow non-household accounts as donors during data import

Skipping automatic Account naming during Data Import if HEDA + Advancement is installed, to instead rely on HEDA TDTM triggers.

Critical Changes
Changes

All Account models are now valid during Data Imports, previously only Household was allowed.

Issues Closed
New Metadata
Deleted Metadata

**lurch:attach W-029603

@njjc Do you have any background that would help us uncover implications of allowing non-household accounts in BDI?

Tracking W-029603

Is there any background you can share on this work item @lparrott?
Accounts (organizations) were already allowed as the donor in the current version of BDI, you just can't also import Contacts on the same row.
This change basically just removes the validation check for the Household Account model. BDI doesn't support the 1-1 model or the Individual/bucket model, and it would take more than removing the validation to make it compatible with those models.

@njjc There's background in a quip document - NPSP Data Import issues when using the Admin Account model in HEDA + Advancement

I think this change would require a large amount of testing in NPSP with the 1-1 and bucket models. The whole import process is expecting the HH Account data model. I'm willing to bet that it won't "just work" with those other NPSP models, even if this change makes HEDA function correctly.

@njjc @lmeerkatz I've updated these changes to only affect HEDA + Advancement users, I'll run it by my team as well, but wanted to make sure you were aware!

@lparrott Looks great!

@lmeerkatz This change is approved on our end, would you mind taking a look? We're planning on doing a quick QA smoke test as well.

@lmeerkatz I just pushed updates to only allow HEDA Administrative Accounts to use Data Import if Advancement is installed. I also updated the (previously) failing test methods to check for expected behavior instead of just skipping those cases, good call there.

@lmeerkatz Did you get a chance to take a look at these changes? I'm also fine with setting up a quick call to discuss, just let me know!

@njjc It looks like everyone is busy this week, but @lmeerkatz and I chatted last week, and she approves the overall changes here, but wanted you to take a look at the code before moving this through to QA for regression testing.

@lparrott looks good to me!


feat(template): introduce --validate

This feature flag allows helm template to be used against a live cluster. Some charts need CRDs to be applied to the cluster before calling helm install. This allows users to validate their templates will render with those resources set.
For steps to test this functionality:
><> kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.8/deploy/manifests/00-crds.yaml
><> kubectl create namespace cert-manager
><> kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
><> kubectl config set-context minikube --namespace=cert-manager
><> ./bin/helm template cert-manager jetstack/cert-manager --version v0.8.0

Observe that the chart fails to template due to missing CRDs:
Error: apiVersion "apiregistration.k8s.io/v1beta1" in cert-manager/charts/webhook/templates/apiservice.yaml is not available

Use the --validate flag and observe that the resources now are templated out:
><> ./bin/helm template cert-manager2 jetstack/cert-manager --version v0.8.0 --validate
---
# Source: cert-manager/charts/cainjector/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
[...]

Signed-off-by: Matthew Fisher<EMAIL_ADDRESS>

No difference. helm template is an alias of helm install RELEASE-NAME jetstack/cert-manager --dry-run --replace. This is more-or-less a refactor, moving more of the business logic in cmd/helm/template.go into the action package, which is a net positive for SDK consumers.


Come up with plan to move TERRA REF data archives from NCSA to UA GDrive

Need to archive data from the Storage Condo and Nearline tape at UIUC on GDrive using Globus transfer.
Coordinate with Sean Stevens to set up a plan. Allocation on Storage Condo officially ends in December (?) and tape in March of next year, so we need to transfer ~1PB of the zipped archived files by then.

This is to figure out how to move the data - tactical planning

I also submitted an allocation request to TACC ...

I have reached out to Sean Stevens to find out current status of this, and to see if I can help.

I will post a file listing that wil linclude what's transferred so far and what hasn't.  I'll try to get that together this afternoon.
The data is moving into Google Drive... what I've seen is the endpoint kicks back too busy.  I haven't timed it exactly, but I know with other Google Drive endpoints there is a 1TB/day ingest limit imposed by Google.  This may be what we're running into.

@julianpistorius please get an update from Sean on this

Hi @srstevens! Any updates on this?
If 1TB/day is a hard limit then it'll take almost three years (!!) and we'll have to come up with another solution.

I also submitted an allocation request to TACC ...

Any update on this @dlebauer ?

Unless perhaps we can set up multiple endpoints? And if we focus on archiving the raw_data first, that will reduce the volume by perhaps ~2-3x

Here's a csv (renamed .txt to make github happy) file tracking archive transfers from ncsa#Nearline to UA GDrive TERRA-REF.
terraref_archive.transfers.txt
We might be able to transfer more with multiple users running transfers.
The usual time out with the endpoint comes up as a rate limit, which could be at the endpoint not user level.  At least on GDrive endpoints I've dealt with, this has to do with Google Drive API calls made by the application.  Part of the process of setting up the endpoint, Globus suggests increasing these quotas and also requesting Google increase some that the admin cannot adjust.

All transfers out of Nearline are complete.  I have a few files that got copied to the wrong directory that need to be removed, but as far as I can tell I don't have permission to remove them.  The files are:
UA GDrive TERRA-REF:/ua-mac/archive/raw_data_S2/
arch_ua-mac_raw_data_SWIR_S1.p1.tar
arch_ua-mac_raw_data_VNIR_S1.p10.tar
arch_ua-mac_raw_data_VNIR_S1.p11.tar
arch_ua-mac_raw_data_stereoTop_S1.p2.tar
arch_ua-mac_raw_data_stereoTop_S1.p7.tar
I was also going to move all the md5 files from the top level into the /ua-mac/archive/md5sums directory, but I also don't appear to have premissions to move those.  I can try downloading and uploading if needed, but if someone else has better access it might be easier for them to just move the files.

Going to close this and merge with the NCSA -> TACC issue


[FLINK-19687][table] Support to get execution plan in Flink SQL 1.11

What is the purpose of the change
Support to introduce the execution plan in  json format by StatementSet#explain.
Brief change log
(for example:)

Add an enum such as  JSON_EXECUTION_PLAN for ExplainDetail.
Modify all implementations of Planner#explain.
Append the execution plan in json format to the result when Planner#explain execute with parameter ExplainDetail.JSON_EXECUTION_PLAN.

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluser with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi @V1ncentzzZ , I think this introduces a new API so it is not a bugfix. The Flink community doesn't allow a new feature merged into the bugfix versions, e.g. 1.11.3.
Could you open a new pull request for master branch? Maybe we can catch up the upcomming 1.12.0 release.

Thanks @wuchong , I have opened a new PR, please help review it.

Thanks @V1ncentzzZ . I will close this PR then.


MatFormFieldAppearance "standard" is missing

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
14
Description
With v15 the Type MatFormFieldAppearance was refactored to lose the properties legacy and standard.
Hereby standard was replaced by undefined, so the absence of an appearance should represent standard now.
There is a problem when are using provide MAT_FORM_FIELD_DEFAULT_OPTIONS though. When we set the default to something else we will not be able to opt-in for standard anywhere else anymore since  we can not set the appearance explicity to standard anymore
Even if I "trick" TypeScript into taking the string standard by casting it to any, Angular Material will throw since it seems to check the value at runtime and tell me that this is not a valid value.
This used to be possible in v14 and blocks me from migrating to v15.
Reproduction
Steps to reproduce:

{provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: {appearance: 'outline'}} in your AppComponent
try to set the appearance to standard for any Angular Material Component in your codebase

Expected Behavior
MatFormFieldAppearance should accept standard as a value again
Actual Behavior
MatFormFieldAppearance is typed in a way that standard is absent as a value - and it throws at runtime if you somehow manage to still pass it otherwise.
Environment

Angular: 15
CDK/Material: 15
Browser(s): all
Operating System (e.g. Windows, macOS, Ubuntu): all

The MDC spec do not support these legacy/standard appearances anymore, so Angular team deprecated and removed them.

legacy and standard appearances were deprecated in version 9.0.0

The comments above are correct. The standard and legacy appearances aren't in the Material Design spec anymore.


MongoDB SCRAM-SHA-1 authentication failed for on mean-dev fro client <IP_ADDRESS>;

Hi, I just cloned and installed a fresh MEAN.js from Github into my brand new iMac mini. Everything went well until the server starts running, I got the following error message:
Running "concurrent:default" (concurrent) task
Running "nodemon:dev" (nodemon) task
Running "watch" task
Waiting...
[nodemon] v1.3.8
[nodemon] to restart at any time, enter rs
[nodemon] watching: server.js config//.js modules//server//*.js
[nodemon] starting node --debug server.js
Debugger listening on port 5858
Could not connect to MongoDB!
{ [MongoError: Authentication failed.]
  name: 'MongoError',
  message: 'Authentication failed.',
  ok: 0,
  code: 18,
  errmsg: 'Authentication failed.' }

On MongoDB terminal, I can see the following error message:
2015-10-20T14:16:30.437+1100 I NETWORK  [initandlisten] connection accepted from <IP_ADDRESS>:56532 #55 (5 connections now open)
2015-10-20T14:16:30.448+1100 I ACCESS   [conn51] SCRAM-SHA-1 authentication failed for  on mean-dev from client <IP_ADDRESS> ; BadValue Incorrect SCRAM-SHA-1 user name: n=
2015-10-20T14:16:30.449+1100 I ACCESS   [conn52] SCRAM-SHA-1 authentication failed for  on mean-dev from client <IP_ADDRESS> ; BadValue Incorrect SCRAM-SHA-1 user name: n=
2015-10-20T14:16:30.449+1100 I ACCESS   [conn53] SCRAM-SHA-1 authentication failed for  on mean-dev from client <IP_ADDRESS> ; BadValue Incorrect SCRAM-SHA-1 user name: n=
2015-10-20T14:16:30.450+1100 I ACCESS   [conn54] SCRAM-SHA-1 authentication failed for  on mean-dev from client <IP_ADDRESS> ; BadValue Incorrect SCRAM-SHA-1 user name: n=
2015-10-20T14:16:30.450+1100 I ACCESS   [conn55] SCRAM-SHA-1 authentication failed for  on mean-dev from client <IP_ADDRESS> ; BadValue Incorrect SCRAM-SHA-1 user name: n=
Below are some relevant info:

"mongoose": "^4.0.6",
"connect-mongo": "~0.8.1",
MongoDB version: 3.0.7, installed as per https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
OS:  OS X Yosemite 10.10.5
node: v4.2.1

Did I miss anything? Please help. Thanks in advance.
Jack

@wang3g Could be related to https://github.com/meanjs/mean/pull/1009
Try setting mongoose to version 4.1.11 by updating your package.json to use "mongoose": "4.1.11". If that does indeed fix the issue for you, please report it back to the above PR & it will further confirm the fix.

Thank you soooo much! The problem is gone after updating mongoose to 4.1.11.

I have the same problem am using mean.js,how can I update mongoose to 4.1.11?
do we have to only modify package.json? changind 4.0.6 to 4.1.11

What I did is
npm install<EMAIL_ADDRESS>--save.
That is it.

@wang3g  thnks a lot ,it worked!!

Good to hear.

had the same problem. fixed with "mongoose": "4.1.11" thanks!

For the benefit of anybody else coming across this I had the same issue running mongoose v4.2.1 after a npm update.
In my case downgrading via npm install<EMAIL_ADDRESS>--save also fixed the problem - many thanks to @wang3g!

updating mongoose to v4.1.11 helped me too. Thanks!

@wang3g @withlovee @YaTaras @fellyralph FYI, Mongoose version 4.2.3 introduced a fix to this issue. This project was updated to use this version, in this commit https://github.com/meanjs/mean/commit/09bc727fdff3fe098e767bfc421724fd7bd8afe6
I haven't experienced any issues with this the Authentication after this version upgrade. It seems stable to me. I'd recommend bumping to this version, as it introduced other fixes, and enhancements as well.


Drag-dropping of SQL file should produce query string

I.e. generate string from the file contents

https://github.com/Microsoft/RTVS/commit/9935fec4f972a9decad74140de0d1c44a406a512


Remove deprecated code

Hello @eyurtsev,
Here are the list of changes:

kork/chain.py:

Removal of LLMChain in favor of RunnableSequence as per LCEL
Fixing some imports
Removal of pydantic.config.Extra and instead assigning literals to the extra attribute
Removal of cast() and predict_and_parse() in favor of .content and invoke()

kork/parser.py:

convert the GRAMMAR to a raw string

kork/prompt_adapter.py:

Fixing some imports
Removal of pydantic.config.Extra and instead assigning literals to the extra attribute

tests/test_chain.py:

removing Chain.__call__() in favor of .invoke()

tests/test_prompt_adapter.py:

Fixing some imports

tests/utils.py:

Removal of pydantic.config.Extra and instead assigning literals to the extra attribute
addition of property _llm_type() to ensure that the test_chain passes since .invoke() needs this property to function correctly

Merging this fixes #24. Please let me know if further changes are required or if I have missed something.
Cheers,
Sachin

@eyurtsev are we planning a merge soon?

Hi @Sachin-Bhat,
Kork is a prototype for agents that can take multiple sequential actions at once, but it isn't really used by the community  https://pypistats.org/packages/kork, so we're not maintaining it.
We can keep the PR open in case anything changes but for now it's hard to justify putting any work at all into this package.
Eugene


Changes to number of images triggers an incorrect redraw

Artifacts from previous "number of images" settings appear on the canvas. Refreshing the page triggers a full redraw and images appear correctly.

This was fixed in d056eeda29605f6945c852da67e5d2d2d65701ce


Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toLowerCase')

I faced the same issue
Any news


License Scan/Remediation Questions

Hello maintainers! We have received a report from the CNCF license audit that the following paths contain licenses that do not match the project license. We will need to justify these dependencies for an exception from the CNCF Board. You can find the full report here: https://lfscanning.org/reports/cncf-2/open-telemetry-2024-02-09-e8fcbc12-0a27-470a-9f2d-c5f680322e13.html

libbpf (LGPL 2.1)
github.com/hashicorp/go-version (MPL 2.0)

I couldn't find any reference to libbpf in the repo, so I'm not sure what's up with that one, but it's the highest priority in terms of justifcation/removal per the report.

Hi @austinlparker!
The libbpf files were included for easier linkage during compilation of our C files. At that time, we found that it is dual-licensed under BSD (https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/4#issuecomment-1296849147) which is explicitly allowed according to https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/4#issuecomment-1302665304. Though, it sounds like we have alternatives to including those files. @edeNFed or @MrAlias did we ever change how we use them?
I don't think we actually have any files from hashicorp/go-version, it's just a dependency and we just included the license in our LICENSES folder for that. But we could probably refactor to use the native go/version package now that it's available anyway (https://github.com/open-telemetry/opentelemetry-go-instrumentation/issues/652)

Closing based on @damemi's  comment.


Nuked Readme

Nuke the README since it is not accurate to this project's description

oops, wrong repo


timetracking: Add ability to display specific patches in a dedicated tab

Is your feature request related to a problem? Please describe.
The time tracking plugin doesn't allow for a single-pane view of how the specific patches I care about are doing.
When I log in for the day, I have to click a number of different tabs to figure out what I need to go do (herb, tree, fruit tree, special, etc...) or I have to parse out the specific items I care about from the overview tab. Neither of these solutions work very well.
Describe the solution you'd like
Have a section dedicated to "Notification-enabled" patches where anything with notifications turned on appears there. Could drop it in the 'timers/stopwatches' tab if there's concern over messing up the 2x6 tab layout.
Having this single-pane view would easily let users see "ok seaweed/herbs/fruit trees should be done, so I'll grab supplies to replant those, but my hardwood/mushrooms/hespori aren't so I won't grab those."
Describe alternatives you've considered
Secondary tracking mechanism for what does/doesn't appear in this new pane instead of using the notification status, although a second button on each patch/birdhouse might make things cluttered.
Additional context
Happy to implement this myself if I could get pointed in the right direction by someone who already knows the timetracking plugin. @Hannah-GBS seems to be a recent contributer, dunno if they'd be up for it.

Duplicate of #3056


valueOf() should return this.value, not this.key?

How come valueOf() returns the key, instead of the value? If it was this.value, we'd be able to use JavaScript |, similar to the way the Enum separator syntax works:
var myEnum = new Enum(['A', 'B', 'C']);

myEnum.A | myEnum.B;
// 3

myEnum.get('A | B');
// { key: 'A | B', value: 3 }

myEnum.get('A | B').value;
// 3

Thoughts?

I think you're right... Include it in your PR... if you want to...

PR sent in #10!

When you confirm everything is ok for you, I will publish v1.0.0 to npm

Sweet! :+1: all tests are passing. publish away!

done

Thanks!


thank you for your great project!  i need help

how can i use afpacket.  has any examples in this project?

#447 added an example. Have a look at examples/afpacket/afpacket.go


Non-model GraphQL types not included in final schema

Mixing the datamodel with model and non-model GraphQL types loses non-model types in final schema.
If the data model contains some types that are not annotated with @model they are not added to the final schema.
All other custom types are lost - enums, interfaces, type extensions etc.
This model:
type User {
  id: ID!
  friends: [String!]!
}

"""
@model
"""
type UserModel {
  id: ID!
  name: String
}

interface Test {
  id: ID!
}

enum TEST {
  Test
}

Outputs this schema:
## NOTE: This schema was generated by Graphback and should not be changed manually

type Mutation {
  createUserModel(input: UserModelInput): UserModel!
  updateUserModel(input: UserModelInput): UserModel!
  deleteUserModel(input: UserModelInput): UserModel!
}

type Query {
  findAllUserModels(limit: Int, offset: Int): [UserModel]!
  findUserModels(fields: UserModelInput, limit: Int, offset: Int): [UserModel]!
}

type Subscription {
  newUserModel(input: UserModelInput): UserModel!
  updatedUserModel(input: UserModelInput): UserModel!
  deletedUserModel(input: UserModelInput): UserModel!
}

"""@model"""
type UserModel {
  id: ID!
  name: String
}

input UserModelInput {
  id: ID
  name: String
}

After investigating this issue seems to be down to how we are using GraphQL-Compose to compose our schema.
We are using this to add extra based on our models. The only reason our models are getting added to the final schema is because the input type, queries etc contain a reference to the model types.
GraphQL-Compose generates a new schema but does not automatically merge with existing types.
See https://codesandbox.io/s/throbbing-sun-r8opj - the console log does not show the User type.
I think we can still use GraphQL-Compose, but we may need to combine it with graphql-toolkit's mergeSchemas.
cc @wtrocki

How about?
const { SchemaComposer} = require("graphql-compose");

// console.log(schema);

const schemaComposer = new SchemaComposer(  `type User {
  id: ID!
  friends: [String!]!
}
`);

console.log(schemaComposer.toSDL({ omitScalars: true }));

Works fine. Merge schemas other side effects. We should simply use composer effectively.

This is due to ast Vs objects problem. printSchema is actually an issue here as it bases on ast to print objects

@wtrocki the example you provided did not work for me - unmodified custom types are not added to the schema.


Cool!

What is this repo? What language is it in?

As you may have noticed I am making an OS. This is like a hub for all repos and for new people who want to join (adding a COC soon)

Added :)

Oooo ok! What are language is the os in tho?

Yeah, that was my question too, I'm making a console os in java. Hey @Tr1angular, do you want to like combine our project into one os?


Run demo on new typescript

Not a particularly useful PR, but when attempting to run the demo locally the semver bound in package.json allows TypeScript 2.6.1 to be installed, which seems to break the client demo build:
ERROR in ./src/text.ts
(251,23): error TS2345: Argument of type '{ body: string; headers: { 'Content-Type': string; }; method: string;}' is not assignable to parameter of type 'RequestInit | undefined'.
  Type '{ body: string; headers: { 'Content-Type': string; }; method: string; }' is not assignable to type 'RequestInit'.
    Types of property 'headers' are incompatible.
      Type '{ 'Content-Type': string; }' is not assignable to type 'Headers | string[][] | undefined'.
        Object literal may only specify known properties, and ''Content-Type'' does not exist in type 'Headers | string[][] | undefined'.

ERROR in ./src/text.ts
(253,17): error TS7006: Parameter 'response' implicitly has an 'any' type.

ERROR in ./src/text.ts
(256,17): error TS7006: Parameter 'buffer' implicitly has an 'any' type.

ERROR in ./src/svg-loader.ts
(110,23): error TS2345: Argument of type '{ body: string; headers: { 'Content-Type': string; }; method: string;}' is not assignable to parameter of type 'RequestInit | undefined'.
  Type '{ body: string; headers: { 'Content-Type': string; }; method: string; }' is not assignable to type 'RequestInit'.
    Types of property 'headers' are incompatible.
      Type '{ 'Content-Type': string; }' is not assignable to type 'Headers | string[][] | undefined'.
        Object literal may only specify known properties, and ''Content-Type'' does not exist in type 'Headers | string[][] | undefined'.

ERROR in ./src/svg-loader.ts
(112,17): error TS7006: Parameter 'response' implicitly has an 'any' type.

ERROR in ./src/svg-loader.ts
(115,17): error TS7006: Parameter 'buffer' implicitly has an 'any' type.

I also added yarn.lock to gitignore since the README recommends npm, but would be happy to revert.
I suspect that resolving the TS errors with more accurate type defs might be more reasonable, but this allowed me to run the demo on a fresh clone.

This is https://github.com/Microsoft/TypeScript/issues/19656 whose fix isn't in a release yet. If you switch typescript's version to next in package.json it builds without errors.

Oh, fantastic!

Don't close, we need the fix.

Really? Presumably the TS changes will release soon?

I'm confused :)

from irc if anyone's following along here:
4:14 PM <dikaiosune> pcwalton: so am i
4:15 PM <•pcwalton> dikaiosune: I’m going to keep the PR open in case MS releases a new version soon
4:15 PM <•pcwalton> if not, then I’ll merge it

2578298198c52ab1dbbb49e3859b4144327b7aeb includes this.


build failed with incompatible version error

Steps to Reproduce
I cloned this repository but failed with build example project.
Logs
Run your application with flutter run and attach all the log output.
ERR : Incompatible version constraints on file:
    | - flutter_driver 0.0.18 depends on version 2.3.4
    | - stocks depends on version 2.3.5
FINE: Exception type: DisjointConstraintException
FINE: package:pub/src/entrypoint.dart 195                                           Entrypoint.acquireDependencies
    | package:pub/src/command/get.dart 38                                           GetCommand.run
    | package:args/command_runner.dart 194                                          CommandRunner.runCommand
    | package:pub/src/command_runner.dart 168                                       PubCommandRunner.runCommand.<fn>
    | dart:async                                                                    new Future.sync
    | package:pub/src/utils.dart 102                                                captureErrors.<fn>
    | package:stack_trace                                                           Chain.capture
    | package:pub/src/utils.dart 117                                                captureErrors
    | package:pub/src/command_runner.dart 168                                       PubCommandRunner.runCommand
    | package:pub/src/command_runner.dart 117                                       PubCommandRunner.run
    | /b/build/slave/dart-sdk-mac-dev/build/sdk/third_party/pkg/pub/bin/pub.dart 8  main
    | ===== asynchronous gap ===========================
    | dart:async                                                                    _Completer.completeError
    | package:pub/src/entrypoint.dart 243                                           Entrypoint.acquireDependencies
    | ===== asynchronous gap ===========================
    | dart:async                                                                    _asyncThenWrapperHelper
    | package:pub/src/entrypoint.dart 192                                           Entrypoint.acquireDependencies
    | package:pub/src/command/get.dart 38                                           GetCommand.run
    | package:args/command_runner.dart 194                                          CommandRunner.runCommand
    | ===== asynchronous gap ===========================
    | dart:async                                                                    new Future.microtask
    | package:args/command_runner.dart 142                                          CommandRunner.runCommand
    | package:pub/src/command_runner.dart 168                                       PubCommandRunner.runCommand.<fn>
    | dart:async                                                                    new Future.sync
    | package:pub/src/utils.dart 102                                                captureErrors.<fn>
    | package:stack_trace                                                           Chain.capture
    | package:pub/src/utils.dart 117                                                captureErrors
    | package:pub/src/command_runner.dart 168                                       PubCommandRunner.runCommand
---- End log transcript ----
pub get failed (1)

Run flutter analyze and attach any output of that command also.
the same as above
Flutter Doctor
[✓] Flutter (on Mac OS X 10.13.2 17C88, locale en-US, channel alpha)
    • Flutter at /flutter
    • Framework revision 8f65fec5f5 (6 days ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.2)
    • Android SDK at /Library/Android/sdk
    • Android NDK at /Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.2
    • ANDROID_HOME = /Users/tino/Library/Android/sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_102-b14)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio233.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] Connected devices
    • iPhone X • 7407E8AB-3740-497A-97FE-8E7FDBFF9B26 • ios • iOS 11.2 (simulator)

Should I specify the android stuido dir?

Thanks for reporting! It looks like flutter_driver and stocks (likely transitively) have incompatible dependencies on package:file.
@yjbanov for comment on whether the flutter_driver dep looks right.


Improve nmap

Great job you're being doing 👍
I've modified a bit the code to use python 3 nmap library. I've been using it and I thought that maybe other people could use this.
I'm planning to work a bit more on the code in the future :)
Since I couldn't find a Contributors file (or how to contribute) I hope this is fine

Pending to check compatibility with new way of dealing with tags (not related to the change but related with functionality in new netbox)


refactor(mobile): refactor add photo, add encryption

Refactors mobile node's addPhoto to return a multipart form object that can be used by the native OS, which is better suited to handle large file uploads in a mobile environment where connectivity, battery power, etc. are more unwieldy.
Other stuff:

remove local gx deps, use global gopath for these because they are content addressed, meaning diff versions cannot collide, pretty cool
adds asymmetric curve25519 encryption to photo files

TODO:

decrypt files on the way out when requested via mobile node

okay @asutula, wip is removed:

files are decrypted when fetched via the base64 endpoint
sped up builds by a lot by install gx deps on our docker image


Fix a small typo in README

Corrected a small typo in the License and Copyright section.
Signed-off-by: James Hill-Khurana<EMAIL_ADDRESS>

Thanks @jtvhk. CI is failing with:
# github.com/moby/hyperkit/go
../../go/src/github.com/moby/hyperkit/go/disk_test.go:19: Skip call has possible formatting directive %v
FAIL	github.com/moby/hyperkit/go [build failed]
make: *** [test] Error 2

Looks like lint has changed under us. Please rebase onto master to pickup #190.

Will do shortly, thanks!

@jtvhk Try this (assuming origin is your git remote which points at this repository, perhaps you use upstream or something in which case should should adjust):
git fetch origin
git rebase -i origin/master

At this point you will be presented with an editor with a bunch of lines starting pick with a hash and the short description, (plus some commented lines starting with # which you can ignore). Edit that file to contain only a single pick line of one of your fix typo commits and no pick of anything else. Save and exit and it should then rebase and apply only that one commit. Given the scope of your change the rebase should be clean so no need to resolve conflicts so I won't go into that here. If it isn't clean or if something else goes wrong do git rebase --abort to go back to your initial state.
Once you have fixed your local branch then you can do git push jtvhk +typo (if jtvhk is your remote pointing to your fork, it might be origin in which case adjust), the + means "force" since your branch is not going to be a descendent of your remote branch at this point.
You can list your remotes and where they point with git remote -v.

@jtvhk do you still plan to rebase/squash this PR?

I'm going to close this for now. Please open a new PR with the rebased/squashed change if you have time. Thanks for your contributions so far.

seems I hit the wrong button last week and did not close, doing so now.


Proof of concept of named classes

This is just a proof of concept of named class inheritance.
I've been looking at ES6 classes, and the only real nice thing is the classes are named. This PR is just a proof of concept, to see if we like the idea.
Before: all classes are named NewClass because of how L.Class.Extend works:

After: An eval() trick allows to give each subclass its own name:

I think this would be quite useful to devs while developing.

I was also thinking whether we could rely on ES6 class syntax for that, e.g. create a Class ES6 class and then extending from it with the usual class Path extends Class { ... }. Apart from names, it's also really convenient to be able to use super.

I thought about ES6 classes too. The main roadblock right now is the lack of instance properties in the class constructor. If you read the grammar specification, you'll see that a ES6 class definition can only have methods, generators, getters and setters.
So while it's possible to do this:
class TileLayer extends GridLayer {
  createTile(coords) {...}  // Yay, class method
}

It's not possible to do this:
class TileLayer extends GridLayer {
  options = {subdomains:'abcd'}  // Parse error, there's no grammar for this
}

So yeah, ES6 classes are cool but we cannot specify options to be inherited, or properties which are to be applied to each instance, and Leaflet does that for all the subclassing.
:disappointed:

Hi, everyone
I'm a fun of Leaflet Class utilities, so I have tried to migrate those handy methods to standard ES6 classes.
Below is the codes and it works well till now, and I would like to share it here.
Hope it can be helpful. 😄
Class.js

export default class Class {
    constructor(options) {
        if (!this || !this.callInitHooks) {
            throw new Error('Class instance is being created without "new" operator.');
        }
        this.setOptions(options);
        this.callInitHooks();
    }

    callInitHooks() {
        const proto = Object.getPrototypeOf(this);
        this._traverseInitHooks(proto);
    }

    setOptions(options) {
        if (!this.hasOwnProperty('options')) {
            this.options = this.options ? Object.create(this.options) : {};
        }
        if (!options) {
            return this;
        }
        for (let i in options) {
            this.options[i] = options[i];
        }
        return this;
    }
    _traverseInitHooks(proto) {
        if (this._initHooksCalled) {
            return;
        }
        const parentProto = Object.getPrototypeOf(proto);
        if (parentProto._traverseInitHooks) {
            parentProto._traverseInitHooks.call(this, parentProto);
        }
        this._initHooksCalled = true;
        const hooks = proto._initHooks;
        if (hooks && hooks !== parentProto._initHooks) {
            for (let i = 0; i < hooks.length; i++) {
                hooks[i].call(this);
            }
        }
    }

    /**
     * add a constructor hook
     * @param {string|function} fn - a hook function or name of the hook function
     * @param {any[]} args           - arguments for fn
     * @static
     */
    static addInitHook(fn, ...args) {
        const init = typeof fn === 'function' ? fn : function () {
            this[fn].apply(this, args);
        };
        const proto = this.prototype;
        const parentProto = Object.getPrototypeOf(proto);
        if (!proto._initHooks || proto._initHooks === parentProto._initHooks) {
            proto._initHooks = [];
        }
        proto._initHooks.push(init);
    }

    /**
     * method for adding properties to prototype
     * @param  {object} props - additional instance methods or properties
     * @static
     */
    static include(...sources) {
        for (let i = 0; i < sources.length; i++) {
            extend(this.prototype, sources[i]);
        }
        return this;
    }

    /**
     * merge new default options to the Class
     * @param  {object} options - default options.
     * @static
     */
    static mergeOptions(options) {
        const proto = this.prototype;
        const parentProto = Object.getPrototypeOf(proto);
        if (!proto.options || proto.options === parentProto.options) {
            proto.options = proto.options ? Object.create(proto.options) : {};
        }
        extend(proto.options, options);
        return this;
    }
}

ClassSepc.js
describe('Class', () => {
    it('addInitHook', () => {
        const D = class extends Class {
            constructor() {
                super();
            }
            addHandler(name, clazz) {
                if (!this.handlers) {
                    this.handlers = [];
                }
                var handler = this[name] = new clazz();
                this.handlers.push(handler);
            }
        };
        const E = class extends D {
        };
        const F = class extends E {
        };

        const EHandler = class extends Class {
            getV() {
                return 'e';
            }
        };

        const FHandler = class extends Class {
            getV() {
                return 'f';
            }
        };

        E.addInitHook('addHandler', 'e', EHandler);
        F.addInitHook('addHandler', 'f', FHandler);
        const d = new D();
        const e = new E();
        const f = new F();
        expect(d.handlers).to.be(undefined);
        expect(e.handlers.length).to.eql(1);
        expect(f.handlers.length).to.eql(2);
        expect(e['e'].getV()).to.eql('e');
        expect(f['f'].getV()).to.eql('f');
    });

    it('include', () => {
        const D = class extends Class {
            constructor() {
                super();
            }
        };
        D.include({
            foo(bar) {
                return bar;
            }
        });
        expect(new D().foo('bar')).to.be.eql('bar');
    });

    it('mergeOptions', () => {
        const D = class extends Class {
        };
        D.mergeOptions({
            'foo' : 'd',
            'bar' : 'd'
        });

        const E = class extends D {
        };

        E.mergeOptions({
            'foo' : 'e'
        });

        const d1 = new D();
        const d2 = new D();
        d2.config('foo', 'd2');
        const e = new E();
        expect(d1.options['foo']).to.be.eql('d');
        expect(d1.options['bar']).to.be.eql('d');
        expect(d2.options['foo']).to.be.eql('d2');
        expect(d2.options['bar']).to.be.eql('d');
        expect(e.options['foo']).to.be.eql('e');
        expect(e.options['bar']).to.be.eql('d');
    });

    it('throws an error when creating without new operator', () => {
        expect(() => { Class(); }).to.throwException();
    });

    it('call parent\'s method by super', function () {
        const D = class extends Class {
            constructor() {
                super();
            }

            foo(name, gender) {
                return name + ',' + gender;
            }
        };
        const E = class extends D {
            constructor() {
                super();
            }

            foo2() {
                return super.foo.apply(this, arguments);
            }
        };
        expect(new E().foo2('bar', 'male')).to.be.eql('bar,male');
    });
});

@IvanSanchez I think there's currently a ES proposal for property initialization in the class syntax; there might even be a Rollup/Buble plugin for this, not sure.

@mourner I think you mean https://github.com/tc39/proposal-class-public-fields ?
Please note that:

The syntax is pretty much TypeScript
That's for ES7 / ES2016, not ES6
It's a proposal at the draft stage, so do not expect support from runtimes or transpilers (https://kangax.github.io/compat-table/esnext/#test-class_properties)

@mourner What is your opinion about using ECMAScript classes at this point? Are there any plans to make them a 1st class citizen like the custom class mechanism Leaflet introduces?

I like the idea very much


Update material, remove mdl and refactor

Does it work in aot? I'm asking because of https://github.com/angular/material2/pull/1378

Yes, it works with AOT, that was preventing me from updating it beforehand, but the bug was fixed in 9-3

@DzmitryShylovich I haven't used the dialog/snackbar though, so not sure if an issue comes up there, but not getting any error with the starter files or my project

This is the overlay.css issue right here: https://github.com/angular/material2/issues/1348

Ok thx 👍


Update installation documentation

A formatted markdown version can be viewed at https://github.com/clulab/processors/blob/kwalcock/install/docs/install.md.

Looks great. Thanks @kwalcock !


Fixed install and dist targets to include actions/action.h

This is needed due to movement of actions/action.h in 3ee7b24.

Thanks @defanator. Merged.


Maximum recursion depth exceeded when executing python script.

Home Assistant release with the issue:
0.98.5
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
x86_64, Debian 10.1, Python virtual env, python_version 3.7.3
Component/platform:
/components/python_script/
A simple script launched by automation stops working several hours after starting HA.
In this case, an error record appears in the log for each attempt to run the script: "
[homeassistant.components.python_script.force_update_state.py] Error executing script: maximum recursion depth exceeded in comparison".
Here is a script (python_scripts/force_update_state.py):
#pass entity_id as argument from call
sensor = data.get('entity_id')

#read old state
oldstate = hass.states.get(sensor)

#write old state to entity and force update to record database
hass.states.set(sensor, oldstate.state , oldstate.attributes, force_update=True)

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- id: '1568149448864'
  alias: forced_update2
  trigger:
  - minutes: /1
    platform: time_pattern
  condition: []
  action:
  - data:
      entity_id: sensor.relay2x14_on
    service: python_script.force_update_state
- id: '1567105861135'
  alias: minute_forced_update
  trigger:
  - minutes: /1
    platform: time_pattern
  action:
  - data:
      entity_id: sensor.sun_down
    service: python_script.force_update_state

Traceback (if applicable):
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/python_script/__init__.py", line 197, in execute
    exec(compiled.code, restricted_globals, local)
  File "force_update_state.py", line 8, in <module>
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 947, in set
    context,
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/async_.py", line 208, in run_callback
    future.set_result(callback(*args))
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 978, in async_set
    same_attr = old_state.attributes == MappingProxyType(attributes)
RecursionError: maximum recursion depth exceeded in comparison

Additional information:
Community forum topic

After a little thought, and based on the fact that an error occurs when checking the condition, it seems to me that I was able to get around the problem by changing the attributes along with the state update. There is no errors for more than a 24h. I look further.
now = datetime.datetime.now()
nowstr = "%02d:%02d:%02d %02d.%02d.%04d" % (now.hour, now.minute, now.second, now.day, now.month, now.year)
#pass entity_id as argument from call
sensor = data.get('entity_id')

#read old state
oldState = hass.states.get(sensor)
oldAttributes = oldState.attributes.copy()

oldAttributes['last_forced_update'] = nowstr

#write old state to entity and force update to record database
hass.states.set(sensor, oldState.state , oldAttributes, force_update=True)


Refactor: Device platforms

I'd like to abstract the notifications out from the main code base into their own functions that then call whatever hardware we might be using, so I propose a number of functions like ind_record_on ind_record_off ind_ready etc.

We also need to figure out if and how we can do GPIO stuff on other SBCs (OrangePi and CHIP at least) under an unprivileged user. If it's not possible, we should do some GPIO proxy or something. I'd hate to have it running under root.

I'm going to setup a chip later as a test machine for this project. The one I used to start it all seems to be dead :(
@Renekliment do you want a CHIP? I've got a couple of extras the guys have me for the original project I could mail you one?

@sammachin I suppose I could use one for testing, even though I don't have any particular interest in CHIP. If the mailing (to Czech Republic) doesn't bother you, I'd be happy to see how it runs on this SBC. Please write me an e-mail (it's public on my profile) so we can discuss further.


Adding french translation

Just adding a translation for the app.

Fixed ! I was forget the arrays.xml file. in first version of PR, thanks you for the reminder :)


Windows has this problem

How can we solve this problem？

Run as Administrator

admin still have this issue  @ilylx

Windows doesn't really support symlinks. Does it impact operation? That's just setting up a pointer to the current log file.


SSL v3: google_api_big_query 0.38.0  breaks with esl-erlang OTP 23

After upgrading to esl-erlang OTP 23, the call to GoogleApi.BigQuery.V2.Connection.new(token) fails with an ssl error. The reason for the failed connection includes:

{:options, {:sslv3, {:versions, [:"tlsv1.2", :"tlsv1.1", :tlsv1, :sslv3]}}}

SSL V3 was dropped in OTP 23. SSL Release Notes and SSL Compliance
Configuration:
OS: Debian 10
Erlang: esl-erlang 1:23.0-1
Elixir: Elixir 1.10.3
google_api_big_query 0.38.0

@BobBallance Can you verify which versions of the google_gax and tesla packages you're using?

I’m at
google_gax:   0.3.2
tesla 1.3.3
. . . Bob

On May 13, 2020, at 1:47 PM, Daniel Azuma<EMAIL_ADDRESS>wrote:
@BobBallance https://github.com/BobBallance Can you verify which versions of the google_gax and tesla packages you're using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/googleapis/elixir-google-api/issues/5091#issuecomment-628208181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7LL5HTMF5M4FBBNLF2P2DRRL2O5ANCNFSM4M77XHSQ.


Memory leak

I have a large csv file (> 400,000 lines) which is too big to decode in one blob, so I loop through each line of the file by calling readLine(), and then for each line:
convert the line to Data
let obj = try decoder.decode([Obj].self, from: data).first
It seems that if you call decoder.decode repeatedly that it leaks memory. It looks like the allocation of Buffer() from the initialiser of CSVReader has a retain cycle.
I haven't yet had time to dive into this - am wiling to do so if no other advice. See attached memory graph.

Sorry, looks like this was reported and fixed only a day ago. Closing and I'll verify

Sorry, looks like this was reported and fixed only a day ago. Closing and I'll verify

Hi @wavefront,
Thank you for reporting. The problem was indeed filed and it has been fixed (under the best of my knowledge). I will strongly suggest you to upgrade to version 0.4.1 (or later, depending on when you read this).
The decoder implementation has been reworked to use small-size value types and not depend on protocols (as previously) which should improve performance and, at the same time, get away with any reference cycle.

I have a large csv file (> 400,000 lines) which is too big to decode in one blob, so I loop through each line of the file by calling readLine(), and then for each line: try decoder.decode([Obj].self, from: data).first.

Oh, that is annoying. There is actually an easy solution for that: adding a decode(_ type:from:encoding:) function to CSVDecoder that accepts a file handle instead of a data blob (as it is now). The function would transform the file handle into an OutputStream and only request lines on-demand. That way it wouldn't have to load the whole file in memory.
I had the task already in my TODO list. If you really want it and you are ready to be my beta tester 😅, I can build it fairly quickly.

Sure thing. Happy to help. Its not super urgent for me since I need to keep the readline() approach [To fix up badly formatted csv before submitting to DecodableCSV]. Let me know when something ready to test.


Add tf-job to registry.yaml.

Fixes #62.

Anyone around this week to review this?
/cc @foxish @kow3ns @jpweber


License?

Hello,
even if this is little code in this repository, it would be helpful to know under which license it is available?
Thank you very much!

This code can be used for any purpose. I've added the permissive ISC license to make that clear.


Migrate to null safety

Codecov Report

Merging #1 (b807c3f) into master (c7709cf) will decrease coverage by 1.41%.
The diff coverage is 19.82%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   24.16%   22.74%   -1.42%
==========================================
  Files          35       37       +2
  Lines         625      642      +17
==========================================
- Hits          151      146       -5
- Misses        474      496      +22

Impacted Files
Coverage Δ

...esources/lib/src/extensions/object_extensions.dart
0.00% <0.00%> (ø)

core_resources/lib/src/models/tuple.dart
0.00% <0.00%> (ø)

core_resources/lib/src/utils/fade_page_route.dart
0.00% <0.00%> (ø)

core_resources/lib/src/utils/log.dart
0.00% <0.00%> (ø)

core_resources/lib/src/utils/nav.dart
0.00% <0.00%> (ø)

core_resources/lib/src/utils/ui.dart
0.00% <0.00%> (ø)

core_resources/lib/src/utils/widgets.dart
0.00% <0.00%> (ø)

...urces/lib/src/widgets/auto_complete_text_view.dart
0.00% <0.00%> (ø)

...s/lib/src/widgets/column_with_padded_children.dart
0.00% <ø> (ø)

..._resources/lib/src/widgets/conditional_render.dart
0.00% <0.00%> (ø)

... and 27 more

Continue to review full report at Codecov.

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


Update Bootswatch and Bootstrap dependencies

We use bootswatch 3.* and Bootstrap 3.*.
We could upgrade bootswatch to 4., which in turns requires upgrading Bootstrap to 4.. After the upgrade, the current theme (flatly) and the current styles must remain the same.
Any volunteer to help us with this? Thanks!

Hello @javiereguiluz , i want to help you but i don't know where to start. I think i need to do this but i'm not sure :

Run a yarn install locally
Update the dependencies on the assets directory
Run a yarn build
Make a commit and create a pull request.

Am I wrong ? Thanks you 😉

you are missing "update all templates to migrate Bootstrap from 3 to 4"

thanks you for your answer @stof . i'm going to try to solve this issue.

@abdounikarim thanks for taking a look at this issue!
You first need to update the bootswatch and bootstrap-sass dependencies in package.json to use the latest ones (4..) and then you can run yarn install.
Then you can run yarn encore dev --watch and that's where you'll face some issues because some files have changed their path or name, etc.
When all issues are solved and assets build correctly, you need to check the app to see if it still looks OK or there are some minor html/css issues to fix. Thanks!

As @abdounikarim told me via Slack, there's a minor problem: the datepicker we use is only for Bootstrap 3. Apparently, the same creator maintains a new project at https://github.com/tempusdominus/bootstrap-4 which is compatible with Bootstrap 4. So, we're going to try that datepicker, but we'd like to listen to the community feedback about this. Thanks.

I'd like to take a look when this is merged. I think more things come of this. Also i see that the variables that are in bootstrap are misused. Like to check that!
Also, should the build folder not be in the git repro? Or am i asking questions that are answered many times.

@javiereguiluz can we help in some way?

@gabiudrescu yes! What we need to do is to compare every page in the old design and the new design. They don't have to be perfectly equal ... but they must be as similar as possible. When I checked this PR, I notice lots of significant differences and we'd like to minimize those.
So, the job to do is:

Compare every page before/after
Made the needed CSS changes/additions/removals
Submit those changes to this PR

Thanks!

Hi @javiereguiluz
Is someone working with the correction of PR #1030 ? If not, I can help out.
Thanks!


AspNetCoreModule install failed when shared config is enabled.

AspNetCoreModule install failed when shared config is enabled.
CAQuietExec: Unlocked section "system.webServer/handlers" at configuration path "MACHINE/WEBROOT/APPHOST".
CAQuietExec: ERROR ( hresult:80070005, message:Failed to commit configuration changes.
CAQuietExec:
Access is denied.
CAQuietExec:
)

@shirhatti @pan-wang Did you guys want to do this in 1.1?

@jhkimnew Can you investigate?

This is by design.
ANCM setup uses the local system account of the machine and if the system account does not have the access permission to the share path which is used by the IIS shared configuration, it skip configuring ANCM settings to the applicationhost.config on the share path directory because it ran into the access denied error.
Generally, we don’t recommend to install any IIS oob project when the shared configuration is enabled because the setup does not handle the shared configuration environment.
However, there is work-around way. Users simply can configure the applicationhost.config manually and then place the aspnetcore.dll which is under either “%windir%\system32\inetsrv” or “%ProgramFiles%\IIS Express” to all the machines which participate in the IIS shared configuration.
The right way to handle this is to disable the shared configuration temporarily and run ANCM setup. Now users can export the updated applicationhost.config to the shared configuration and then enable the shared configuration back.
Thanks,
Jeong Hwan Kim
From: Sourabh Shirhatti<EMAIL_ADDRESS>Sent: Monday, August 22, 2016 3:11 PM
To: aspnet/IISIntegration<EMAIL_ADDRESS>Cc: Jeong Hwan Kim<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aspnet/IISIntegration] AspNetCoreModule install failed when shared config is enabled. (#249)
@jhkimnewhttps://github.com/jhkimnew Can you investigate?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/249#issuecomment-241567167, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATsYs05oW0G7lbgPbVdQvLGcPsfa5n0Pks5qih5mgaJpZM4JgNFE.

If it is by design then that is fine. The  installer is not providing adequate feedback to the user as to why the install failed.

@shirhatti @pan-wang @jhkimnew Is it possible to detect and provide better feedback while installing? Or should we just document this?

I think we need to document this. I already asked Sourabh about that.
I’d like to inform that the ANCM setup program is supposed be called only when installing the .Net Core bundle packages, which means that it will run in silent mode and users won’t be able to see any error.
From: Murat Girgin<EMAIL_ADDRESS>Sent: Wednesday, August 24, 2016 4:48 PM
To: aspnet/IISIntegration<EMAIL_ADDRESS>Cc: Jeong Hwan Kim<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aspnet/IISIntegration] AspNetCoreModule install failed when shared config is enabled. (#249)
@shirhattihttps://github.com/shirhatti @pan-wanghttps://github.com/pan-wang @jhkimnewhttps://github.com/jhkimnew Is it possible to detect and provide better feedback while installing? Or should we just document this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/249#issuecomment-242242692, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATsYs2uYQk3hxnSESj5IAWgBZg--z6cbks5qjNg7gaJpZM4JgNFE.

Created a bug on the docs repo to track this

Cool, thanks folks!


Alarms display

Hi! I'm Arysson Oliveira, an electronic engineer with some experience in firmware developement.
I'd like to help your project developing an software interface, that will show in a LCD display(16x2) some informations to the operator, because i think that should have any human-machine interface.
So, how could i help you?

Hi,
We were inspired by the Code-Life challenge and started working with a team of engineers on a concept as well. I have gotten started on building a Qt application as a HMI to run on a Raspberry pi to monitor/adjust settings and display alarms. Once my concept is a little further with more detailed plans I will share the info here for anyone to collaborate. There apparently is another group somewhere working on this and I am trying to get in touch with them.
Johnny @jcl5m1 , We were thinking about a very similar direction to your work when we found out abut it and are working on figuring out some of your TODO's as well. Would you be interested in getting in touch to discuss and collaborate with our team or is it easier for you if we just share our results in your repository whenever we have something concrete? Please let me know so I gan share my contact details with you.
Cheers,
Julian

Hi! I'm Arysson Oliveira, an electronic engineer with some experience in firmware developement.
I'd like to help your project developing an software interface, that will show in a LCD display(16x2) some informations to the operator, because i think that should have any human-machine interface.
So, how could i help you?

hello can you help me with display ? i add display but lcd.print is slowing down functions
can i contact you on whatsapp ?

Hi! I'm Arysson Oliveira, an electronic engineer with some experience in firmware developement.
I'd like to help your project developing an software interface, that will show in a LCD display(16x2) some informations to the operator, because i think that should have any human-machine interface.
So, how could i help you?

hello can you help me with display ? i add display but lcd.print is slowing down functions
can i contact you on whatsapp ?

Hi! I'm Arysson Oliveira, an electronic engineer with some experience in firmware developement.
I'd like to help your project developing an software interface, that will show in a LCD display(16x2) some informations to the operator, because i think that should have any human-machine interface.
So, how could i help you?

hello can you help me with display ? i add display but lcd.print is slowing down functions
can i contact you on whatsapp ?

Of course!! Tell your whatsapp, and i'll contact you

+96176653802 thank you :)

Hi Folks, some people in my network from San Antonio, Texas are working on a related automated ambu bag and looking for a arduino developer.  Ping me if interested and local enough to help.

Hi Folks, some people in my network from San Antonio, Texas are working on a related automated ambu bag and looking for a arduino developer. Ping me if interested and local enough to help.

can you send me your whatsapp man?

I have worked on many LCD Display based systems. Is there anything I can contribute to?


Add tenon-ui to UI components

I recently created a UI components library at Tenon.io, an accessibility company.
The components are designed based on the input from accessibility specialists at the company and in the accessibility community and tested by our auditors before releasing them. The components are provided totally free to help make the web more accessible.
It is called Tenon UI and I was hoping that it can be added to the UI Components list.
What do you think?

@gaearon would you be ok with me merging this?

Can anyone give this a thumbs up / down? :-) Thanks!

Seems a bit new (is anyone using it in production?) but there's a lot of other components on that page that aren't really audited.
Maybe making a new section for "accessible frameworks" and including Tenon and Reach UI (https://ui.reach.tech/menu-button), and adding a caveat that both are pre-release?

@alexkrolick thanks for responding!
 We are using it internally for a few months. Can understand if that disqualifies it for being on the page but want to offer some accessible options.

but there's a lot of other components on that page that aren't really audited.

What do you refer to here?
As for making a different section with a caveat, I am of course more than happy to do that! Will do that soon and you can see what you think about it.


Prompt error on iOS when camera access is disallowed

Details
Fixed Issues
When tapping "Take Photo", the app should request permission to access the camera.
Tests
Prerequisite: Allow Expensify.Cash to access: Camera is disabled in device settings

Open the app on iOS and log in
Tap on the text input field (bottom of screen)
Tap the attachment icon (shown as a paperclip)
Tap on "Take Photo"

Screenshots

I have read the CLA Document and I hereby sign the CLA

recheck

recheck

I have read the CLA Document and I hereby sign the CLA

recheck

recheck

I have read the CLA Document and I hereby sign the CLA

recheck

recheck

Thanks! I'll test this out locally myself and will merge after 👍

@robertjchen The new 3.x.x version of react-native-image-picker has removed the "showImagePicker" method. According to
document, the "customButtons: [{name: 'Document', title: 'Choose Document'}]," option is not found, so the "Choose Document" function will be disabled after updating to the new 3.x.x version.  Do we need to keep the "Choose Document" function?

@robertjchen The new 3.x.x version of react-native-image-picker has removed the "showImagePicker" method. According to
document, the "customButtons: [{name: 'Document', title: 'Choose Document'}]," option is not found, so the "Choose Document" function will be disabled after updating to the new 3.x.x version.  Do we need to keep the "Choose Document" function?


Fix is_null condition

Fix https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3057

if 2.2.8, then please change target branch ;)

@juliendufresne @SpacePossum updates done.
I've change branch.
I only remove the use of removeTrailingWhitespace().
I kept all new tests.

I only remove the use of removeTrailingWhitespace().

I think you actually forgot to commit that :)

@juliendufresne I don't understand.
I've commited: Remove the use of the removeTrailingWhitespace() method.
Have I miss something ?

The target is good now :+1:
The test file looks good :+1:
Changes in Token.php are reverted :+1:
Sadly, now there is no fix proposal left in the fixer file itself.

@SpacePossum I have followed your commentary The test passes without your fixes, when you disable this line; and this comment.
Do you prefer I add a check like before?
Oh perhaps I add a condition before the removeTrailingWhitespace() method?

Oh!
I've just seen that I've completely forgotten to remove removeTrailingWhitespace() :-D
I better understand your comments now :)

:)
thanks for updating!

Oh perhaps I add a condition before the removeTrailingWhitespace() method?

I would've to take a better look at before making that call. What I did notice however is that removing all calls to removeTrailingWhitespace in the fixer still makes the tests pass. So I wonder, maybe the tests are incomplete or the fixer is doing unneeded things.

If we try with:
array(
    '<?php if (null === $u ) echo "foo"; ?>',
    '<?php if (is_null($u) ) echo "foo"; ?>',
),

we keep a space.
But I don't think it's the job of IsNullFixer to remove this space.
Am I right, or I have to improve this P.R.?

No it's not its job. Some people even like to have spaces inside braces: if ( is_null($foo) ) { ... }, the fixer should not remove them, another fixer already takes care of that, if enabled.

Thanks for this PR. We'll start using this is_null fixer as soon as this fix is merged. :-)

Thank you @roukmoute.


Automatically restart runner after a crash

Feature Description
Hello,
I have an Action Runner, which crashes every now and then due to some exception. For instance the latest logs show:
[Python Code Checks/code-check] ⭐ Run Post Checkout repository
[Python Code Checks/code-check] [DEBUG] run post step for 'Checkout repository'
[Python Code Checks/code-check] [DEBUG] executing remote job container: [node<EMAIL_ADDRESS>[Python Code Checks/code-check] Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.43/images/catthehacker/ubuntu:act-latest/json": context canceled
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0xb5e0e1]

goroutine 434942 [running]:

where this container is the one that I use for Python-based Actions, the one you can find here.
Once any kind of crash such as this one happens, the Runner goes Offline and requires a manual restart. Is there a recommended way to auto-restart the runner? I guess one can setup a cronjob or something to check the runner is alive routinely, but I wanted to create this issue anyway to see if this is a problem that others face too or what's the best way to approach it.
Thanks!
Screenshots
No response

You can run it with systemd or docker then you can make it restart easier.
Can you paste more details so that we can know what made the runner panic.

I see.
I think I have already fixed the panic: https://github.com/nektos/act/pull/2071

I run the latest via:
gitea/act_runner:latest

I run the latest via:
gitea/act_runner:latest

latest cannot identify the version; it could be very old if you pulled it a long time ago. You can go to /admin/actions/runners to check the version of runners.

I see. Well in that case, the version seems to be v0.2.6.

I see. Well in that case, the version seems to be v0.2.6.

It's quite an old version; you can upgrade it. And as Lunny said, run it with systemd or Docker, then you can restart it more easily.


Improve email / LBRY account flow for YouTube Sync

Issue Summary
Currently, if a YouTuber goes through the sync process and tries to update their email to one that already exists in our database, they get an error and are told to contact<EMAIL_ADDRESS>With the new email verification changes in place, we should be able to support a scenario where they can merge their accounts automatically using something similar to the call specified in https://github.com/lbryio/lbry.io/issues/778.
We also don't verify their email, neither the original yt sync one or the newly entered email. Instead, we should have them verify their initial YouTube account email, and show them a message that sync is pending verification (this will make sure they change the google pages email). We should also make them verify their email when they change it from the default youtube email (google pages one, or other), and show same pending verification message.
Currently we show "Go Back To The App" after email verification - we may need to remove this, or only show if it's an app email verification request, and not request from lbry.io (yt sync, or email management page).

I've been digging through our metabase data as we try to focus on creator partnerships, and have found some potential high value targets who are falling off along this way. Who would need to do this work @kauffj ?
The ideal follow up for a Pending Creator would include a link to, with one click, claim their channel and become confirmed. Maybe that's impossible, but I think we should work back from ideal and have this function as close to ideal as possible for outreach.
We have multiple 1m+ subs who are in this "pending" vortex, and none of them are technical channels - rappers, fitness, unboxing, etc. I would not expect these people to be willing to follow a lot of steps along the way.

I think @tzarebczan understands the state of this better than I do.
Tom and/or @tiger5226, would it make sense to just generically support merging accounts (assuming you can authenticate to both)? Would the fix for the YouTube side of this fall out of that solution?

@kauffj the support for merging accounts is already there, given an existing auth token + new email. Once the email is confirmed, the accounts are merged. For YouTube sync, this process is very similar but would be done directly on the /youtube page. I'd like other merging to happen directly on the maintenance page via https://github.com/lbryio/lbry.io/issues/778 (a youtuber could also do it this way, assuming they can auth to the edit page, which isn't possible for google plus emails).

From Niko:
- Users that sign up and have a valid email that doesn't already exist on lbry will automatically have it marked as verified
- Users that sign up with a valid email that already exists in the system will be asked to confirm it before merging the accounts (to avoid stealing accounts)
- Users that sign up without an email and then provide an email that doesn't exist in the system will automatically have it verified
- Users that change their email but that already had at least one email in their account will have to verify the new email (to avoid abuse)
- Users that change/provide their email and for which the new email is already in the system will have to verify the email

On top of that, the immediateSync flag is again functional, a small bit of work is still necessary to feed the ytsync servers, but at least we'll have them converted.```

From Slack discussion on next steps:
```Once you get to the status page, you'd have to check the Status field. If it's equal to pendingemail, this means their account has a googleplus email, and we want them to verify it before they agree to sync. Otherwise, they don't have to do anything on the status page (they should be agreed, and with the right channel since they chose it on the /youtube page).
The next steps depend on if they already have a LBRY email or not - you get this information from the HasVerifiedEmail flag. If they don't have a lbry account, it gets verified right away (set to true) and they can sync (check the box for them automatically?). If they do have an email, they need to verify it first (they'll get a verification, and we need to re-call the status api until HasVerifiedEmail is set to true).  The "pending email" is not saved anywhere before it's verified...Niko said he could add this if needed.```

While going through the sync process I get:
The following error occurred: type: cannot be blank. For support please send an email to<EMAIL_ADDRESS>
This error does not exist on prod so that means Google’s email checker is not authorizing localhost:8000 to access it.

Currently blocked by https://github.com/lbryio/internal-apis/issues/849
@nikooo777 can you confirm this is only for the case where the email already exists in LBRY? If it's a new email, the API should already have it right?

The above is correct. I went down the rabbit hole and I found the blocker.


Where is the sparse regularization term?

There should be a sparse regularization term in the loss function according to your ICML2015 paper. But it seems there is not such a term either in the cost function in forward pipeline or in the derivative of the cost function in backprop pipeline. Have you leave out that term in the released code?

Thanks for the question. The way I implemented it is to add |X| (absolute value of X, where X is the network output) in the loss function. The implementation of its backprop is straightforward if you consider it as |X| as sqrt(X^2). I'll probably add it back once I have time. If you have this term, you will have a faster convergence.

Thanks for your reply. I guess I can add the backprop term by modifying the file 'out_backprop.m' directly, right?
Actually, the reason why I have this question is that my result of L0 smoothing filter (lamda=0.08) is not very good. So I doubt whether this missing term matters. But according to your reply, this sparse regularization term seems only to affect the convergence speed rather than the filter effect. I use the BSDS500 dataset, and my validation cost after 200 epoc is about 6, is this cost too large so that I need more iterations? Or I should use a larger dataset like Flickr instead of BSDS500?

Yes.
I haven't tried lamda=0.08 for L0 smoothing filter. You may use this sparsity term and have a try. I don't think the problem is with the dataset. If it still can't approximate this stronger filter, I guess a stronger (deeper) network architecture need to be used.

Thanks! The result turns to be better now after training again using the same code and data. I guess my first time training may have a bad weight initialization for the weight is initialized randomly.


Look left and look right are switched

I think i fixed it, it needs to be tested on the robot though


X2 and river kilometers

Hi Sam, I added some data with the river kilometer locations used for X2 and a larger file with all the river kilometer locations for the entire system. A lot of people might find it useful.

Great, thank you. Have you looked into this error that came up when the data were plotted in the readme? Are the spatial data in some weird format? If so can they be transformed to the normal sf point type?
#> Warning in st_point_on_surface.sfc(sf::st_zm(x)): st_point_on_surface may not
#> give correct results for longitude/latitude data

Oh, right, I've seen that warning so many times i've started ignoring it. It happens pretty much any time you plot data from latitude/longitude data rather than UTMs. I suppose it's better to convert to the same CRS as the rest of the package, I can definitely do that.

OK, now i'm confused, I switched the CRS and its still giving that warning. I'll look into it later.

OK, I did some more research. 'geom_sf_text' has a note that for 'fun.geometry':  sf::st_point_on_surface(sf::st_zm(x)) will be used. Note that the function may warn about the incorrectness of the result if the data is not projected, but you can ignore this except when you really care about the exact locations.
There are no warnings when I just plot points, but if I plot text, it's basically a matter of the text not projecting across the map exactly accurately, and in this case I don't think i actually care about that. I just set the chunk options to 'warning = F' and it won't print the warning.

OK great, thanks for looking into it!


Cannot see any repo in dashboard after clone from the app

Dev Home version
0.503.261.0
Windows build number
1000.22674.1000.0
Other software
No response
Steps to reproduce the bug
After I clone one repo from the app, I cannot see that repo in the app.

Expected result
I think the repo I cloned should be shown in somewhere.
Actual result
Cannot find it in the app. When I clone twice, it's says the directory is not empty.
Included System Information
No response
Included Extensions Information
No response

See #1049, would this solve this problem?

I think so

Duplicate of #702

It somewhat different.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Pls add the links of your social networks