return when there's no more blocks to merge in mergeProfileBlock

Fix https://github.com/coreos/etcd/issues/8924.

It seems like this would only happen if the number of blocks in each of the profile files was different, which seems like it shouldn't happen. I think this fix will just skip the rest of the file instead of merging the end of the file correctly.
Can you provide the .coverprofile files from a crashing case so I can see exactly what they look like?

Hi,
I found the same error in current version of tool during my integration tests. Each test is based on different part of the code so profiles have various number of blocks (I'm not sure why).
panic: runtime error: index out of range [46] with length 46

goroutine 1 [running]:
main.mergeProfileBlock.func1(...)
        /home/go/pkg/mod/github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad/gocovmerge.go:30
main.mergeProfileBlock(0xc000020d40, 0x111, 0x60, 0x112, 0x14, 0x1, 0x26, 0x2e, 0x2e)
        /home/go/pkg/mod/github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad/gocovmerge.go:35 +0xb13
main.mergeProfiles(0xc000020d40, 0xc0000212c0)
        /home/go/pkg/mod/github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad/gocovmerge.go:24 +0x143
main.addProfile(0xc00016a000, 0x37, 0x40, 0xc0000212c0, 0xc00016a000, 0x37, 0x40)
        /home/go/pkg/mod/github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad/gocovmerge.go:74 +0xdb
main.main()
        /home/go/pkg/mod/github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad/gocovmerge.go:106 +0xce

So could you merge this pull request? Or do something to fix the issue.
Thanks.


Update metadata structure

Fixes #35 by organizing metadata into separate .yaml files for subject-level fields and session-level fields.

LGTM


C# Extension is entirely unresponsive

Issue Description
The C# extension suddenly stopped working for me. Syntax highlighting is okay, but everything else loads indefinitely:

Code Completion
Formatting
Outline
...

All the while, it is consuming 100% CPU resources on one of my cores. I even tried a full fresh install of everything, that didn't help.
Logs
exthost-c2991c.cpuprofile.txt
ms-dotnettools.csharp-unresponsive.cpuprofile.txt
OmniSharp log
OmniSharp Log
Starting OmniSharp server at 16.3.2020, 20:07:45
Target: d:\git\HoBC\Unity\HoBC\HoBC.sln
OmniSharp server started.
Path: C:\Users\Martin.vscode\extensions\ms-dotnettools.csharp-1.21.14.omnisharp\1.34.14\OmniSharp.exe
PID: 4360
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 2 MSBuild instance(s)
        1: Visual Studio Build Tools 2019 16.5.29911.84 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"
        2: StandAlone 16.4 - "c:\Users\Martin\.vscode\extensions\ms-dotnettools.csharp-1.21.14\.omnisharp\1.34.14\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Build Tools 2019 16.5.29911.84 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"

    Detecting Cake files in 'd:\git\HoBC\Unity\HoBC'.

    Could not find any Cake files

    Detecting projects in 'd:\git\HoBC\Unity\HoBC\HoBC.sln'.

    Queue project update for 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-firstpass.csproj'

    Queue project update for 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp.csproj'

    Queue project update for 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor.csproj'

    Queue project update for 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor-firstpass.csproj'

    Detecting CSX files in 'd:\git\HoBC\Unity\HoBC'.

    Loading project: d:\git\HoBC\Unity\HoBC\Assembly-CSharp-firstpass.csproj

    Could not find any CSX files

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200

    Configuration finished.

    Omnisharp server running using Stdio at location 'd:\git\HoBC\Unity\HoBC' on host 14832.

    Successfully loaded project file 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-firstpass.csproj'.

    Adding project 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-firstpass.csproj'

    Loading project: d:\git\HoBC\Unity\HoBC\Assembly-CSharp.csproj

    Successfully loaded project file 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp.csproj'.

    Adding project 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp.csproj'

    Loading project: d:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor.csproj

    Successfully loaded project file 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor.csproj'.

    Adding project 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor.csproj'

    Loading project: d:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor-firstpass.csproj

    Successfully loaded project file 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor-firstpass.csproj'.

    Adding project 'd:\git\HoBC\Unity\HoBC\Assembly-CSharp-Editor-firstpass.csproj'

    Update project: Assembly-CSharp-firstpass

    Update project: Assembly-CSharp

    Unable to resolve assembly 'd:\git\HoBC\Unity\HoBC\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'

    Update project: Assembly-CSharp-Editor

    Unable to resolve assembly 'd:\git\HoBC\Unity\HoBC\Temp\bin\Debug\Assembly-CSharp-Editor-firstpass.dll'

    Unable to resolve assembly 'd:\git\HoBC\Unity\HoBC\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'

    Unable to resolve assembly 'd:\git\HoBC\Unity\HoBC\Temp\bin\Debug\Assembly-CSharp.dll'

    Update project: Assembly-CSharp-Editor-firstpass

    Unable to resolve assembly 'd:\git\HoBC\Unity\HoBC\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'

C# log
Nothing to paste here; the log is empty.
Environment information
VSCode version: 1.43.0
C# Extension: 1.21.14
Dotnet Information
.NET Core SDK (gem�� "global.json"):
 Version:   3.1.200
 Commit:    c5123d973b
Laufzeitumgebung:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.200\
Host (useful for support):
Version: 3.1.2
Commit:  916b5cba26
.NET Core SDKs installed:
2.1.101 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
2.2.202 [C:\Program Files\dotnet\sdk]
3.1.200 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.21.14

unity-debug
Unity
2.7.4

vscode-eclipse-keybindings
alphabotsec
0.10.0

vscode-icons
vscode-icons-team
10.0.0

@MartinHaeusler Would it be possible for you to give us access to your project? We've had lots of similar reports but have had trouble getting this issue to reproduce.

@JoeRobich It's a Unity project which is several gigabytes in size - the upload alone would take days with my connection. I can try to extract the code files and strip all art assets, this would bring it down to a more reasonable size, but it should still compile. Would that help?

@MartinHaeusler Please, just the projects and code would be very helpful.

@JoeRobich here's the project, stripped of all art assets. It's still 33MB because it contains the assemblies and DLLs that come with Unity, so I can't upload it directly as a github attachment. Here's a link to my dropbox instead:
https://www.dropbox.com/s/jym9vkxb80ii2zo/HeirOfBlackwoodCastle.zip?dl=0
Reproduction steps of the issue:

have an up-to-date installation of VSCode
install the plug-ins listed in the opening post
downlaod the archive from the dropbox
extract the archive
open the top-level folder as VSCode project
open any C# file and try to edit it, try to see if you can get code completion and try to save it.

Experiencing same issue here.

I have the same issue. And it is also reproduced in the unity project. I think it may be related to unity

I can say with very high confidence that Unity is not to blame. The project was working fine for me for several months now, and I didn't upgrade Unity itself lately, so the *.sln and *.csproj files are still the same (also according to my git history).
However, the OmniSharp binary updates itself in the VSCode extension. That in and on itself is very nice, however since one of the more recent updates, things stopped working and cause the issue we are all experiencing.
What might be an issue now with the newer versions of OmniSharp is this crazy forest of *.csproj modules that Unity creates. However, it has always done that. So maybe it's just the new OmniSharp version that runs into an infinite loop somewhere when it tries to load/resolve the project dependencies. That's just my intuition, and it's a long shot.
Possible culprits from my perspective are:

VScode update (somewhat unlikely, but not impossible)
C# plugin update (has there been any update lately?)
OmniSharp update

I think it may be related to unity

It's not unity.
I have the same symptoms in an ASP.NET Core project.

@TsubasaK111 did you roll back this plugin or the OmniSharp language server itself? How did you manage to keep it from auto-updating again after rolling it back?
@JoeRobich is it possible that OmniSharp is the real culprit here?

@JoeRobich is it possible that OmniSharp is the real culprit here?

we didn't update OmniSharp when moving from v1.21.12 to v1.21.13 so it doesn't seem like that's the case

A change was made where we search through sub-directories of the project directory looking for a launchsettings.json file. Recent investigations point to this being problematic for projects with many nested directories such as those containing a node_modules folder. see https://github.com/OmniSharp/omnisharp-vscode/issues/3664#issuecomment-600795999

Or a Unity PackageCache as I am discovering.

@JoeRobich mind you, I've deleted a lot of folders from my unity packagecache before uploading. There are entire documentation and example folders in there, the file structure is comparable in size (both breadth and depth) to that of a node_modules folder.

thanks @JoeRobich this really looks like the culprit 👍

I also have the issue with a fairly big Unity project, starting at 1.21.13.
Reverting to 1.21.12 using .vsix and disabling automatic updates is the solution right now.

Please try the v1.21.15 prerelease and let us know if it resolves your performance issue.

@JoeRobich using v1.21.15, the unity project issue is fixed.

Seems to be working just fine. Thank you @JoeRobich !

@TsubasaK111 did you roll back this plugin or the OmniSharp language server itself? How did you manage to keep it from auto-updating again after rolling it back?
@JoeRobich is it possible that OmniSharp is the real culprit here?

@MartinHaeusler I presume that the above prerelease resolves this, but for future reference, I did exactly as per kristoff3r's comment:

uninstall CSharp extension in VS Code (cmd + shift + P => show installed extensions => Csharp => uninstall
Go to this repo's releases page and download their previous version v1.21.12
Open a console and execute command code --install-extension ~/Downloads/csharp-1.21.12.vsix where ~/Downloads/ is the directory wherever you downloaded the file in step 2.

v1.21.15 confirmed as functional, thank you for the hard work @JoeRobich ! ❤

v1.21.15 is work but Unity Debug still got problem, the breakpoint can't hit :(

Just adding another confirm that both 1.21.15 and 1.21.12 work for my Unity project, while 1.21.14 and 1.21.13 do not.

Running into the same problem, but it does not work on 1.21.15. Using Linux.

I had the same problem on mac. Tried a lot methods, didn't work.  Today I deleted .vscode/, .dotnet/,  removed vscode, then downloaded a new one, did a fresh install. The CPU problem is gone. I don't know why. I think it's worth a try.

1.21.15 was released to the marketplace so it worked for you on reinstall

Unity Debugger just completely freezes on breakpoints now :(

@laminhtruong @ROBYER1 I see a few open issues about breakpoints on Unity Debugger's GitHub. Maybe you can find one that matches what you are seeing and provide your details. https://github.com/Unity-Technologies/vscode-unity-debug/issues

@MartinHaeusler Thanks for the report. Closing this now that 1.21.15 has been published.

@laminhtruong @ROBYER1 I see a few open issues about breakpoints on Unity Debugger's GitHub. Maybe you can find one that matches what you are seeing and provide your details. https://github.com/Unity-Technologies/vscode-unity-debug/issues

Thankyou for addressing this, the issue is very much project and Unity version agnostic, I have experienced it with Unity 2019.3 and 2020.1 beta on over 5 projects on each as well as a blank project with a very basic test script to debug.
I hope the issue can be addressed as it is simple to reproduce in a fresh Unity project.

@JoeRobich thank you for your efforts. Your help is highly appreciated!

August 2021 - installing version 1.21.15 help me see the outline of the code of an asp.net project in VS Code


Notebook in docs

Minimal example with one notebook in docs.

Wow, this is way cleaner than what I was trying to do with sphinxnb. But just need to create new examples for the docs separately as we go, which is fine 👍


Any possibilty to intergrate other Indic Langauages?

Is there a way to support a new Indic language like Kannada into the supported language models?

Whisper supposedly supports Kannada: https://github.com/openai/whisper#available-models-and-languages
If there is additional audio data available somewhere, it would be possible to improve it.


Ignores secrets

This required upgrading to golang 1.13.4. After running make I ran sudo cp /home/ubuntu/bin/kustomize /usr/local/bin to make it accessible to the system.
✗  kustomize version
Version: {KustomizeVersion:unknown GitCommit:$Format:%H$ BuildDate:1970-01-01T00:00:00Z GoOs:linux GoArch:amd64}

Nice build date...
I use sops to encrypt the sample secrets.enc.yaml with CAT and DOG. I'm able to decrypt it fine with sops --decrypt secrets.enc.yaml > secrets.yaml. I add this the to kustomization.yaml:
---
apiVersion: kustomize-sops/v1
kind: SopsSecret
name: my-secret
namespace: bar
source: secrets.enc.yaml
metadata:
  name: not-used
keys:
  - CAT

Then I run kustomize build --enable_alpha_plugins . > test.yaml but there are no secrets in the test.yaml file. No errors, it just ignores the secret.

It seems like go .so's are so broke there is no reason to use them. I'd much rather compile it as one exe than have two exe's that exactly require each other. What does it take to compile a single exe of Kustomize with kustomize-sops built in?

https://github.com/Agilicus/kustomize-plugins
is the approach we are using for many things now. It uses the exec plugin via python.
https://github.com/Agilicus/kustomize-plugins/tree/master/agilicus/v1/secretgenerator
https://github.com/Agilicus/kustomize-plugins/tree/master/agilicus/v1/secrettransformer
may be more to your liking.

This required upgrading to golang 1.13.4. After running make I ran sudo cp /home/ubuntu/bin/kustomize /usr/local/bin to make it accessible to the system.
✗  kustomize version
Version: {KustomizeVersion:unknown GitCommit:$Format:%H$ BuildDate:1970-01-01T00:00:00Z GoOs:linux GoArch:amd64}

Nice build date...
I use sops to encrypt the sample secrets.enc.yaml with CAT and DOG. I'm able to decrypt it fine with sops --decrypt secrets.enc.yaml > secrets.yaml. I add this the to kustomization.yaml:
---
apiVersion: kustomize-sops/v1
kind: SopsSecret
name: my-secret
namespace: bar
source: secrets.enc.yaml
metadata:
  name: not-used
keys:
  - CAT

Then I run kustomize build --enable_alpha_plugins . > test.yaml but there are no secrets in the test.yaml file. No errors, it just ignores the secret.

I will take a look.

This required upgrading to golang 1.13.4. After running make I ran sudo cp /home/ubuntu/bin/kustomize /usr/local/bin to make it accessible to the system.
✗  kustomize version
Version: {KustomizeVersion:unknown GitCommit:$Format:%H$ BuildDate:1970-01-01T00:00:00Z GoOs:linux GoArch:amd64}

Nice build date...
I use sops to encrypt the sample secrets.enc.yaml with CAT and DOG. I'm able to decrypt it fine with sops --decrypt secrets.enc.yaml > secrets.yaml. I add this the to kustomization.yaml:
---
apiVersion: kustomize-sops/v1
kind: SopsSecret
name: my-secret
namespace: bar
source: secrets.enc.yaml
metadata:
  name: not-used
keys:
  - CAT

Then I run kustomize build --enable_alpha_plugins . > test.yaml but there are no secrets in the test.yaml file. No errors, it just ignores the secret.

It works for me, as below.
$ go version
go version go1.13.7 linux/amd64

can you give me a bit more details? You end up w/ no fields in the output? fields but w/ the encrypted value? fields but w/ the base64 value as below?
$ kustomize build .
apiVersion: v1
data:
  CAT: ZmVyb2Npb3Vz
kind: Secret
metadata:
  name: my-secret-hkbkhc8h2b
  namespace: bar
type: Opaque
don@cube[ca-1]:kustomize-sops$ echo ZmVyb2Npb3Vz | base64 -d -; echo
ferocious
don@cube[ca-1]:kustomize-sops$ cat kustomize_secrets.yaml
apiVersion: kustomize-sops/v1
kind: SopsSecret
name: my-secret
namespace: bar
source: secrets.enc.yaml
metadata:
  name: not-used
keys:
  - CAT


Add url guard

@briangonzalez this fixes the issue I was seeing in #87. I haven't had a chance to look into why the url is undefined. Could it be related to using Fastboot or Prember in my addon?
Closes #87

@rwwagner90 thanks for merging this. I didn't have a chance to look into why yet, but figured a guard couldn't hurt. Cheers.


Clarify Medication "line" - CarePlan or MedicationStatement

Initial analyses consistently lead to MedicationStatement, but from the perspective of the medication being a "treatment" line, a CarePlan may be better suited.

Related to #2


Create a Frontend Website for the Bot

Heroku utilizes a Django python front-end for our bot, which currently is only running a regular worker dyno and not a web dyno. We can create a basic website through Heroku to serve API calls and serve as a monitoring/information gathering site for the bot.
===================================
Tasks:

[ ] Working Frontend Developed using Django(Can be as Basic as desired)
[ ] Setup API Endpoints for useful functionalities (open-ended, whatever is interesting is fine)

Changing Requirements.

[ ] Set up HTTP API endpoints on Flask server
[ ] Create Front-End Page with React.


Add FESC

University Website: https://www.fesc.edu.co/

@andres-rod-g First stage of verification passed, official domain for FESC (Fundación de Estudios Superiores Comfanorte) is fesc.edu.co as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@andres-rod-g Thank you for your patience while waiting for a review and processing your request. Pull request merged.


bug(files): progress bar stuck in loading when spamming files

STR:

go to files
upload a bunch of files like 100 or more that will be more than 1gb
gets stuck in loading

macOS, m1

Does this happen when the files are less than the max size?

yes
so if you have a bunch of 100mb files for example

Havent been able to reproduce this on linux. Could you run this with trace2 and provide the logs?

@phillsatellite is digging into this to replicate . . . are you working on this @lgmarchi?

still happens here

also spoke with lucas earlier about this

yes i would say this is very low priority


Help: The game cannot be entered after updating the server version.

After updating the latest server files and starting the service, the docker container status shows normal, but after the client enters the password, it is stuck on the login interface and cannot enter the game.

ps: used all-in-one-traefik in docker mode

Do you have any errors in the log file for that moment of entering the game?

Or do you see any updates on the admin panel, which need to be executed?
You'll not get into the game without the duel update.

MuError.log
This is the error log of the client, but it is garbled. The server webpage shows Finished starting and there is no other log.
The upgrade information in the admin panel has been confirmed and approved, and because it had no effect, I deleted all the servers and re-git pulled the latest files. I also got stuck after entering the account and password without any prompts and could not connect.

I even re-git pull the historical projects including 0.8.7 and 0.8.10, but still can't connect. However, it is completely possible before updating the server in the morning. The server version used is the version on July 12th, and there are no problems.

Could it be that there is a problem with the database due to the upgrade, so authentication cannot be done?

This is the log of the database container. No abnormalities are seen.
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-07-20 10:31:36.526 UTC [1] LOG:  starting PostgreSQL 16.3 (Debian 16.3-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-07-20 10:31:36.528 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2024-07-20 10:31:36.528 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-07-20 10:31:36.533 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-07-20 10:31:36.542 UTC [30] LOG:  database system was shut down at 2024-07-20 07:54:02 UTC
2024-07-20 10:31:36.572 UTC [1] LOG:  database system is ready to accept connections
2024-07-20 10:36:36.641 UTC [28] LOG:  checkpoint starting: time
2024-07-20 10:36:36.657 UTC [28] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.002 s, total=0.016 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB; lsn=0/B655CB8, redo lsn=0/B655C80

Here's the error log:
2024-07-20 12:16:57.712 +00:00 [Error] [MUnique.OpenMU.Network.Connection] Connection will be disconnected, because of an exception
System.Net.Sockets.SocketException (110): Operation timed out
at Pipelines.Sockets.Unofficial.Internal.Throw.Socket(Int32 errorCode) in //src/Pipelines.Sockets.Unofficial/Internal/Throw.cs:line 59
at Pipelines.Sockets.Unofficial.SocketConnection.DoReceiveAsync() in //src/Pipelines.Sockets.Unofficial/SocketConnection.Receive.cs:line 64
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
2024-07-20 12:16:57.766 +00:00 [Error] [MUnique.OpenMU.Network.Connection] Connection will be disconnected, because of an exception
System.Net.Sockets.SocketException (110): Operation timed out
at Pipelines.Sockets.Unofficial.Internal.Throw.Socket(Int32 errorCode) in //src/Pipelines.Sockets.Unofficial/Internal/Throw.cs:line 59
at Pipelines.Sockets.Unofficial.SocketConnection.DoReceiveAsync() in //src/Pipelines.Sockets.Unofficial/SocketConnection.Receive.cs:line 64
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadBufferAsync()
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 51
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at Pipelines.Sockets.Unofficial.SocketConnection.DoSendAsync() in /_/src/Pipelines.Sockets.Unofficial/SocketConnection.Send.cs:line 44
at MUnique.OpenMU.Network.PacketPipeReaderBase.ReadSourceAsync() in /src/Network/PacketPipeReaderBase.cs:line 67
at MUnique.OpenMU.Network.Connection.BeginReceiveAsync() in /src/Network/Connection.cs:line 105

wait... so 0.8.6 works for you, but the versions after that have a problem?

wait... so 0.8.6 works for you, but the versions after that have a problem?

Maybe, since I only experimented with these few versions. In terms of process, I installed and ran it successfully for the first time on July 12th, upgraded the latest git library on July 20th, and the connection failed. Then when I rolled back to 0.8.10 and 0.8.7, the connection failed.

Really strange. If it's a server problem, there shouldn't be a timeout from the client.
Need to find a decryptor for this client error log.

After testing, reinstalling the server system, installing the latest version of the server, and rolling back to the 0.8.2 server did not solve the problem. It is so strange. How did the installation succeed last week, and I played well all week?

Can you try it with a freshly extracted season 6 client as well?

Can you try it with a freshly extracted season 6 client as well?

Just tried it, doesn't work

I now wonder if it is a problem with the Windows system registry where the client is located.

I played with a few friends on the previous server, and they can't connect to the updated server now.

Okay, one more idea. The admin panel has the option to download the game configuration as Json file.
Try going to the full game configuration page and download it. Zip and attach it here, so I can take a look 😉

Okay, one more idea. The admin panel has the option to download the game configuration as Json file. Try going to the full game configuration page and download it. Zip and attach it here, so I can take a look 😉

I tried edge and chrome browsers, but they both prompted download errors.

Is it possible that I configured the server IP instead of the domain name in the env file?

Now it is basically determined that it is a database problem. You can log in using any version of the new database. However, if you import an existing database, you will be stuck in the login state.

how to export user information from the original database and import it into the new database

This is the storage volume file stored in the database container in docker
_data.zip

Now I basically understand the problem: when upgrading the server yesterday, the admin panel prompted to confirm the function upgrade. The database may not be fully merged for some reason, so the upgrade status is not completed and the client cannot log in.

Finally, I chose to export the role data table and reconstruct the database, and the problem was solved.
But what caused the database upgrade to fail remains to be confirmed.


Get-ADOPSPipelineSettings & Set-ADOPSPipelineSettings

Overview/Summary

# Get Single Setting
Get-ADOPSPipelineSettings -Project 'MyProject' -Name enforceReferencedRepoScopedToken

# Set Single Setting
Set-ADOPSPipelineSettings -Project 'MyProject' -Name enforceReferencedRepoScopedToken -Value $true

# Get All Settings
Get-ADOPSPipelineSettings -Project 'MyProject'

# Set Multiple Settings
Set-ADOPSPipelineSettings -Project 'MyProject' -Values @{
    enforceReferencedRepoScopedToken                  = $true
    disableClassicPipelineCreation                    = $true
    disableClassicBuildPipelineCreation               = $true
    disableClassicReleasePipelineCreation             = $true
    forkProtectionEnabled                             = $true
    buildsEnabledForForks                             = $true
    enforceJobAuthScopeForForks                       = $true
    enforceNoAccessToSecretsFromForks                 = $true
    isCommentRequiredForPullRequest                   = $true
    requireCommentsForNonTeamMembersOnly              = $false
    requireCommentsForNonTeamMemberAndNonContributors = $false
    enableShellTasksArgsSanitizing                    = $true
    enableShellTasksArgsSanitizingAudit               = $false
    disableImpliedYAMLCiTrigger                       = $true
    statusBadgesArePrivate                            = $true
    enforceSettableVar                                = $true
    enforceJobAuthScope                               = $true
    enforceJobAuthScopeForReleases                    = $true
    publishPipelineMetadata                           = $true
}

This PR fixes/adds/changes/removes

Added cmdlet Get-ADOPSPipelineSettings -Project $Project to retrieve pipeline setting
Added cmdlet Get-ADOPSPipelineSettings -Project $Project -Name $SettingName to retrieve a specific pipeline setting
Added cmdlet Set-ADOPSPipelineSettings -Project -Name -Name $SettingName -Value $SettingValue
Added cmdlet Set-ADOPSPipelineSettings -Project -Name -Values @{ $SettingName = $SettingValue; }

As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[ ] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[ ] Verified build scripts work.
[X] Updated relevant and associated documentation.

Awesome contribution! Thanks a lot!
My only question would be if it is needed to have both value and values as parameters if it works just as well to give a single key hashtable? I am absolutely willing to be convinced though 😉

@bjompen I was thinking since this overload Get-ADOPSPIpelineSettings -Project $Project -Name $Name returns a single value that it would be more intuitive that changing the verb and adding $Value Set-ADOPSPIpelineSettings -Project $Project -Name $Name -Value $Value.
I'm okay with removing this parameter set for single value on Set-ADOPSPIpelineSettings and even on Get-ADOPSPIpelineSettings. I honestly would rather make one call than several Get/Set.
$settings = Get-ADOPSPipelineSettings -Project MyProject
$settings.statusBadgesArePrivate = $true

Set-ADOPSPipelineSettings -Project MyProject $settings

Just let me know which direction :)

I do like the get -> change -> push way. Looks clean and clear.
I am ok with the explanation, and have no issues merging as is, as long as we have a default parameter set (as in the review comment.)
Change if you want to, just let me know (I am stealing this and putting it to use already 😂)

@bjompen I removed the single parameter set from get/set. I think it's GTG.

@bjompen Actually I think we should consider a rename:
ADOPSPipelineSettings to become ADOPSProjectPipelineSettings which would complement ADOPSProjectRetentionSettings
Then introduce Set-ADOPSPipelineSettings (PATCH Build/Definitions/:id) to update the pipeline definition that matches the UX of Azure DevOps:

Since these settings are project scoped, That rename absolutely makes sense, and renaming before releases makes a lot of sense (less major bumps!)
Go ahead and change it!

Any updates on this?

@bjompen I have majority of the changes ready locally, going to push both PRs tonight for review! 🚀

This is ready for review. I opted out of changing the name for now. Feel free to make any changes 🥅


Do we have a general guideline to support teams message extension feature on bot framework composer?

For example, how to implement OnTeamsMessagingExtensionFetchTaskAsync ?

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repo is the preferred platform for information on submitting bug fixes and feature requests.


Use always downcase emails and usernames

Please @Kartones CR

+1

Frontend tests were OK :+1: (details)


Feature request: Media enclosure support

It would be great if NNW would support media enclosures. For example MP3s from Podcast feeds.
https://en.wikipedia.org/wiki/RSS_enclosure

NetNewsWire isn't intended to be used as a podcast player. There are many great podcast players that are much better suited for this role. We've also addressed the use of enclosures in #2380 and don't plan on adding support for them at this time.


add pbbamify to pbmm2

The quay.io/biocontainers/pbmm2:0.12.0--ha87ae23_0 pbmm2 don't have md5 for contig, so I have to use pbbamify to add it and sort BAM as well. I think it would be good if you bake-in pbbamify inside pbmm2 using and exposing an option to use it, so we don't have to do bamify and sort later.

You can use --sort in pbmm2
Why do you need md5? It's simply not computable when using an .mmi as input.

This is related to issue #96 which I tried to mix and match software from conda with official releases. We found that using pbbamify to add md5 would make the tool work, so we just want to recommend this change in case it is useful for other people.
I have a reference genome, so I can still compute md5.

 You are spending a lot of IO and compute time just for the sake trying to fit two pieces that are not supposed to work.
Either use conda install genomicconsensus or wait for the next official PacBio release that contains the latest pbmm2 and genomicconsensus.

Oh and one last comment, pbmm2 is open source for a reason. Feel free to modify it yourself and send patch!


Icon Alignment in Header and Header Color

when having more than one icon in the left of the header they are not aligned the right way, as the second icon is centered behind the header`s title
this is in iOS only but fine with Android
and in iOS Header Color is not set as in Android
`
                <Button transparent onPress={this.open}>
                    <Icon name="ios-menu" />
                </Button>

                <Title>News</Title>

                <Button transparent onPress={this.openModal2.bind(this)}>
                    <Icon name="ios-albums-outline" />
                </Button>

                <Button transparent  onPress={Actions.addnews}>
                    <Icon name="ios-add" />
                </Button>

        </Header>

`

Fixed in 0.5.7.


OSError: cannot write mode F as PNG

Dear Respected Authors,
Let me congrats you first on the great work and thank you for sharing your code.
I am on Linux-based OS, Ubuntu 18.04, with a single GPU Card, RTX 3090.
I am trying to train your model by following the provided steps, but since you used Cudatoolkit 10.1, and my  GPU needs sm_86, I installed Cuda 11.3 using:
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
and continue building the environment as listed in the environment. yaml
I started training and got the following error:
Loaded image data (540, 960, 3, 120) [540.<PHONE_NUMBER>9292]
test set:  ['000745.jpg', '000753.jpg', '000761.jpg', '000769.jpg', '000777.jpg', '000785.jpg', '000793.jpg', '000801.jpg', '000809.jpg', '000817.jpg', '000825.jpg', '000833.jpg', '000841.jpg', '000849.jpg', '000857.jpg']
train :  105  views
Loaded image data (540, 960, 3, 120) [540.<PHONE_NUMBER>9292]
test set:  ['000745.jpg', '000753.jpg', '000761.jpg', '000769.jpg', '000777.jpg', '000785.jpg', '000793.jpg', '000801.jpg', '000809.jpg', '000817.jpg', '000825.jpg', '000833.jpg', '000841.jpg', '000849.jpg', '000857.jpg']
train :  105  views
/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  ../aten/src/ATen/native/TensorShape.cpp:2894.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
[Epoch 00] it=000, loss=1.05058718, time=1.0190
Traceback (most recent call last):
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/PIL/PngImagePlugin.py", line 1286, in _save
rawmode, mode = _OUTMODES[mode]
KeyError: 'F'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/train.py", line 362, in
train(cfg=cfg)
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/train.py", line 234, in train
val_rgb = trainer.render_visdata(
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/model/training.py", line 136, in render_visdata
imageio.imwrite(os.path.join(out_render_path,'%04d_depth.png'% img_idx), depth_pred_out)
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/imageio/v2.py", line 397, in imwrite
return file.write(im, **kwargs)
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/imageio/core/v3_plugin_api.py", line 367, in exit
self.close()
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/imageio/plugins/pillow.py", line 123, in close
self._flush_writer()
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/imageio/plugins/pillow.py", line 457, in _flush_writer
primary_image.save(self._request.get_file(), **self.save_args)
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/PIL/Image.py", line 2432, in save
save_handler(self, fp, filename)
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/PIL/PngImagePlugin.py", line 1289, in _save
raise OSError(msg) from e
OSError: cannot write mode F as PNG
I am searching for this problem, trying to solve it, but I find myself stuck for a few days already, if you could guide me through this, I would be highly appreciated it.
thank you in advance for your time.

Hi, thanks for your interest in the work. This is caused by the data type used for depth. I have updated the code in commit 1a0f0bc52a50292294d3dbd7a6df3511fb72dcb3. Thanks to the code from @yangjiheng in commit 5102e2aa8c4f65f9c10a0ada940e502cce6eca29.

Excuse me again please,
Sadly, after I tried the updated code, I got the following error:
Loaded image data (540, 960, 3, 120) [540.<PHONE_NUMBER>9292]
test set:  ['000745.jpg', '000753.jpg', '000761.jpg', '000769.jpg', '000777.jpg', '000785.jpg', '000793.jpg', '000801.jpg', '000809.jpg', '000817.jpg', '000825.jpg', '000833.jpg', '000841.jpg', '000849.jpg', '000857.jpg']
train :  105  views
Loaded image data (540, 960, 3, 120) [540.<PHONE_NUMBER>9292]
test set:  ['000745.jpg', '000753.jpg', '000761.jpg', '000769.jpg', '000777.jpg', '000785.jpg', '000793.jpg', '000801.jpg', '000809.jpg', '000817.jpg', '000825.jpg', '000833.jpg', '000841.jpg', '000849.jpg', '000857.jpg']
train :  105  views
/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  ../aten/src/ATen/native/TensorShape.cpp:2894.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Traceback (most recent call last):
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/train.py", line 362, in
train(cfg=cfg)
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/train.py", line 208, in train
loss_dict = trainer.train_step(batch, it, epoch_it, scheduling_start, render_path)
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/model/training.py", line 87, in train_step
loss_dict = self.compute_loss(data, it=it, epoch=epoch, scheduling_start=scheduling_start, out_render_path=render_path)
File "/home/desk/my_WorkingDirectory/NeRF-Based/nope-nerf/model/training.py", line 345, in compute_loss
Image.fromarray(
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/PIL/Image.py", line 2432, in save
save_handler(self, fp, filename)
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/PIL/PngImagePlugin.py", line 1233, in _save
im = im.astype(np.unit8)
File "/home/desk/anaconda3/envs/nope-nerf/lib/python3.9/site-packages/PIL/Image.py", line 528, in getattr
raise AttributeError(name)
AttributeError: astype
did you test the updated version of the code or does it have to do with the fact that I am using different PyTorch and cuda version?
thank you very much for your patience.

Hi, I tested the updated code on my machine and it works. Sorry I am unable to figure out the exact cause of this bug. Just to provide more information, I have tested it with both pillow 9.0.0 and pillow 9.5.0. If you encounter the issue with the same pillow version, you may consider rewriting the image saving code using imageio as an alternative solution.


Ensure NLNetworkInfo is initialized with proper defaults.

Add default initializer.
Modify -initWithWiFiSSID:: to initialize "all" members.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #313   +/-   ##
=======================================
  Coverage   54.23%   54.23%
=======================================
  Files         332      332
  Lines       56406    56406
=======================================
  Hits        30590    30590
  Misses      25816    25816

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 2949857...79a33c5. Read the comment docs.


When we call delegates memory is not released

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Library and Device details (please complete the following information):

Library version: [e.g. 2.1.0]
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]

Additional context
Add any other context about the problem here.

Welcome
Regards
Awais Mubeen
On Sat, Jan 26, 2019 at 8:32 PM Huong Do<EMAIL_ADDRESS>wrote:

Thanks for reporting the issue. I just pushed a commit to fix the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itsmeichigo/DateTimePicker/issues/80#issuecomment-457840233,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG5jlFgsJSKZtdeKC6E6IJLkeAmA76Dgks5vHHUHgaJpZM4aS7L1
.


CMD syntax is invalid

Argument to 'cat' command was lost.  Merged 'cat' and args for exec command syntax.

I signed it!

Thanks, @ronaldpetty :)


Electric anomaly hardlocks the server

Only log before mass reconnections

could be worth commenting out lightning from supercritical and seeing if server still dies, got a hunch thats what kills server
if it is then either reduce the amount or spread it out over multiple ticks as to not instantly kill it

I think the current assumption is that it was somehow caused by the changes that were reverted in #16169, but afaik there are no reproduction steps & its just an assumption

#16175 fixed this, well the revert before it did.


Adjust xxhash library to rust native

This PR basically replaces the xxhash C library with the rust native one.

Adjusted!


Refactor install_pipeline_crd SYSTEM_NAMESPACE env setup

Changes
This commit refactors the setup for SYSTEM_NAMESPACE which was previously set in the install_pipeline_crd helper function. But it should not be necessary to be part of the pipeline installation instead it is an env setup. This helps resolve the issue where we could not run tests before installing the current version of pipeline CRDs.
/kind misc
related: https://github.com/tektoncd/pipeline/pull/6896

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

Is it possible to set SYSTEM_NAMESPACE=tekton-pipelines for all tests? Tbh I can't think of any instances where we'd want it to be the default value provided by knative; I'd be interested to know why we don't do this already

Once support for multiple installs is implemented, we could have multiple instances of Tekton running in the same cluster, watching dedicated namespaces. Once that happens we will need to adapt install scripts anyways, so we don't have to account for this now anyways.

@JeromeJu do you require more reviews for this PR? It seems ready to merge from my POV

@JeromeJu do you require more reviews for this PR? It seems ready to merge from my POV

Thanks @afrittoli , I would appreciate it very much for the review. This was not prioritized earlier due to the volume of items in the milestone queue awaiting review

/lgtm


Adding new languages

Here's a thread to add more languages to lmqg as well as https://autoqg.net/ . If you would like to contribute, please comment here with a potential QA dataset we can use to train QAG model on the language.
eg)
Language: Turkish
Dataset: https://github.com/TQuad/turkish-nlp-qa-dataset

Language: Bengali
Dataset: https://huggingface.co/datasets/csebuetnlp/squad_bn

Language: Chinese
Dataset: https://github.com/junzeng-pluto/ChineseSquad

Language: Chinese Dataset: https://github.com/junzeng-pluto/ChineseSquad

Chinese QAG is available on https://autoqg.net/ and lmqg now! With lmqg, you can use it as below.
from lmqg import TransformersQG

model = TransformersQG(language="zh")
context = "与转导或结合不同，转化依赖于大量的细菌基因产物，这些基因产物专门相互作用来完成这个复杂的过程，因此转化显然是细菌对DNA转移的适应。为了使细菌结合、吸收供体DNA并将其重组为自己的染色体，它必须首先进入一种称为能力的特殊生理状态（见自然能力）。在枯草芽孢杆菌中，大约40个基因是培养能力所必需的。枯草芽孢杆菌转化过程中转移的DNA长度可以在染色体的三分之一到整个染色体之间。转化在细菌物种中似乎很常见，到目前为止，已知至少有60种物种具有自然转化能力。自然界能力的发展通常与应激性环境条件有关，似乎是一种促进受体细胞DNA损伤修复的适应。"
model.generate_qa(context)
[('在染色体中发现的DNA长度是多少?', '枯草芽孢杆菌转化过程中转移的DNA长度可以在染色体的三分之一到整个染色体之间。')]
We're training a few more models that can potentially improve the quality, and will announce it once they are ready.

Language: Hindi
Dataset:(https://github.com/google-deepmind/xquad/blob/master/xquad.hi.json) Please tell me in detail what activities to be done to contribute.

Language: Hindi Dataset:(https://github.com/google-deepmind/xquad/blob/master/xquad.hi.json) Please tell me in detail what activities to be done to contribute.

This is too small. I checked the dataset and there're 1190 QA pairs in total. Ideally, there should be around 10k pairs, as we are going to train relatively small models (~300M).


Update to Julia 0.7

I noticed that there's little discussion on updating IterativeSolvers to Julia 0.7: since I started updating some packages depending on IterativeSolvers as well, I thought of giving it a shot.
For now it looks like errors are gone, but there's still quite a few warnings to get rid of. Will keep working on this, I'm opening the PR to start getting feedback in case something is not right or could be done better.

Will this receive some love any time soon?

Just a few comments: I still seem to see a few A_mul_B! occurences, which should be replaced by mul!s altogether. In a currently reviewed PR in LinearMaps, the inplace matvec multiplication interface is also LinearAlgebra.mul!, and for not-inplace Base.*. In case the linear operator is given by a LinearMap A, a call like A_mul_B!(y, A, x) would not work.

Closing in favour of #205 .


Edge case in Rect.Intersect

Describe the bug
Calling Rect.Intersect with a rect that has a width or height (but not both) of 0 erroneously results in an empty rect.
To Reproduce
[Fact]
public void Intersect_Should_Handle_Height_0()
{
    var r1 = new Rect(0, 0, 100, 0);
    var r2 = new Rect(0, 0, 50, 0);
    var result = r1.Intersect(r2);

    Assert.Equal(new Rect(0, 0, 50, 0), result);
}

[Fact]
public void Intersect_Should_Handle_Width_0()
{
    var r1 = new Rect(0, 0, 0, 100);
    var r2 = new Rect(0, 0, 0, 50);
    var result = r1.Intersect(r2);

    Assert.Equal(new Rect(0, 0, 0, 50), result);
}

Both fail because Intersect returns an empty rect.
Expected behavior
Should return a Rect with the intersection of the 0 width/height rect. Tested with WPF and this works correctly.
Avalonia version
all
OS
No response
Additional context
The code for Rect.Intersect was taken from SharpDX which also has this bug:
https://github.com/sharpdx/SharpDX/blob/master/Source/SharpDX.Mathematics/RectangleF.cs#L364-L378
Looks like the condition should use >= instead of >

Note that unlike Avalonia WPF treats zero-sized rects as non-empty. We should probably be doing the same.
I've been slowly replacing Rect with Rect? in relevant places of the rendering code to express Rect.Empty semantics from WPF.


Parsing CSV type data with Split() has problems when 'Text' might contain commas

You need to limit the Split() to the number of columns from the header row and that should solve it.

Can you point me to the line or file with this issue?

Haha, now I gotta dig, this is a really common situation if your last piece of data can contain the separator itself, and I did research it, and sure enough ,s are allowed in the subtitle itself.
Haha, it would have also helped if I said I was parsing SSA/ASS right??
SsaParser line 98 -                                 var columns = line.Split(SsaFormatConstants.SEPARATOR);
Really needs to limit the columns to the number of columns expected, that way a subtitle with ,s will still stay as one piece and not get lost.


Bitcoin Socratic Seminar 30 - June 2024

Welcome
Hello Bitcoiners! This is where we'll organize the topics of discussion for our upcoming Socratic Seminar.
Please use this issue to suggest topics that you'd like to see discussed at the seminar. To suggest a topic, simply add a new comment to this issue with the topic title as the comment's title.
As we work through organizing the topics, feel free to edit and update your comments as needed. This will help us keep everything organized and easy to follow.
To help get us started, here are some main topics of discussion that we could consider:

Bitcoin Core
Lightning Network
Scaling
Privacy
Media
Miscellaneous

Remember, this is Bitcoin only, do not post about your favorite clown-coin.
Thank you for your contributions and we look forward to a great seminar!

Peer to Peer Rights Fund set up to fight the legal precedents attempting to be advanced in the Samourai case.
https://p2prights.org/

Ocean Mining moves HQ to El Salvador
https://x.com/ocean_mining/status/1795822643452502516

v3 transactions TRUCing along, renamed and assigned BIP number 431
https://github.com/bitcoin/bips/blob/master/bip-0431.mediawiki

Mutiny launches Harbor, a desktop ecash wallet
https://blog.mutinywallet.com/harbor/

LND 0.18 beta includes inbound fees, route blinding, fee estimates for invoices, and more
https://lightning.engineering/posts/2024-05-30-lnd-0.18-launch/

Jeremy Rubin write up on functional encryption covenants
https://rubin.io/public/pdfs/fedcov.pdf

Bitcoin Mechanic twitter post exploring empty blocks, bitmain's history of fuckery, and the latest firmware fix. Notably, he alleges without proof that Bitmain has been mining with the firmware fix while withholding that same bug fix from other miners using their hardware.
https://x.com/grassfedbitcoin/status/1796311998466003418
For reference, here is the Greg Maxwell mailing list post with the original claim of reverse engineering covert asicboost from a bitmain ASIC.
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-April/014077.html

OP_CAT based proof of work signet bitcoin faucet
https://delvingbitcoin.org/t/proof-of-work-based-signet-faucet/937
Example transactions
https://mempool.space/signet/tx/d89088901fa453a300ff367da0253d8d5ab58b025e02b723c86fa10b3a502d71
https://mempool.space/signet/tx/695a09bbdde45ae9194a809a6df01473b263f0d706e9045f17ebdccee7d8bd75

Ark Labs launch announcement
https://blog.arklabs.to/introducing-ark-labs-a-new-venture-to-bring-seamless-and-scalable-payments-to-bitcoin-811388c0001b

Starkware announces plans to expand their L2 to bitcoin as well as Ethereum. Throws their weight behind OP_CAT in the soft fork arena.
https://starkware.co/scaling-bitcoin-for-mass-use/

Wasabi coinjoin coordinator monitor bot
https://x.com/FreeSabiBot

Calle, pseudonymous creator of the cashu ecash protocol launches OpenCash non-profit to provide cashu development grants.
https://opencash.dev/

CISA research site
https://cisaresearch.org/

Ark v2 enables Ark Service Providers (ASPs) to reclaim their liquidity without having to wait for the expiration period (4 weeks) to elapse. The tradeoff is that ASPs need to compute very large tapscript trees with specialized hardware. This seems well within reach given the high capital requirements of being an ASP.
https://brqgoo.medium.com/introducing-ark-v2-2e7ab378e87b

Ecash TIDES using Cashu and Stratum v2
A fascinating proposal to use ecash to represent hashrate shares submitted to a mining pool. This would enable an accountless mining pool where miners hold and potentially exchange ecash tokens of indeterminate value until the pool finds a new block, at which time the bitcoin value of each token is determined and the tokens can be exchanged with the pool for mining reward payouts.
https://delvingbitcoin.org/t/ecash-tides-using-cashu-and-stratum-v2/870/29

Super Testnet hedgehog progress update
https://x.com/super_testnet/status/1800515195124748503

Concurrently Secure Blind Schnorr Signature Scheme
https://eprint.iacr.org/2022/1676.pdf


x-axis dates not formatting correctly for 'how it works' tutorial

Hey all -- I'm having some issues with the 'how it works' tutorial. x-axis dates are formatting incorrectly, and seem to be messing up the actual values for the x-tick labels:

Running 0.10.4 on El Capitan

Hey @rforgione, try using the new tutorials instead. To format the x-axis labels for the dates, try this for now:
ggplot(meat, aes(x='date', y='beef')) + geom_point() + scale_x_date(labels='%Y')

We'll have to do some work on making the default scales beter.

@glamp I'd love to contribute in any way that I can. If you wouldn't mind pointing me in the right direction I'd be happy to take a stab at this.


Language Server: ystem.ObjectDisposedException: PriorityProducerConsumer`1 instance is disposed

Latest Insiders
vscode-pythong: 2018.8.0-alpha1
creating a new class the language server produced following to OUtput.
[Info  - 7:14:27 AM] Found 28 completions for file:///p:/perforce_Playground/derekw_de02-1777_rce_dev/del.py at (13, 17) after filtering
[Error - 7:14:29 AM] System.ObjectDisposedException: PriorityProducerConsumer1 instance is disposed Object name: 'PriorityProducerConsumer1'.
at Microsoft.PythonTools.Analysis.Infrastructure.DisposeToken.ThrowIfDisposed()
at Microsoft.PythonTools.Analysis.Infrastructure.PriorityProducerConsumer`1.Produce(T value, Int32 priority)
at Microsoft.PythonTools.Intellisense.AnalysisQueue.Enqueue(IAnalyzable item, AnalysisPriority priority)
at Microsoft.PythonTools.Analysis.LanguageServer.Server.OnDocumentChangeProcessingComplete(IDocument doc, VersionCookie vc, Boolean enqueueForAnalysis, AnalysisPriority priority, IDisposable disposeWhenEnqueued)
Code when crash happened

Outline is all wrong at the crash point.

@AlexanderSher FYI

AnalysisQueue is disposed along with the server or when unhandled exception happens:
        private async Task ConsumerLoop() {
            RaiseEventOnThreadPool(AnalysisStarted);
            while (!_ppc.IsDisposed) {
                try {
                    var item = await ConsumeAsync();
                    _current.Value = this;
                    await item.Handler(_ppc.CancellationToken);
                    _current.Value = null;
                } catch (OperationCanceledException) when (_ppc.IsDisposed)  {
                    return;
                } catch (Exception ex) when (!ex.IsCriticalException())  {
                    UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, false));
                    Dispose();
                }
            }
        }

Server is subscribed to the AnalysisQueue.UnhandledException and calls Server_OnLogMessage. How do we handle it on VSC side?

LS dies I guess and then gets restarted by VSC.

So we don't have any traces of that exception?

I think I was disposed b/c of the crash and we fixed several. https://github.com/Microsoft/PTVS/pull/4645 may also help. I am going to close - please reactivate if you see it again.

@dc-avasilev your issue isn't related to this one. It looks like there's a permission error where your files have file permissions that aren't permissible from the language server. Please open a separate issue and check that your files have file modifications for readability by anyone.

Still seeing this with the 2018.8.0 release:
[Error - 11:39:04 AM] System.ObjectDisposedException: PriorityProducerConsumer`1 instance is disposed
Object name: 'PriorityProducerConsumer`1'.
   at Microsoft.PythonTools.Analysis.Infrastructure.DisposeToken.ThrowIfDisposed()
   at Microsoft.PythonTools.Analysis.Infrastructure.PriorityProducerConsumer`1.Produce(T value, Int32 priority)
   at Microsoft.PythonTools.Analysis.LanguageServer.Server.OnDocumentChangeProcessingComplete(IDocument doc, VersionCookie vc, Boolean enqueueForAnalysis, AnalysisPriority priority, IDisposable disposeWhenEnqueued)

It's pretty annoying as it opens the output panel every few minutes while typing.

@brettcannon i see that error after yesterday's update - VSCode Version 1.27.1 (1.27.1)
on the previous version this was not

I issued the right through the "chmod 776-R" for the whole project, it helped, but I do not understand why until the editor was updated, everything was fine, and after the update, the error, hanging visibility somewhere, you have some calls to the system not from under current user, which is bad

@dc-avasilev your issue is still off-topic for this issue. Please open a new issue.

same problem here :(

For me this happened after I upgraded WSL to a drvfs supported version, because it happens when saving file to a drfs drive. Earlier all WSL content had rwxrwxrwx file permissions. but the stack trace is terrible, no linenumbers, no external parameters.

I cleaned my workspace and installed vsc v1.27.1, the first time I press save I get the following:
Starting Microsoft Python language server.
Initializing for C:\dist\Python36\python.exe
##########Linting Output - pep8##########
##########Linting Output - pylint##########
[Error - 9:41:00 AM] System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter.ImportModule(String name)
   at Microsoft.PythonTools.Analysis.ModuleTable.TryImport(String name, ModuleReference& res)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.TryImportModule(String modName, Boolean forceAbsolute, ModuleReference& moduleRef, IReadOnlyList`1& remainingParts)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(FromImportStatement node)
   at Microsoft.PythonTools.Parsing.Ast.FromImportStatement.Walk(PythonWalker walker)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(SuiteStatement node)
   at Microsoft.PythonTools.Parsing.Ast.SuiteStatement.Walk(PythonWalker walker)
   at Microsoft.PythonTools.Parsing.Ast.PythonAst.Walk(PythonWalker walker)
   at Microsoft.PythonTools.Analysis.AnalysisUnit.AnalyzeWorker(DDG ddg, CancellationToken cancel)
   at Microsoft.PythonTools.Analysis.Analyzer.DDG.Analyze(Deque`1 queue, CancellationToken cancel, Action`1 reportQueueSize, Int32 reportQueueInterval)
   at Microsoft.PythonTools.Analysis.PythonAnalyzer.AnalyzeQueuedEntries(CancellationToken cancel)
   at Microsoft.PythonTools.Intellisense.AnalysisQueue.GroupAnalysis.Analyze(CancellationToken cancel)
   at Microsoft.PythonTools.Intellisense.AnalysisQueue.HandleAnalyzable(IAnalyzable item, AnalysisPriority priority, CancellationToken cancellationToken)
   at Microsoft.PythonTools.Intellisense.AnalysisQueue.ConsumerLoop()
[Error - 9:41:00 AM] System.ObjectDisposedException: PriorityProducerConsumer`1 instance is disposed
Object name: 'PriorityProducerConsumer`1'.
   at Microsoft.PythonTools.Analysis.Infrastructure.DisposeToken.ThrowIfDisposed()
   at Microsoft.PythonTools.Analysis.Infrastructure.PriorityProducerConsumer`1.Produce(T value, Int32 priority)
   at Microsoft.PythonTools.Intellisense.AnalysisQueue.Enqueue(IAnalyzable item, AnalysisPriority priority)
   at Microsoft.PythonTools.Analysis.LanguageServer.Server.OnDocumentChangeProcessingComplete(IDocument doc, VersionCookie vc, Boolean enqueueForAnalysis, AnalysisPriority priority, IDisposable disposeWhenEnqueued)

https://github.com/Microsoft/python-language-server/issues/68 was fixed.
Null ref was fixed with https://github.com/Microsoft/python-language-server/pull/88. Closing pending release.


End-to-end data platform/pipeline testing in CI/CD

At a high level, a user with Singer, dbt, and Superset in their project should with minimal effort be able to set up a CI job that will help them detect when an EL config/schema change would break dbt, or when a dbt model change would break a report/query, so that these fixes across tools can be made in the same PR that introduced the breakage before anything makes it into production.
Ideally this wouldn't require actually running the pipeline, and we can accomplish this by generating and comparing the output and input schemas at each stage (e.g. Singer target output database -> dbt input layer -> dbt output layer -> Superset query target). Meltano can have abstractions to define how to generate and compare this for arbitrary plugins.
See also https://github.com/meltano/meltano/issues/3343, which is related but I haven't dug into yet.
See also the proposed build command which was written exactly for this purpose:

https://github.com/meltano/meltano/issues/2975

@DouweM - Thanks for logging. I've linked above this issue:

https://github.com/meltano/meltano/issues/2975

We'll be supporting a more focused version of this around EL workloads via Cloud.


Add Configuration Option for Supported URI Schemes

Support only 'http' and 'https' by default.  Thanks Marcin W.

Coverage increased (+0.01%) to 97.59% when pulling 16685d2ff37f7de5bca5abd67ca468ca84970151 on vladimir-v-diaz:supported-uri-schemes into fb7dfaa6e6cfe7a4e470904bd852be8ca3ec3657 on theupdateframework:develop.


Feature: Implement SCA support to transfer owner

Details

Feature: Implement SCA support to transfer owner
Fixed Issues

$ https://github.com/Expensify/App/issues/42490
PROPOSAL: N/A
Tests

NOTE: You need to connect to someone local backend to test live mode of the stripe

Fill out payment card form and make sure the currency is GBP.
Click "Accept terms & add payment card"
In the network tab we should see 1 call to AddPaymentCardGBP and a new iframe modal should pop up with Stripe's 3DS verification screen.
Click "complete"
In the network tab there should be 1 call to a new api command called verifySetupIntentAndRequestPolicyOwnerChange, the iframe modal should close, and the right-pane UI should change to the UI that says "Take over annual subscription".
Click "Transfer subscription" button
In the network tab should see 1 new call to RequestWorkspaceOwnerChange and should see success screen that says "Woohoo! All set."

[x] Verify that no errors appear in the JS console

Offline tests

Same as tests
QA Steps

None

[X] Verify that no errors appear in the JS console

PR Author Checklist

[X] I linked the correct issue in the ### Fixed Issues section above
[X] I wrote clear testing steps that cover the changes made in this PR

[X] I added steps for local testing in the Tests section
[X] I added steps for the expected offline behavior in the Offline steps section
[X] I added steps for Staging and/or Production testing in the QA steps section
[X] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[X] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[X] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[X] I included screenshots or videos for tests on all platforms
[X] I ran the tests on all platforms & verified they passed on:

[X] Android / native
[X] Android / Chrome
[X] iOS / native
[x] iOS / Safari
[X] MacOS / Chrome / Safari
[X] MacOS / Desktop

[X] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[X] I followed proper code patterns (see Reviewing the code)

[X] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[X] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[X] I verified that comments were added to code that is not self explanatory
[X] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[X] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[X] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[X] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[X] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[X] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[X] I verified the JSDocs style guidelines (in STYLE.md) were followed

[X] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[X] I followed the guidelines as stated in the Review Guidelines
[X] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[X] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[X] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[X] I verified that if a function's arguments changed that all usages have also been updated correctly
[X] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[X] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[X] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[X] All JSX used for rendering exists in the render method
[X] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[X] If any new file was added I verified that:

[X] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[X] If a new CSS style is added I verified that:

[X] A similar style doesn't already exist
[X] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[X] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[X] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/user-attachments/assets/8e724ed2-89b8-4b69-9346-241a03ea7aed

@blimpich Opened a PR

NOTE:
We know that failure of the GBP card is not working correctly here!

NOTE:
We know that failure of the GBP card is not working correctly here!

@waterim and I have been working on a fix for the scenario where the user fails the SCA authentication. Requires a small backend change which I have a PR out for here. @DylanDylann since you will be testing this PR using my ngrok credentials my backend should already have the necessary fix, so we should be able to make this work for both the success and failure scenario now.

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Crash App because using window Object on native app

Ah, this reminds me, we can't actually add a billing card if this is on mobile. This is due to legal reasons. If we allow people to add billing cards on mobile then Apple will want to take 30% of our subscription revenue. So @waterim if the user is on mobile and they don't have a billing card they should not have the option to transfer the account.
cc: @trjExpensify to double check me on this

From: https://github.com/Expensify/App/pull/44321#discussion_r1777605628

in the doc it is mentioned that stripe flow won't be allowed in native.

Ah, this reminds me, we can't actually add a billing card if this is on native mobile. This is due to legal reasons. If we allow people to add billing cards on mobile then Apple will want to take 30% of our subscription revenue. So @waterim if the user is on mobile and they don't have a billing card they should not have the option to transfer the account.
cc: @trjExpensify to double check me on this

Yep, correct. Can't put a billing card down on native mobile, so we shouldn't allow it here.

@waterim Type check error

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@DylanDylann @blimpich updated everything

@waterim can you address this discussion thread and also get the eslint/prettier checks passing? Won't be able to merge without those passing.

@DylanDylann @blimpich updated everything

Merged main and resolved coflicts

@DylanDylann back to you for review 👍

@blimpich BE bug: The pusher doesn't return the FundList field to subscribers. Even though, if we log in again, the BE also doesn't return FundList. Fundlist field will only be returned to the user who calls VerifySetupIntentAndRequestPolicyOwnerChange API

@DylanDylann Thank you! I will follow up with you and make a fix so the backend updates that correctly.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Based on the back-end PRs for the API commands called in this PR, it doesn't seem like we do any live testing, so I think we should be good to check this off assuming the sandbox testing cards worked correctly.

Yes, sorry @jasperhuangg I should've marked this as NO QA. Its not possible to QA this right now due to how our stripe apis are set up and the fact that we lack test credit cards that can trigger SCA authentication.


No Module Named "image_window"

When I tried to run "python correlation_tracker.py" in the python_example folder, I got the following error:
appledeMacBook-Pro-5:python_examples apple$ python correlation_tracker.py  Traceback (most recent call last):   File "correlation_tracker.py", line 53, in <module>     win = dlib.image_window() AttributeError: 'module' object has no attribute 'image_window'
How to fix it ?

This require compiling dlib with GUI support. You need to recompile dlib. Check this answers too:
https://sourceforge.net/p/dclib/discussion/442518/thread/e593cf63/#218f
http://lmgtfy.com/?q=dlib+macos+x11+gui+python


Rename Observable#runWith to Observable#consumeWith

I propose to rename monix.reactive.Observable#runWith to monix.reactive.Observable#consumeWith. The reason is that it says run, but doesn’t actually run anything when called. One needs to call monix.eval.Task#runAsync to make something happen. It's very easy to forget to call runAsync, and, I believe, it’s partially due to the runWith, which makes me feel I’ve already asked it to run.
Alternatively to renaming, keep the runWith, but change it's behavior to actually run the resulting Task (i.e. call runAsync under the hood), and add the consumeWith, which will behave like runWith currently.

👍


Folding animation?

Currently, folding executes very quickly, parts & scenes just snap in and out. That is of course great, but to be honest, it could be good to the user to have some sort of indication what happened.
I could try out some animations. What is first in my mind, is that folding would flash shortly background color.
Update: Tried this shortly with CSS:
Sheet div.folded {
  margin: 0;
  animation: splash 0.1s linear;
}

@keyframes splash {
  0% {
    background-color: lightgrey;
  }
}

Maybe. Maybe not. Before making decision, I'd need to complete the implementation, that is, the folded/unfolded blocks flash once, don't flash at initial render, and so on.

I don't think this is necessary. Folding works great without animations.


How to resume checkpoint for continuous training?

Hi @nlpyang , can you give me some suggestion on how to resume the previous checkpoint model for continuous training without having to train the model from beginning at different session?
Thank you very much.

use -train_from <maodel_path> arguement to continue where left

After I set this parameter it has no effect，I set the parameter -train_from ../models/model_step_4000.pt.
it right？thank you

After I set this parameter it has no effect，I set the parameter -train_from ../models/model_step_4000.pt. it right？thank you

Could you provide full log?

Same here. It just loads the file and stops

Nvm figured out the issue. Basically need to make sure your -train_steps value is higher than the checkpoint's train step


Unable to add an azure appservices as member of a azure ad group

I am currently trying to add an App Service to an Azure Ad Group, but I am currently getting the error message below.
Current behavior

  azuread:index:GroupMember (exampleGroupMember):
    error: 1 error occurred:
        Adding group member: adding group member "11111111-1111-1111-1111-111111111111" to Group
with ID "62cf0ccb-112e-460f-b180-ec2c44bf9367": graphrbac.GroupsClient#AddMember: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="Unknown" Message="Unknown service error" Details=[{"odata.error":{"code":"Request_ResourceNotFound","date":"2021-05-25T10:55:01","message":{"lang":"en","value":"Resource '11111111-1111-1111-1111-111111111111' does not exist or one of its queried reference-property objects are not present."},"requestId":"600782af-7167-4b01-909a-3d5d32b26f63"}}]

Steps to reproduce

import {Output} from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as azuread from "@pulumi/azuread";
import { Locations } from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {
    location: Locations.WestEurope,
});

const examplePlan = new azure.appservice.Plan("examplePlan", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    sku: {
        tier: "Standard",
        size: "S1",
    },
}, {
    dependsOn: [exampleResourceGroup]
});

const exampleAppService = new azure.appservice.AppService("exampleAppService", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    appServicePlanId: examplePlan.id,
},{
    dependsOn: [examplePlan]
});

function principalId(appService: azure.appservice.AppService): Output<string> {
    // Work around a preview issue https://github.com/pulumi/pulumi-azure/issues/192
    return appService.identity.principalId.apply(id => id || '11111111-1111-1111-1111-111111111111');
}

const exampleAadGroup = new azuread.Group("exampleAadGroup",{
    displayName: 'grp-example'
}, {
    dependsOn: []
});

new azuread.GroupMember("exampleGroupMember", {
    groupObjectId: exampleAadGroup.id,
    memberObjectId: principalId(exampleAppService),
}, {
    dependsOn: [exampleAadGroup, exampleAppService]
});

This appears to be because of the '11111111-1111-1111-1111-111111111111' value being used in the example, which isn't a legal value.
The workaround noted in the example code should not be necessary anymore  since https://github.com/pulumi/pulumi-azure/issues/192 is fixed now.  You should be able to do:
return appService.identity.principalId